Home
last modified time | relevance | path

Searched refs:plaintext (Results 1 – 20 of 20) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc_edma.h119 const uint8_t *plaintext,
143 uint8_t *plaintext,
164 const uint8_t *plaintext,
188 uint8_t *plaintext,
264 const uint8_t *plaintext,
285 uint8_t *plaintext,
306 const uint8_t *plaintext,
330 uint8_t *plaintext,
351 const uint8_t *plaintext,
374 uint8_t *plaintext,
[all …]
Dfsl_ltc_edma.c353 const uint8_t *plaintext, in LTC_AES_EncryptEcbEDMA() argument
380 handle->inData = &plaintext[0]; in LTC_AES_EncryptEcbEDMA()
407 uint8_t *plaintext, in LTC_AES_DecryptEcbEDMA() argument
442 handle->outData = &plaintext[0]; in LTC_AES_DecryptEcbEDMA()
466 const uint8_t *plaintext, in LTC_AES_EncryptCbcEDMA() argument
501 handle->inData = &plaintext[0]; in LTC_AES_EncryptCbcEDMA()
527 uint8_t *plaintext, in LTC_AES_DecryptCbcEDMA() argument
570 handle->outData = &plaintext[0]; in LTC_AES_DecryptCbcEDMA()
813 const uint8_t *plaintext, 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, …
304 uint8_t *plaintext,
323 const uint8_t *plaintext,
345 uint8_t *plaintext,
414 const uint8_t *plaintext,
448 uint8_t *plaintext,
480 const uint8_t *plaintext,
514 uint8_t *plaintext,
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.c1118 uint8_t *plaintext, in ltc_aes_decrypt_ecb() argument
1141 retval = ltc_process_message_in_sessions(base, &ciphertext[0], size, &plaintext[0]); in ltc_aes_decrypt_ecb()
1163 uint8_t plaintext[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()
1239 uint8_t *plaintext, in LTC_AES_DecryptEcb() argument
1257 status = ltc_aes_decrypt_ecb(base, ciphertext, plaintext, size, key, keySize, keyType); in LTC_AES_DecryptEcb()
1275 const uint8_t *plaintext, 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.h543 const uint8_t *plaintext,
566 uint8_t *plaintext,
586 const uint8_t *plaintext,
609 uint8_t *plaintext,
671 const uint8_t *plaintext,
707 uint8_t *plaintext,
741 const uint8_t *plaintext,
777 uint8_t *plaintext,
813 const uint8_t *plaintext,
838 uint8_t *plaintext,
[all …]
Dfsl_caam.c1108 const uint8_t *plaintext, in CAAM_AES_EncryptTagCcmNonBlocking() argument
1120 …return caam_aes_ccm_non_blocking(base, handle, descriptor, plaintext, ciphertext, size, iv, ivSize… in CAAM_AES_EncryptTagCcmNonBlocking()
1151 uint8_t *plaintext, in CAAM_AES_DecryptTagCcmNonBlocking() argument
1162 …return caam_aes_ccm_non_blocking(base, handle, descriptor, ciphertext, plaintext, size, iv, ivSize… in CAAM_AES_DecryptTagCcmNonBlocking()
1343 const uint8_t *plaintext, in CAAM_AES_EncryptEcbNonBlocking() argument
1368 descriptor[4] = (uint32_t)ADD_OFFSET((uint32_t)plaintext); in CAAM_AES_EncryptEcbNonBlocking()
1397 uint8_t *plaintext, in CAAM_AES_DecryptEcbNonBlocking() argument
1423 descriptor[7] = (uint32_t)ADD_OFFSET((uint32_t)plaintext); in CAAM_AES_DecryptEcbNonBlocking()
1463 const uint8_t *plaintext, in CAAM_AES_EncryptCbcNonBlocking() argument
1499 descriptor[6] = (uint32_t)ADD_OFFSET((uint32_t)plaintext); 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…
222 const uint8_t *plaintext,
252 uint8_t *plaintext,
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()
415 plaintext += 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()
460 plaintext += 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);
376 const uint8_t *plaintext,
398 uint8_t *plaintext,
427 const uint8_t *plaintext,
449 uint8_t *plaintext,
470 const uint8_t *plaintext,
494 uint8_t *plaintext,
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 …completionStatus = DCP_AES_EncryptEcbNonBlocking(base, handle, dcpWork, plaintext, ciphertext, siz… in DCP_AES_EncryptEcb()
424 const uint8_t *plaintext, in DCP_AES_EncryptEcbNonBlocking() argument
436 dcpPacket->sourceBufferAddress = (uint32_t)plaintext; 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 …mpletionStatus = DCP_AES_DecryptEcbNonBlocking(base, handle, dcpWork, ciphertext, plaintext, size); in DCP_AES_DecryptEcb()
523 uint8_t *plaintext, in DCP_AES_DecryptEcbNonBlocking() argument
534 dcpPacket->destinationBufferAddress = (uint32_t)plaintext; in DCP_AES_DecryptEcbNonBlocking()
577 const uint8_t *plaintext, in DCP_AES_EncryptCbc() argument
596 …completionStatus = DCP_AES_EncryptCbcNonBlocking(base, handle, dcpWork, plaintext, ciphertext, siz… 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…
291 const uint8_t *plaintext,
310 uint8_t *plaintext,
384 const uint8_t *plaintext,
404 uint8_t *plaintext,
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()
1306 const uint8_t *plaintext, in HASHCRYPT_AES_EncryptCbc() argument
1343 status = hashcrypt_aes_one_block(base, plaintext, ciphertext, size); in HASHCRYPT_AES_EncryptCbc()
1353 uint8_t *plaintext, in HASHCRYPT_AES_DecryptCbc() argument
1389 status = hashcrypt_aes_one_block(base, ciphertext, plaintext, size); in HASHCRYPT_AES_DecryptCbc()
1590 const uint8_t *plaintext, 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 status_t CAU3_AES_Encrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t plaintext[16], uint…
351 …crypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t ciphertext[16], uint8_t plaintext[16]);
437 status_t CAU3_TDES_Encrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *plaintext, uint8_…
452 …DES_Decrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *ciphertext, uint8_t *plaintext);
578 const uint8_t *plaintext,
610 uint8_t *plaintext,
Dfsl_cau3.c1116 status_t CAU3_AES_Encrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t plaintext[16], uint… in CAU3_AES_Encrypt()
1133 base->CC_R[16] = (uint32_t)plaintext; /* pPlainText */ in CAU3_AES_Encrypt()
1161 …ecrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t ciphertext[16], uint8_t plaintext[16]) in CAU3_AES_Decrypt()
1180 base->CC_R[19] = (uint32_t)plaintext; /* pPlainText */ in CAU3_AES_Decrypt()
4415 status_t CAU3_TDES_Encrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *plaintext, uint8_… in CAU3_TDES_Encrypt() argument
4429 base->CC_R[16] = (uintptr_t)plaintext; /* pPlainText */ in CAU3_TDES_Encrypt()
4458 …TDES_Decrypt(CAU3_Type *base, cau3_handle_t *handle, const uint8_t *ciphertext, uint8_t *plaintext) in CAU3_TDES_Decrypt() argument
4474 base->CC_R[19] = (uintptr_t)plaintext; /* pPlainText */ in CAU3_TDES_Decrypt()
4568 const uint8_t *plaintext, in CAU3_CHACHA20_POLY1305_Encrypt() argument
4596 base->CC_R[20] = (uintptr_t)plaintext; /* Plaintext pointer */ in CAU3_CHACHA20_POLY1305_Encrypt()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/asm-cm4-cm7/src/
Dmmcau_des_functions.s121 # and the 64-bit plaintext input block into CA2/CA3
127 ldmia r0, {r5-r6} @ and plaintext[0-1]
164 # *out pointer to 8-byte block of output plaintext
Dmmcau_aes_functions.s556 # *in pointer to 16-byte block of input plaintext
597 ldmia r0, {r4-r7} @ get plaintext[0-3]
865 # XOR the first 4 keys into CAO - CA3 plaintext output
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/asm-cm0p/src/
Dmmcau_des_functions.s131 # load the 64-bit plaintext input block into the CAU's CA2/CA3 regs
Dmmcau_aes_functions.s914 # *in pointer to 16-byte block of input plaintext
972 # XOR the first 4 keys into the 4 words of plaintext
975 # ldmia r0, {r0-r3} @ load plaintext
977 ldmia r0!, {r1-r3} @ load plaintext and move r0 by 12 byte
979 ldr r0, [r0] @ load the rest of plaintext
996 ldmia r0!, {r1-r3} @ load plaintext and move r0 by 12 byte
998 ldr r0, [r0] @ load the rest of plaintext
1213 # *out pointer to 16-byte block of output plaintext
1495 # XOR the first 4 keys with the 4 words of plaintext
1498 # ldmia r0, {r0-r3} @ load plaintext
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/casper/
Dfsl_casper.h215 uint8_t *plaintext);
Dfsl_casper.c1037 …, const uint8_t *signature, const uint8_t *pubN, size_t wordLen, uint32_t pubE, uint8_t *plaintext) in CASPER_ModExp() argument
1048 CASPER_MEMCPY_I2N((uint32_t *)(uintptr_t)plaintext, msg_ret, N_bytelen); in CASPER_ModExp()