Home
last modified time | relevance | path

Searched refs:lastSize (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc_edma.c109 uint32_t lastSize; in ltc_process_message_in_sessions_EDMA() local
119 lastSize = inSize; in ltc_process_message_in_sessions_EDMA()
125 lastSize = inSize % 16u; in ltc_process_message_in_sessions_EDMA()
126 if (lastSize == 0U) in ltc_process_message_in_sessions_EDMA()
128 lastSize = 16; in ltc_process_message_in_sessions_EDMA()
133 … inSize -= lastSize; /* inSize will be rounded down to 16 byte boundary. remaining bytes in ltc_process_message_in_sessions_EDMA()
144 else if (0U != lastSize) in ltc_process_message_in_sessions_EDMA()
146 … ltc_symmetric_process(base, lastSize, &handle->inData, &handle->outData); in ltc_process_message_in_sessions_EDMA()
148 handle->size -= lastSize; in ltc_process_message_in_sessions_EDMA()
221 uint32_t lastSize; in ltc_process_message_in_sessions_ctr_EDMA() local
[all …]
Dfsl_ltc.c699 uint32_t lastSize; in ltc_symmetric_process_data() local
712 lastSize = inSize; in ltc_symmetric_process_data()
718 lastSize = inSize % 16u; in ltc_symmetric_process_data()
719 if (lastSize == 0u) in ltc_symmetric_process_data()
721 lastSize = 16; in ltc_symmetric_process_data()
726 …inSize -= lastSize; /* inSize will be rounded down to 16 byte boundary. remaining bytes in lastSiz… in ltc_symmetric_process_data()
731 ltc_symmetric_process(base, lastSize, &inData, &outData); in ltc_symmetric_process_data()
875 uint32_t lastSize; in ltc_symmetric_process_data_multiple() local
899 lastSize = inSize; in ltc_symmetric_process_data_multiple()
908 lastSize = inSize % 16u; in ltc_symmetric_process_data_multiple()
[all …]
Dfsl_ltc_edma.h65 uint32_t lastSize; /*!< Last size.*/ member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.c690 uint32_t lastSize; in AES_CryptCtr() local
715 lastSize = 0U; in AES_CryptCtr()
718 lastSize = size; in AES_CryptCtr()
724 lastSize = size % 16U; in AES_CryptCtr()
725 if (lastSize == 0U) in AES_CryptCtr()
727 lastSize = 16U; in AES_CryptCtr()
732 … size -= lastSize; /* size will be rounded down to 16 byte boundary. remaining bytes in lastSize */ in AES_CryptCtr()
758 for (uint32_t i = 0; i < lastSize; i++) in AES_CryptCtr()
769 *szLeft = 16U - lastSize; in AES_CryptCtr()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c1405 uint32_t lastSize; in HASHCRYPT_AES_CryptCtr() local
1439 lastSize = size % HASHCRYPT_AES_BLOCK_SIZE; in HASHCRYPT_AES_CryptCtr()
1440 size -= lastSize; in HASHCRYPT_AES_CryptCtr()
1458 if (lastSize != 0U) in HASHCRYPT_AES_CryptCtr()
1477 for (uint32_t i = 0; i < lastSize; i++) in HASHCRYPT_AES_CryptCtr()
1486 lastSize = HASHCRYPT_AES_BLOCK_SIZE; in HASHCRYPT_AES_CryptCtr()
1496 *szLeft = HASHCRYPT_AES_BLOCK_SIZE - lastSize; in HASHCRYPT_AES_CryptCtr()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.c1289 uint32_t lastSize; in CAAM_AES_CryptCtrNonBlocking() local
1294 lastSize = size % 16u; in CAAM_AES_CryptCtrNonBlocking()
1295 if (lastSize != 0U) in CAAM_AES_CryptCtrNonBlocking()
1297 *szLeft = 16u - lastSize; in CAAM_AES_CryptCtrNonBlocking()