Home
last modified time | relevance | path

Searched refs:CY_CRYPTOLITE_SHA256_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/
Dcy_cryptolite_sha256.c133 while(*messageSize >= CY_CRYPTOLITE_SHA256_BLOCK_SIZE) in Cy_Cryptolite_Sha256_Process_aligned()
141 *messageSize-=CY_CRYPTOLITE_SHA256_BLOCK_SIZE; in Cy_Cryptolite_Sha256_Process_aligned()
142 cfContext->messageSize+= CY_CRYPTOLITE_SHA256_BLOCK_SIZE; in Cy_Cryptolite_Sha256_Process_aligned()
143 cfContext->message_schedule_struct.data1+= CY_CRYPTOLITE_SHA256_BLOCK_SIZE; in Cy_Cryptolite_Sha256_Process_aligned()
291 if (cfContext->msgIdx == 0UL && messageSize >= CY_CRYPTOLITE_SHA256_BLOCK_SIZE) in Cy_Cryptolite_Sha256_Update()
302 while((cfContext->msgIdx + lmessageSize) >= CY_CRYPTOLITE_SHA256_BLOCK_SIZE) in Cy_Cryptolite_Sha256_Update()
304 uint32_t tocopy = CY_CRYPTOLITE_SHA256_BLOCK_SIZE - cfContext->msgIdx; in Cy_Cryptolite_Sha256_Update()
318 cfContext->messageSize+= CY_CRYPTOLITE_SHA256_BLOCK_SIZE; in Cy_Cryptolite_Sha256_Update()
377 for ( ; idx < CY_CRYPTOLITE_SHA256_BLOCK_SIZE; idx++ ) in Cy_Cryptolite_Sha256_Finish()
398 cfContext->message[CY_CRYPTOLITE_SHA256_BLOCK_SIZE - 1UL] = (uint8_t)totalMessageSizeInBits; in Cy_Cryptolite_Sha256_Finish()
[all …]
Dcy_cryptolite_hmac.c69 cfContext->blocksize = (uint16_t)CY_CRYPTOLITE_SHA256_BLOCK_SIZE; in Cy_Cryptolite_Hmac_Sha256_Init()
131 for (i=0U; i < CY_CRYPTOLITE_SHA256_BLOCK_SIZE; i++) in Cy_Cryptolite_Hmac_Sha256_Start()
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/include/
Dcy_cryptolite_sha256.h51 #define CY_CRYPTOLITE_SHA256_BLOCK_SIZE (64UL) macro
74 uint32_t msgblock[CY_CRYPTOLITE_SHA256_BLOCK_SIZE / 4u];
76 uint32_t message_schedule[CY_CRYPTOLITE_SHA256_BLOCK_SIZE];
Dcy_cryptolite_hmac.h54 #define CY_CRYPTOLITE_HMAC_MAX_PAD_SIZE (CY_CRYPTOLITE_SHA256_BLOCK_SIZE)
55 #define CY_CRYPTOLITE_HMAC_MAX_M0_KEY_SIZE (CY_CRYPTOLITE_SHA256_BLOCK_SIZE)
71 CY_ALIGN(4) uint8_t m0Key[CY_CRYPTOLITE_SHA256_BLOCK_SIZE];