Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 18 of 18) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc_edma.h120 uint8_t *ciphertext,
142 const uint8_t *ciphertext,
165 uint8_t *ciphertext,
187 const uint8_t *ciphertext,
265 uint8_t *ciphertext,
284 const uint8_t *ciphertext,
307 uint8_t *ciphertext,
329 const uint8_t *ciphertext,
352 uint8_t *ciphertext,
373 const uint8_t *ciphertext,
[all …]
Dfsl_ltc_edma.c354 uint8_t *ciphertext, in LTC_AES_EncryptEcbEDMA() argument
381 handle->outData = &ciphertext[0]; in LTC_AES_EncryptEcbEDMA()
406 const uint8_t *ciphertext, in LTC_AES_DecryptEcbEDMA() argument
441 handle->inData = &ciphertext[0]; in LTC_AES_DecryptEcbEDMA()
467 uint8_t *ciphertext, in LTC_AES_EncryptCbcEDMA() argument
502 handle->outData = &ciphertext[0]; in LTC_AES_EncryptCbcEDMA()
526 const uint8_t *ciphertext, in LTC_AES_DecryptCbcEDMA() argument
569 handle->inData = &ciphertext[0]; in LTC_AES_DecryptCbcEDMA()
814 uint8_t *ciphertext, in LTC_DES_EncryptEcbEDMA() argument
818 …return ltc_des_process_EDMA(base, handle, plaintext, ciphertext, size, NULL, key, kLTC_ModeECB, kL… in LTC_DES_EncryptEcbEDMA()
[all …]
Dfsl_ltc.h286 …LTC_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, uint32_t size, const uint8_t *key, …
303 const uint8_t *ciphertext,
324 uint8_t *ciphertext,
344 const uint8_t *ciphertext,
415 uint8_t *ciphertext,
447 const uint8_t *ciphertext,
481 uint8_t *ciphertext,
513 const uint8_t *ciphertext,
550 …LTC_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, uint32_t size, const uint8_t key[LT…
565 …LTC_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, uint32_t size, const uint8_t key[LT…
[all …]
Dfsl_ltc.c1117 const uint8_t *ciphertext, in ltc_aes_decrypt_ecb() argument
1141 retval = ltc_process_message_in_sessions(base, &ciphertext[0], size, &plaintext[0]); in ltc_aes_decrypt_ecb()
1164 uint8_t ciphertext[LTC_AES_BLOCK_SIZE] = {0}; in LTC_AES_GenerateDecryptKey() local
1173 …status = ltc_aes_decrypt_ecb(base, ciphertext, plaintext, LTC_AES_BLOCK_SIZE, encryptKey, keySize,… in LTC_AES_GenerateDecryptKey()
1196 …LTC_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, uint32_t size, const uint8_t *key, … in LTC_AES_EncryptEcb() argument
1218 retval = ltc_process_message_in_sessions(base, &plaintext[0], size, &ciphertext[0]); in LTC_AES_EncryptEcb()
1238 const uint8_t *ciphertext, in LTC_AES_DecryptEcb() argument
1257 status = ltc_aes_decrypt_ecb(base, ciphertext, plaintext, size, key, keySize, keyType); in LTC_AES_DecryptEcb()
1276 uint8_t *ciphertext, in LTC_AES_EncryptCbc() argument
1310 retval = ltc_process_message_in_sessions(base, &plaintext[0], size, &ciphertext[0]); in LTC_AES_EncryptCbc()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.h544 uint8_t *ciphertext,
565 const uint8_t *ciphertext,
587 uint8_t *ciphertext,
608 const uint8_t *ciphertext,
672 uint8_t *ciphertext,
706 const uint8_t *ciphertext,
742 uint8_t *ciphertext,
776 const uint8_t *ciphertext,
814 uint8_t *ciphertext,
837 const uint8_t *ciphertext,
[all …]
Dfsl_caam.c1109 uint8_t *ciphertext, in CAAM_AES_EncryptTagCcmNonBlocking() argument
1120 …return caam_aes_ccm_non_blocking(base, handle, descriptor, plaintext, ciphertext, size, iv, ivSize… in CAAM_AES_EncryptTagCcmNonBlocking()
1150 const uint8_t *ciphertext, in CAAM_AES_DecryptTagCcmNonBlocking() argument
1162 …return caam_aes_ccm_non_blocking(base, handle, descriptor, ciphertext, plaintext, size, iv, ivSize… in CAAM_AES_DecryptTagCcmNonBlocking()
1344 uint8_t *ciphertext, in CAAM_AES_EncryptEcbNonBlocking() argument
1371 descriptor[7] = (uint32_t)ADD_OFFSET((uint32_t)ciphertext); in CAAM_AES_EncryptEcbNonBlocking()
1396 const uint8_t *ciphertext, in CAAM_AES_DecryptEcbNonBlocking() argument
1420 descriptor[4] = (uint32_t)ADD_OFFSET((uint32_t)ciphertext); in CAAM_AES_DecryptEcbNonBlocking()
1464 uint8_t *ciphertext, in CAAM_AES_EncryptCbcNonBlocking() argument
1503 descriptor[9] = (uint32_t)ADD_OFFSET((uint32_t)ciphertext); in CAAM_AES_EncryptCbcNonBlocking()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.h82 status_t AES_EncryptEcb(AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size);
95 status_t AES_DecryptEcb(AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size);
108 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I…
121 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I…
134 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I…
147 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I…
160 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I…
173 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I…
223 uint8_t *ciphertext,
251 const uint8_t *ciphertext,
Dfsl_aes.c388 status_t AES_EncryptEcb(AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size) in AES_EncryptEcb() argument
413 aes_one_block(base, ciphertext, plaintext); in AES_EncryptEcb()
414 ciphertext += 16; in AES_EncryptEcb()
433 status_t AES_DecryptEcb(AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size) in AES_DecryptEcb() argument
458 aes_one_block(base, plaintext, ciphertext); in AES_DecryptEcb()
459 ciphertext += 16; in AES_DecryptEcb()
576 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I… in AES_EncryptCbc() argument
578 return aes_block_mode(base, plaintext, ciphertext, size, iv, kAES_CfgEncryptCbc); in AES_EncryptCbc()
592 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I… in AES_DecryptCbc() argument
594 return aes_block_mode(base, ciphertext, plaintext, size, iv, kAES_CfgDecryptCbc); in AES_DecryptCbc()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dcp/
Dfsl_dcp.h342 … DCP_Type *base, dcp_handle_t *handle, const uint8_t *plaintext, uint8_t *ciphertext, size_t size);
358 … DCP_Type *base, dcp_handle_t *handle, const uint8_t *ciphertext, uint8_t *plaintext, size_t size);
377 uint8_t *ciphertext,
397 const uint8_t *ciphertext,
428 uint8_t *ciphertext,
448 const uint8_t *ciphertext,
471 uint8_t *ciphertext,
493 const uint8_t *ciphertext,
Dfsl_dcp.c380 … DCP_Type *base, dcp_handle_t *handle, const uint8_t *plaintext, uint8_t *ciphertext, size_t size) in DCP_AES_EncryptEcb() argument
396 …mpletionStatus = DCP_AES_EncryptEcbNonBlocking(base, handle, dcpWork, plaintext, ciphertext, size); in DCP_AES_EncryptEcb()
425 uint8_t *ciphertext, in DCP_AES_EncryptEcbNonBlocking() argument
437 dcpPacket->destinationBufferAddress = (uint32_t)ciphertext; in DCP_AES_EncryptEcbNonBlocking()
478 … DCP_Type *base, dcp_handle_t *handle, const uint8_t *ciphertext, uint8_t *plaintext, size_t size) in DCP_AES_DecryptEcb() argument
494 …completionStatus = DCP_AES_DecryptEcbNonBlocking(base, handle, dcpWork, ciphertext, plaintext, siz… in DCP_AES_DecryptEcb()
522 const uint8_t *ciphertext, in DCP_AES_DecryptEcbNonBlocking() argument
533 dcpPacket->sourceBufferAddress = (uint32_t)ciphertext; in DCP_AES_DecryptEcbNonBlocking()
578 uint8_t *ciphertext, in DCP_AES_EncryptCbc() argument
596 …tionStatus = DCP_AES_EncryptCbcNonBlocking(base, handle, dcpWork, plaintext, ciphertext, size, iv); in DCP_AES_EncryptCbc()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.h260 …HASHCRYPT_Type *base, hashcrypt_handle_t *handle, const uint8_t *plaintext, uint8_t *ciphertext, s…
276 …HASHCRYPT_Type *base, hashcrypt_handle_t *handle, const uint8_t *ciphertext, uint8_t *plaintext, s…
292 uint8_t *ciphertext,
309 const uint8_t *ciphertext,
385 uint8_t *ciphertext,
403 const uint8_t *ciphertext,
Dfsl_hashcrypt.c1227 …HASHCRYPT_Type *base, hashcrypt_handle_t *handle, const uint8_t *plaintext, uint8_t *ciphertext, s… in HASHCRYPT_AES_EncryptEcb() argument
1258 status = hashcrypt_aes_one_block(base, plaintext, ciphertext, size); in HASHCRYPT_AES_EncryptEcb()
1266 …HASHCRYPT_Type *base, hashcrypt_handle_t *handle, const uint8_t *ciphertext, uint8_t *plaintext, s… in HASHCRYPT_AES_DecryptEcb() argument
1297 status = hashcrypt_aes_one_block(base, ciphertext, plaintext, size); in HASHCRYPT_AES_DecryptEcb()
1307 uint8_t *ciphertext, in HASHCRYPT_AES_EncryptCbc() argument
1343 status = hashcrypt_aes_one_block(base, plaintext, ciphertext, size); in HASHCRYPT_AES_EncryptCbc()
1352 const uint8_t *ciphertext, in HASHCRYPT_AES_DecryptCbc() argument
1389 status = hashcrypt_aes_one_block(base, ciphertext, plaintext, size); in HASHCRYPT_AES_DecryptCbc()
1591 uint8_t *ciphertext, in HASHCRYPT_AES_EncryptCfb() argument
1642 ciphertext[i] = plaintext[i] ^ blockOutput[i]; in HASHCRYPT_AES_EncryptCfb()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.h337 …crypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t plaintext[16], uint8_t ciphertext[16]);
351 status_t CAU3_AES_Decrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t ciphertext[16], uin…
437 …DES_Encrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *plaintext, uint8_t *ciphertext);
452 status_t CAU3_TDES_Decrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *ciphertext, uint8…
579 uint8_t *ciphertext,
609 const uint8_t *ciphertext,
Dfsl_cau3.c1116 …ncrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t plaintext[16], uint8_t ciphertext[16]) in CAU3_AES_Encrypt()
1135 base->CC_R[19] = (uint32_t)ciphertext; /* pCipherText */ in CAU3_AES_Encrypt()
1161 status_t CAU3_AES_Decrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t ciphertext[16], uin… in CAU3_AES_Decrypt()
1178 base->CC_R[16] = (uint32_t)ciphertext; /* pCipherText */ in CAU3_AES_Decrypt()
4415 …TDES_Encrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *plaintext, uint8_t *ciphertext) in CAU3_TDES_Encrypt() argument
4431 base->CC_R[19] = (uintptr_t)ciphertext; /* pCipherText */ in CAU3_TDES_Encrypt()
4458 status_t CAU3_TDES_Decrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *ciphertext, uint8… in CAU3_TDES_Decrypt() argument
4472 base->CC_R[16] = (uintptr_t)ciphertext; /* pCipherText */ in CAU3_TDES_Decrypt()
4569 uint8_t *ciphertext, in CAU3_CHACHA20_POLY1305_Encrypt() argument
4598 base->CC_R[22] = (uintptr_t)ciphertext; /* Ciphertext pointer */ in CAU3_CHACHA20_POLY1305_Encrypt()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/asm-cm4-cm7/src/
Dmmcau_des_functions.s148 # get ciphertext[0-1] from CA2/3 and save to output[0-1]
149 ldmia r1, {r0-r1} @ get ciphertext[0-1]
162 # *in pointer to 8-byte block of input ciphertext
Dmmcau_aes_functions.s559 # *out pointer to 16-byte block of output ciphertext
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/asm-cm0p/src/
Dmmcau_des_functions.s224 # load the 64-bit ciphertext input block into the CAU's CA2/CA3 regs
Dmmcau_aes_functions.s917 # *out pointer to 16-byte block of output ciphertext
1179 # XOR the last 4 keys with the 4 words of ciphertext
1182 # ldmia r0, {r0-r3} @ load ciphertext
1184 ldmia r0!, {r1-r3} @ load ciphertext and move r0 by 12 byte
1186 ldr r0, [r0] @ load the rest of ciphertext
1276 # XOR the last 4 keys into the 4 words of ciphertext
1278 # ldmia r0, {r0-r3} @ load ciphertext
1280 ldmia r0!, {r1-r3} @ load ciphertext and move r0 by 12 byte
1282 ldr r0, [r0] @ load the rest of ciphertext