/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/include/ |
D | cy_crypto_core_sha.h | 46 uint32_t messageSize, 82 uint32_t messageSize, in Cy_Crypto_Core_Sha() argument 90 tmpResult = Cy_Crypto_Core_V1_Sha(base, message, messageSize, digest, mode); in Cy_Crypto_Core_Sha() 94 tmpResult = Cy_Crypto_Core_V2_Sha(base, message, messageSize, digest, mode); in Cy_Crypto_Core_Sha() 204 uint32_t messageSize) in Cy_Crypto_Core_Sha_Update() argument 210 tmpResult = Cy_Crypto_Core_V1_Sha_Update(base, hashState, message, messageSize); in Cy_Crypto_Core_Sha_Update() 214 tmpResult = Cy_Crypto_Core_V2_Sha_Update(base, hashState, message, messageSize); in Cy_Crypto_Core_Sha_Update()
|
D | cy_crypto_core_hmac.h | 48 uint32_t messageSize, 92 uint32_t messageSize, in Cy_Crypto_Core_Hmac() argument 101 tmpResult = Cy_Crypto_Core_V1_Hmac(base, hmac, message, messageSize, key, keyLength, mode); in Cy_Crypto_Core_Hmac() 105 tmpResult = Cy_Crypto_Core_V2_Hmac(base, hmac, message, messageSize, key, keyLength, mode); in Cy_Crypto_Core_Hmac()
|
D | cy_crypto_core_cmac.h | 96 uint32_t messageSize, in Cy_Crypto_Core_Cmac() argument 106 … tmpResult = Cy_Crypto_Core_V1_Cmac(base, message, messageSize, key, keyLength, cmac, aesState); in Cy_Crypto_Core_Cmac() 110 … tmpResult = Cy_Crypto_Core_V2_Cmac(base, message, messageSize, key, keyLength, cmac, aesState); in Cy_Crypto_Core_Cmac()
|
D | cy_crypto_core_cmac_v2.h | 59 uint32_t messageSize); 67 uint32_t messageSize,
|
D | cy_crypto_core_rsa.h | 44 uint32_t messageSize, 60 uint32_t messageSize,
|
D | cy_crypto_core_cmac_v1.h | 75 uint32_t messageSize); 84 uint32_t messageSize,
|
D | cy_crypto_core_sha_v2.h | 79 uint32_t messageSize); 89 uint32_t messageSize,
|
D | cy_crypto_core_sha_v1.h | 94 uint32_t messageSize); 105 uint32_t messageSize,
|
D | cy_crypto.h | 1277 uint32_t messageSize, 1326 uint32_t messageSize, 1812 uint32_t messageSize,
|
D | cy_crypto_common.h | 617 uint32_t messageSize; member 804 uint32_t messageSize; member 959 uint32_t messageSize; member
|
D | cy_crypto_core_hmac_v1.h | 43 uint32_t messageSize,
|
D | cy_crypto_core_hmac_v2.h | 43 uint32_t messageSize,
|
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/ |
D | cy_crypto_core_sha_v2.c | 276 hashState->messageSize = 0U; in Cy_Crypto_Core_V2_Sha_Start() 319 uint32_t messageSize) in Cy_Crypto_Core_V2_Sha_Update() argument 327 if (messageSize != 0U) in Cy_Crypto_Core_V2_Sha_Update() 329 hashState->messageSize += messageSize; in Cy_Crypto_Core_V2_Sha_Update() 352 Cy_Crypto_Core_V2_FFContinue(base, CY_CRYPTO_V2_RB_FF_LOAD0, message, messageSize); in Cy_Crypto_Core_V2_Sha_Update() 355 while ((hashBlockIdx + messageSize) >= hashBlockSize) in Cy_Crypto_Core_V2_Sha_Update() 363 messageSize -= tempBlockSize; in Cy_Crypto_Core_V2_Sha_Update() 369 hashState->blockIdx = hashBlockIdx + messageSize; in Cy_Crypto_Core_V2_Sha_Update() 372 if (messageSize != 0U) in Cy_Crypto_Core_V2_Sha_Update() 374 Cy_Crypto_Core_V2_RBXor(base, hashBlockIdx, messageSize); in Cy_Crypto_Core_V2_Sha_Update() [all …]
|
D | cy_crypto_core_sha_v1.c | 333 hashState->messageSize = 0U; in Cy_Crypto_Core_V1_Sha_Start() 376 uint32_t messageSize) in Cy_Crypto_Core_V1_Sha_Update() argument 384 if (messageSize != 0U) in Cy_Crypto_Core_V1_Sha_Update() 386 hashState->messageSize += messageSize; in Cy_Crypto_Core_V1_Sha_Update() 392 while ((hashBlockIdx + messageSize) >= hashBlockSize) in Cy_Crypto_Core_V1_Sha_Update() 400 messageSize -= tempBlockSize; in Cy_Crypto_Core_V1_Sha_Update() 407 hashState->blockIdx = hashBlockIdx + messageSize; in Cy_Crypto_Core_V1_Sha_Update() 410 if (messageSize != 0U) in Cy_Crypto_Core_V1_Sha_Update() 412 …_MemCpy(base, (void *)((uint32_t)hashState->block + hashBlockIdx), message, (uint16_t)messageSize); in Cy_Crypto_Core_V1_Sha_Update() 454 uint64_t finalMessageSizeInBits = (uint64_t)hashState->messageSize * 8U; in Cy_Crypto_Core_V1_Sha_Finish() [all …]
|
D | cy_crypto_core_cmac_v1.c | 170 uint32_t messageSize) in Cy_Crypto_Core_V1_Cmac_Update() argument 179 while (messageSize > CY_CRYPTO_AES_BLOCK_SIZE) in Cy_Crypto_Core_V1_Cmac_Update() 190 messageSize -= CY_CRYPTO_AES_BLOCK_SIZE; in Cy_Crypto_Core_V1_Cmac_Update() 194 aesState->blockIdx = messageSize; in Cy_Crypto_Core_V1_Cmac_Update() 287 uint32_t messageSize, in Cy_Crypto_Core_V1_Cmac() argument 306 Cy_Crypto_Core_V1_Cmac_Update(base, aesState, myCmacState, message, messageSize); in Cy_Crypto_Core_V1_Cmac()
|
D | cy_crypto_core_cmac_v2.c | 161 uint32_t messageSize) in Cy_Crypto_Core_V2_Cmac_Update() argument 163 uint32_t myBlockIdx = cmacState->block_idx + messageSize; in Cy_Crypto_Core_V2_Cmac_Update() 165 Cy_Crypto_Core_V2_FFContinue(base, CY_CRYPTO_V2_RB_FF_LOAD0, message, messageSize); in Cy_Crypto_Core_V2_Cmac_Update() 262 uint32_t messageSize, in Cy_Crypto_Core_V2_Cmac() argument 280 Cy_Crypto_Core_V2_Cmac_Update(base, cmacStateLoc, message, messageSize); in Cy_Crypto_Core_V2_Cmac()
|
D | cy_crypto_core_hmac_v2.c | 76 uint32_t messageSize, 154 uint32_t messageSize, in Cy_Crypto_Core_V2_Hmac_Calculate() argument 218 tmpResult = Cy_Crypto_Core_V2_Sha_Update(base, hashState, message, messageSize); in Cy_Crypto_Core_V2_Hmac_Calculate() 305 uint32_t messageSize, in Cy_Crypto_Core_V2_Hmac() argument 328 …e_V2_Hmac_Calculate(base, hmacStateTmp, &hashStateLoc, key, keyLength, message, messageSize, hmac); in Cy_Crypto_Core_V2_Hmac()
|
D | cy_crypto_core_hmac_v1.c | 77 uint32_t messageSize, 156 uint32_t messageSize, in Cy_Crypto_Core_V1_Hmac_Calculate() argument 219 tmpResult = Cy_Crypto_Core_V1_Sha_Update (base, hashState, message, messageSize); in Cy_Crypto_Core_V1_Hmac_Calculate() 308 uint32_t messageSize, in Cy_Crypto_Core_V1_Hmac() argument 330 …_V1_Hmac_Calculate (base, hmacStateTmp, &hashStateLoc, key, keyLength, message, messageSize, hmac); in Cy_Crypto_Core_V1_Hmac()
|
D | cy_crypto.c | 538 uint32_t messageSize, in Cy_Crypto_Sha_Run() argument 551 cfContext->messageSize = messageSize; in Cy_Crypto_Sha_Run() 564 uint32_t messageSize, in Cy_Crypto_Hmac_Run() argument 578 cfContext->messageSize = messageSize; in Cy_Crypto_Hmac_Run() 806 uint32_t messageSize, in Cy_Crypto_Rsa_Proc() argument 819 cfContext->messageSize = messageSize; in Cy_Crypto_Rsa_Proc()
|
D | cy_crypto_server.c | 578 (uint8_t *)cfContext->message, cfContext->messageSize, in Cy_Crypto_Server_Process() 588 … (uint8_t *)cfContext->dst, (uint8_t *)cfContext->message, cfContext->messageSize, in Cy_Crypto_Server_Process() 675 …cfContext->key, (uint8_t const *)cfContext->message, cfContext->messageSize, (uint8_t *)cfContext-… in Cy_Crypto_Server_Process()
|
D | cy_crypto_core_rsa.c | 782 uint32_t messageSize, in Cy_Crypto_Core_Rsa_Proc() argument 821 … Cy_Crypto_Core_Vu_SetMemValue(base, xReg, (uint8_t const *)message, messageSize * (uint32_t)8u); in Cy_Crypto_Core_Rsa_Proc()
|