/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/source/ |
D | cy_crypto_core_hmac_v2.c | 74 uint32_t keyLength, 152 uint32_t keyLength, in Cy_Crypto_Core_V2_Hmac_Calculate() argument 169 if (keyLength > blockSizeTmp) in Cy_Crypto_Core_V2_Hmac_Calculate() 176 tmpResult = Cy_Crypto_Core_V2_Sha_Update (base, hashState, key, keyLength); in Cy_Crypto_Core_V2_Hmac_Calculate() 186 else if (keyLength < blockSizeTmp) in Cy_Crypto_Core_V2_Hmac_Calculate() 189 Cy_Crypto_Core_V2_MemCpy(base, m0KeyPtrTmp, key, (uint16_t)keyLength); in Cy_Crypto_Core_V2_Hmac_Calculate() 190 …Cy_Crypto_Core_V2_MemSet(base, m0KeyPtrTmp + keyLength, 0x00u, (uint16_t)(blockSizeTmp - keyLength… in Cy_Crypto_Core_V2_Hmac_Calculate() 194 Cy_Crypto_Core_V2_MemCpy(base, m0KeyPtrTmp, key, (uint16_t)keyLength); in Cy_Crypto_Core_V2_Hmac_Calculate() 307 uint32_t keyLength, in Cy_Crypto_Core_V2_Hmac() argument 328 …y_Crypto_Core_V2_Hmac_Calculate(base, hmacStateTmp, &hashStateLoc, key, keyLength, message, messag… in Cy_Crypto_Core_V2_Hmac()
|
D | cy_crypto_core_hmac_v1.c | 75 uint32_t keyLength, 154 uint32_t keyLength, in Cy_Crypto_Core_V1_Hmac_Calculate() argument 167 if (keyLength > hashState->blockSize) in Cy_Crypto_Core_V1_Hmac_Calculate() 173 tmpResult = Cy_Crypto_Core_V1_Sha_Update(base, hashState, key, keyLength); in Cy_Crypto_Core_V1_Hmac_Calculate() 187 else if (keyLength < hashState->blockSize) in Cy_Crypto_Core_V1_Hmac_Calculate() 190 Cy_Crypto_Core_V1_MemCpy(base, m0KeyPtrTmp, key, (uint16_t)keyLength); in Cy_Crypto_Core_V1_Hmac_Calculate() 191 …y_Crypto_Core_V1_MemSet(base, (m0KeyPtrTmp + keyLength), 0x00u, (uint16_t)(hashState->blockSize - … in Cy_Crypto_Core_V1_Hmac_Calculate() 195 Cy_Crypto_Core_V1_MemCpy(base, m0KeyPtrTmp, key, (uint16_t)keyLength); in Cy_Crypto_Core_V1_Hmac_Calculate() 310 uint32_t keyLength, in Cy_Crypto_Core_V1_Hmac() argument 330 …_Crypto_Core_V1_Hmac_Calculate (base, hmacStateTmp, &hashStateLoc, key, keyLength, message, messag… in Cy_Crypto_Core_V1_Hmac()
|
D | cy_crypto_core_aes_v2.c | 44 #define CY_CRYPTO_IS_KEYLENGTH_VALID(keyLength) ((CY_CRYPTO_KEY_AES_128 == (keyLength)) || \ argument 45 (CY_CRYPTO_KEY_AES_192 == (keyLength)) || \ 46 (CY_CRYPTO_KEY_AES_256 == (keyLength))) 66 uint32_t keySize = CY_CRYPTO_AES_128_KEY_SIZE + ((uint32_t)aesState->keyLength * 8u); in Cy_Crypto_Core_V2_Aes_LoadEncKey() 78 REG_CRYPTO_AES_CTL(base) = (uint32_t)(_VAL2FLD(CRYPTO_AES_CTL_KEY_SIZE, aesState->keyLength)); in Cy_Crypto_Core_V2_Aes_LoadEncKey() 101 uint32_t keySize = CY_CRYPTO_AES_128_KEY_SIZE + ((uint32_t)aesState->keyLength * 8u); in Cy_Crypto_Core_V2_Aes_LoadDecKey() 172 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Core_V2_Aes_Init() argument 179 CY_ASSERT_L3(CY_CRYPTO_IS_KEYLENGTH_VALID(keyLength)); in Cy_Crypto_Core_V2_Aes_Init() 181 uint16_t keySize = CY_CRYPTO_AES_128_KEY_SIZE + ((uint16_t)keyLength * 8u); in Cy_Crypto_Core_V2_Aes_Init() 186 aesState->keyLength = keyLength; in Cy_Crypto_Core_V2_Aes_Init()
|
D | cy_crypto_core_aes_v1.c | 74 …PTO_AES_CTL(base) = (uint32_t)(_VAL2FLD(CRYPTO_AES_CTL_KEY_SIZE, (uint32_t)(aesState->keyLength))); in Cy_Crypto_Core_V1_Aes_ProcessBlock() 124 …PTO_AES_CTL(base) = (uint32_t)(_VAL2FLD(CRYPTO_AES_CTL_KEY_SIZE, (uint32_t)(aesState->keyLength))); in Cy_Crypto_Core_V1_Aes_Xor() 161 …PTO_AES_CTL(base) = (uint32_t)(_VAL2FLD(CRYPTO_AES_CTL_KEY_SIZE, (uint32_t)(aesState->keyLength))); in Cy_Crypto_Core_V1_Aes_InvKey() 205 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Core_V1_Aes_Init() argument 209 uint16_t keySize = CY_CRYPTO_AES_128_KEY_SIZE + ((uint16_t)keyLength * 8u); in Cy_Crypto_Core_V1_Aes_Init() 211 aesState->keyLength = keyLength; in Cy_Crypto_Core_V1_Aes_Init()
|
D | cy_crypto.c | 392 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Aes_Init() argument 403 cfContext->keyLength = keyLength; in Cy_Crypto_Aes_Init() 513 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Aes_Cmac_Run() argument 528 cfContext->keyLength = keyLength; in Cy_Crypto_Aes_Cmac_Run() 566 uint32_t keyLength, in Cy_Crypto_Hmac_Run() argument 582 cfContext->keyLength = keyLength; in Cy_Crypto_Hmac_Run()
|
D | cy_crypto_core_cmac_v2.c | 264 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Core_V2_Cmac() argument 275 (void)Cy_Crypto_Core_V2_Aes_Init(base, key, keyLength, aesState, &aesBuffersData); in Cy_Crypto_Core_V2_Cmac()
|
D | cy_crypto_core_cmac_v1.c | 289 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Core_V1_Cmac() argument 302 (void)Cy_Crypto_Core_V1_Aes_Init(base, key, keyLength, aesState, aesBuffers); in Cy_Crypto_Core_V1_Cmac()
|
D | cy_crypto_server.c | 500 …(uint8_t*)cfContext->key, cfContext->keyLength, &cfContext->aesState, (cy_stc_crypto_aes_buffers_t… in Cy_Crypto_Server_Process() 568 … (uint8_t*)cfContext->src, cfContext->srcSize, (uint8_t*)cfContext->key, cfContext->keyLength, in Cy_Crypto_Server_Process() 589 (uint8_t *)cfContext->key, cfContext->keyLength, cfContext->mode); in Cy_Crypto_Server_Process()
|
/hal_infineon-3.4.0/mtb-pdl-cat1/drivers/include/ |
D | cy_crypto_core_cmac.h | 51 cy_en_crypto_aes_key_length_t keyLength, 98 cy_en_crypto_aes_key_length_t keyLength, 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_hmac.h | 50 uint32_t keyLength, 94 uint32_t keyLength, 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_aes.h | 48 cy_en_crypto_aes_key_length_t keyLength, 113 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Core_Aes_Init() argument 122 tmpResult = Cy_Crypto_Core_V1_Aes_Init(base, key, keyLength, aesState, aesBuffers); in Cy_Crypto_Core_Aes_Init() 126 tmpResult = Cy_Crypto_Core_V2_Aes_Init(base, key, keyLength, aesState, aesBuffers); in Cy_Crypto_Core_Aes_Init() 160 cy_en_crypto_aes_key_length_t keyLength, in Cy_Crypto_Core_Aes_InitContext() argument 168 tmpResult = Cy_Crypto_Core_V1_Aes_Init(base, key, keyLength, aesState, aesBuffers); in Cy_Crypto_Core_Aes_InitContext() 172 tmpResult = Cy_Crypto_Core_V2_Aes_Init(base, key, keyLength, aesState, aesBuffers); in Cy_Crypto_Core_Aes_InitContext()
|
D | cy_crypto.h | 1032 cy_en_crypto_aes_key_length_t keyLength, 1234 cy_en_crypto_aes_key_length_t keyLength, 1328 uint32_t keyLength,
|
D | cy_crypto_common.h | 588 cy_en_crypto_aes_key_length_t keyLength; member 770 cy_en_crypto_aes_key_length_t keyLength; member 812 uint32_t keyLength; member
|
D | cy_crypto_core_hmac_v1.h | 45 uint32_t keyLength,
|
D | cy_crypto_core_hmac_v2.h | 45 uint32_t keyLength,
|
D | cy_crypto_core_cmac_v2.h | 69 cy_en_crypto_aes_key_length_t keyLength,
|
D | cy_crypto_core_cmac_v1.h | 86 cy_en_crypto_aes_key_length_t keyLength,
|
D | cy_crypto_core_aes_v2.h | 49 cy_en_crypto_aes_key_length_t keyLength,
|
D | cy_crypto_core_aes_v1.h | 56 cy_en_crypto_aes_key_length_t keyLength,
|