Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 36) sorted by relevance

12

/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_pra.c85 static void Cy_PRA_ProcessCmd(cy_stc_pra_msg_t *message);
475 static void Cy_PRA_ProcessCmd(cy_stc_pra_msg_t *message) in Cy_PRA_ProcessCmd() argument
480 CY_ASSERT_L1(NULL != message); in Cy_PRA_ProcessCmd()
483 switch (message->praCommand) in Cy_PRA_ProcessCmd()
490 if ((0U == (message->praData2 & regIndexToAddr[message->praIndex].writeMask)) && in Cy_PRA_ProcessCmd()
491 (CY_PRA_REG_POLICY_WRITE_NONE != regIndexToAddr[message->praIndex].writeMask) && in Cy_PRA_ProcessCmd()
492 (Cy_PRA_RegAccessRangeValid(message->praIndex))) in Cy_PRA_ProcessCmd()
496 tmp = CY_GET_REG32(regIndexToAddr[message->praIndex].addr); in Cy_PRA_ProcessCmd()
498 tmp &= (message->praData1 | regIndexToAddr[message->praIndex].writeMask); in Cy_PRA_ProcessCmd()
499 tmp |= message->praData2; in Cy_PRA_ProcessCmd()
[all …]
Dcy_cryptolite_sha256.c126 uint8_t const *message, in Cy_Cryptolite_Sha256_Process_aligned() argument
132 cfContext->message_schedule_struct.data1 = (uint32_t)message; in Cy_Cryptolite_Sha256_Process_aligned()
139 cfContext->message_schedule_struct.data1 = (uint32_t)cfContext->message; in Cy_Cryptolite_Sha256_Process_aligned()
147 cfContext->message_schedule_struct.data1 = (uint32_t)cfContext->message; in Cy_Cryptolite_Sha256_Process_aligned()
178 cfContext->message = (uint8_t*)cfContext->msgblock; in Cy_Cryptolite_Sha256_Init()
180 cfContext->message_schedule_struct.data1 = (uint32_t)cfContext->message; in Cy_Cryptolite_Sha256_Init()
260 uint8_t const *message, in Cy_Cryptolite_Sha256_Update() argument
266 uint32_t msg_add = (uint32)message; in Cy_Cryptolite_Sha256_Update()
276 if ((NULL == base) || (NULL == cfContext) || (NULL == message)) in Cy_Cryptolite_Sha256_Update()
287 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_CRYPTOLITE(message); in Cy_Cryptolite_Sha256_Update()
[all …]
Dcy_ipc_drv.c114 …tatus_t Cy_IPC_Drv_SendMsgWord (IPC_STRUCT_Type* base, uint32_t notifyEventIntr, uint32_t message) in Cy_IPC_Drv_SendMsgWord() argument
121 Cy_IPC_Drv_WriteDataValue(base, message); in Cy_IPC_Drv_SendMsgWord()
166 cy_en_ipcdrv_status_t Cy_IPC_Drv_ReadMsgWord (IPC_STRUCT_Type const * base, uint32_t * message) in Cy_IPC_Drv_ReadMsgWord() argument
170 CY_ASSERT_L1(NULL != message); in Cy_IPC_Drv_ReadMsgWord()
175 *message = Cy_IPC_Drv_ReadDataValue(base); in Cy_IPC_Drv_ReadMsgWord()
221 …tus_t Cy_IPC_Drv_SendMsgDWord (IPC_STRUCT_Type* base, uint32_t notifyEventIntr, uint32_t* message) in Cy_IPC_Drv_SendMsgDWord() argument
225 CY_ASSERT_L1(NULL != message); in Cy_IPC_Drv_SendMsgDWord()
230 Cy_IPC_Drv_WriteDDataValue(base, message); in Cy_IPC_Drv_SendMsgDWord()
273 cy_en_ipcdrv_status_t Cy_IPC_Drv_ReadMsgDWord (IPC_STRUCT_Type const* base, uint32_t* message) in Cy_IPC_Drv_ReadMsgDWord() argument
277 CY_ASSERT_L1(NULL != message); in Cy_IPC_Drv_ReadMsgDWord()
[all …]
Dcy_crypto_core_cmac_v1.c173 uint8_t const *message, in Cy_Crypto_Core_V1_Cmac_Update() argument
186 Cy_Crypto_Core_V1_MemCpy(base, blockBuff, message, CY_CRYPTO_AES_BLOCK_SIZE); in Cy_Crypto_Core_V1_Cmac_Update()
193 message += CY_CRYPTO_AES_BLOCK_SIZE; in Cy_Crypto_Core_V1_Cmac_Update()
201 Cy_Crypto_Core_V1_MemCpy(base, (void*)blockBuff, (void*)message, (uint16_t)aesState->blockIdx); in Cy_Crypto_Core_V1_Cmac_Update()
290 uint8_t const *message, in Cy_Crypto_Core_V1_Cmac() argument
310 Cy_Crypto_Core_V1_Cmac_Update(base, aesState, myCmacState, message, messageSize); in Cy_Crypto_Core_V1_Cmac()
Dcy_flash_srom.c24 static uint32_t message[2]; variable
264 message[0] = (uint32_t)&g_scratch; in Cy_Srom_CallApi_2()
265 message[1] = (uint32_t)&g_scratch2; in Cy_Srom_CallApi_2()
267 …if (Cy_IPC_Drv_SendMsgDWord(syscall_ipc_struct, CY_SROM_DR_IPC_NOTIFY_STRUCT, message) != CY_IPC_D… in Cy_Srom_CallApi_2()
349 message[0] = (uint32_t)&g_scratch; in Cy_Srom_CallApi_NonBlock_2()
350 message[1] = (uint32_t)&g_scratch2; in Cy_Srom_CallApi_NonBlock_2()
352 …if (Cy_IPC_Drv_SendMsgDWord(syscall_ipc_struct, CY_SROM_DR_IPC_NOTIFY_STRUCT, message) != CY_IPC_D… in Cy_Srom_CallApi_NonBlock_2()
Dcy_cryptolite_hmac.c218 uint8_t const *message, in Cy_Cryptolite_Hmac_Sha256_Update() argument
230 if ((NULL == base) || (NULL == cfContext) || (NULL == message)) in Cy_Cryptolite_Hmac_Sha256_Update()
242 status = Cy_Cryptolite_Sha256_Update (base, message, messageSize, &cfContext->ctx_sha256); in Cy_Cryptolite_Hmac_Sha256_Update()
396 uint8_t const *message, in Cy_Cryptolite_Hmac_Sha256_Run() argument
403 …if ((NULL == base) || (NULL == cfContext) || (NULL == hmac) || ((NULL == message) && (0UL != messa… in Cy_Cryptolite_Hmac_Sha256_Run()
417 status = Cy_Cryptolite_Hmac_Sha256_Update (base, message, messageSize, cfContext); in Cy_Cryptolite_Hmac_Sha256_Run()
Dcy_cryptolite_cmac.c183 uint8_t const *message, in Cy_Cryptolite_Cmac_Update() argument
198 if ((NULL == base) || (NULL == message) || (NULL == cmacState)) in Cy_Cryptolite_Cmac_Update()
203 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_CRYPTOLITE(message); in Cy_Cryptolite_Cmac_Update()
398 uint8_t const *message, in Cy_Cryptolite_Cmac() argument
410 …if ((NULL == base) || (NULL == key) || ((NULL == message) && (messageSize>0u)) || (NULL == cmac) |… in Cy_Cryptolite_Cmac()
416 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_CRYPTOLITE(message); in Cy_Cryptolite_Cmac()
Dcy_crypto_core_sha_v2.c53 uint8_t const *message,
58 uint8_t const *message,
401 uint8_t const *message, in Cy_Crypto_Sha3_Update() argument
412 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(message); in Cy_Crypto_Sha3_Update()
611 uint8_t const *message, in Cy_Crypto_Sha1_Sha2_Update() argument
622 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(message); in Cy_Crypto_Sha1_Sha2_Update()
815 uint8_t const *message, in Cy_Crypto_Core_V2_Sha_Update() argument
826 if ((hashState != NULL) && (message != NULL)) in Cy_Crypto_Core_V2_Sha_Update()
831 SCB_CleanDCache_by_Addr((volatile void *)message,(int32_t)messageSize); in Cy_Crypto_Core_V2_Sha_Update()
834 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(message); in Cy_Crypto_Core_V2_Sha_Update()
[all …]
Dcy_crypto_core_hmac_v2.c255 uint8_t const *message, in Cy_Crypto_Core_V2_Hmac_Update() argument
266 if ((NULL == base) || (NULL == hmacState) || (NULL == message)) in Cy_Crypto_Core_V2_Hmac_Update()
271 return Cy_Crypto_Core_V2_Sha_Update(base, &hmacState->hashState, message, messageSize); in Cy_Crypto_Core_V2_Hmac_Update()
447 uint8_t const *message, in Cy_Crypto_Core_V2_Hmac() argument
464 if ((NULL == base) || (NULL == hmac) || ((NULL == message) && (0UL != messageSize)) in Cy_Crypto_Core_V2_Hmac()
482 status = Cy_Crypto_Core_V2_Hmac_Update(base, &hmacState, message, messageSize); in Cy_Crypto_Core_V2_Hmac()
Dcy_crypto_core_hmac_v1.c80 uint8_t const *message,
159 uint8_t const *message, in Cy_Crypto_Core_V1_Hmac_Calculate() argument
223 tmpResult = Cy_Crypto_Core_V1_Sha_Update (base, hashState, message, messageSize); in Cy_Crypto_Core_V1_Hmac_Calculate()
311 uint8_t const *message, in Cy_Crypto_Core_V1_Hmac() argument
334 …re_V1_Hmac_Calculate (base, hmacStateTmp, &hashStateLoc, key, keyLength, message, messageSize, hma… in Cy_Crypto_Core_V1_Hmac()
Dcy_crypto_core_sha_v1.c377 uint8_t const *message, in Cy_Crypto_Core_V1_Sha_Update() argument
387 if ((hashState != NULL) && (message != NULL)) in Cy_Crypto_Core_V1_Sha_Update()
402 …(base, (void *)((uint32_t)hashState->block + hashBlockIdx), (void const*)message, (uint16_t)tempBl… in Cy_Crypto_Core_V1_Sha_Update()
407 message += tempBlockSize; in Cy_Crypto_Core_V1_Sha_Update()
418 …(base, (void *)((uint32_t)hashState->block + hashBlockIdx), (void const*)message, (uint16_t)messag… in Cy_Crypto_Core_V1_Sha_Update()
579 uint8_t const *message, in Cy_Crypto_Core_V1_Sha() argument
597 tmpResult = Cy_Crypto_Core_V1_Sha_Update (base, &myHashState, message, messageSize); in Cy_Crypto_Core_V1_Sha()
Dcy_crypto_core_cmac_v2.c210 uint8_t const *message, in Cy_Crypto_Core_V2_Cmac_Update() argument
222 SCB_CleanDCache_by_Addr((volatile void *)message,(int32_t)messageSize); in Cy_Crypto_Core_V2_Cmac_Update()
233 messageRemap = (uint8_t *)CY_REMAP_ADDRESS_FOR_CRYPTO(message); in Cy_Crypto_Core_V2_Cmac_Update()
471 uint8_t const *message, in Cy_Crypto_Core_V2_Cmac() argument
506 status = Cy_Crypto_Core_V2_Cmac_Update(base, &cmacStateLoc, message, messageSize); in Cy_Crypto_Core_V2_Cmac()
Dcy_crypto.c653 cy_en_crypto_status_t Cy_Crypto_Sha_Run(uint32_t *message, in Cy_Crypto_Sha_Run() argument
666 cfContext->message = message; in Cy_Crypto_Sha_Run()
674 SCB_CleanDCache_by_Addr((volatile void *)message,(int32_t)messageSize); in Cy_Crypto_Sha_Run()
686 uint32_t *message, in Cy_Crypto_Hmac_Run() argument
700 cfContext->message = message; in Cy_Crypto_Hmac_Run()
710 SCB_CleanDCache_by_Addr((volatile void *)message,(int32_t)messageSize); in Cy_Crypto_Hmac_Run()
1079 uint32_t const *message, in Cy_Crypto_Rsa_Proc() argument
1092 cfContext->message = message; in Cy_Crypto_Rsa_Proc()
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_crypto_core_sha.h47 uint8_t const *message,
86 uint8_t const *message, in Cy_Crypto_Core_Sha() argument
96 tmpResult = Cy_Crypto_Core_V1_Sha(base, message, messageSize, digest, mode); in Cy_Crypto_Core_Sha()
102 tmpResult = Cy_Crypto_Core_V2_Sha(base, message, messageSize, digest, mode); in Cy_Crypto_Core_Sha()
222 uint8_t const *message, in Cy_Crypto_Core_Sha_Update() argument
230 tmpResult = Cy_Crypto_Core_V1_Sha_Update(base, hashState, message, messageSize); in Cy_Crypto_Core_Sha_Update()
236 tmpResult = Cy_Crypto_Core_V2_Sha_Update(base, hashState, message, messageSize); in Cy_Crypto_Core_Sha_Update()
Dcy_crypto_core_hmac.h49 uint8_t const *message,
96 uint8_t const *message, in Cy_Crypto_Core_Hmac() argument
107 tmpResult = Cy_Crypto_Core_V1_Hmac(base, hmac, message, messageSize, key, keyLength, mode); in Cy_Crypto_Core_Hmac()
113 tmpResult = Cy_Crypto_Core_V2_Hmac(base, hmac, message, messageSize, key, keyLength, mode); in Cy_Crypto_Core_Hmac()
248 uint8_t const *message, in Cy_Crypto_Core_Hmac_Update() argument
263 tmpResult = Cy_Crypto_Core_V2_Hmac_Update(base, hmacState, message, messageSize); in Cy_Crypto_Core_Hmac_Update()
269 (void)message; /* Suppress a compiler warning about unused variables */ in Cy_Crypto_Core_Hmac_Update()
Dcy_crypto_core_cmac.h100 uint8_t const *message, in Cy_Crypto_Core_Cmac() argument
112 … tmpResult = Cy_Crypto_Core_V1_Cmac(base, message, messageSize, key, keyLength, cmac, aesState); in Cy_Crypto_Core_Cmac()
118 … tmpResult = Cy_Crypto_Core_V2_Cmac(base, message, messageSize, key, keyLength, cmac, aesState); in Cy_Crypto_Core_Cmac()
246 uint8_t const *message, in Cy_Crypto_Core_Cmac_Update() argument
257 (void)message; in Cy_Crypto_Core_Cmac_Update()
265 …Crypto_Core_V2_Cmac_Update(base, (cy_stc_crypto_v2_cmac_state_t *)cmacState, message, messageSize); in Cy_Crypto_Core_Cmac_Update()
Dcy_cryptolite_sha256.h77 uint8_t *message; member
167 uint8_t const *message,
256 uint8_t const *message,
Dcy_ipc_drv.h620 …s_t Cy_IPC_Drv_SendMsgWord (IPC_STRUCT_Type * base, uint32_t notifyEventIntr, uint32_t message);
621 cy_en_ipcdrv_status_t Cy_IPC_Drv_ReadMsgWord (IPC_STRUCT_Type const * base, uint32_t * message);
624 …t Cy_IPC_Drv_SendMsgDWord (IPC_STRUCT_Type * base, uint32_t notifyEventIntr, uint32_t* message);
625 cy_en_ipcdrv_status_t Cy_IPC_Drv_ReadMsgDWord (IPC_STRUCT_Type const * base, uint32_t* message);
Dcy_cryptolite_cmac.h118 uint8_t const *message,
194 uint8_t const *message,
Dcy_crypto.h1353 cy_en_crypto_status_t Cy_Crypto_Sha_Run(uint32_t *message,
1402 uint32_t *message,
1959 uint32_t const *message,
Dcy_crypto_core_cmac_v1.h76 uint8_t const *message,
85 uint8_t const *message,
Dcy_crypto_core_hmac_v2.h82 uint8_t const *message,
94 uint8_t const *message,
Dcy_cryptolite_hmac.h171 uint8_t const *message,
268 uint8_t const *message,
Dcy_crypto_core_rsa.h45 uint8_t const *message,
56 uint8_t const *message,
Dcy_crypto_core_cmac_v2.h80 uint8_t const *message,
90 uint8_t const *message,

12