Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 16 of 16) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc_edma.h167 const uint8_t iv[LTC_AES_IV_SIZE],
190 const uint8_t iv[LTC_AES_IV_SIZE],
309 const uint8_t iv[LTC_DES_IV_SIZE],
332 const uint8_t iv[LTC_DES_IV_SIZE],
354 const uint8_t iv[LTC_DES_IV_SIZE],
376 const uint8_t iv[LTC_DES_IV_SIZE],
399 const uint8_t iv[LTC_DES_IV_SIZE],
422 const uint8_t iv[LTC_DES_IV_SIZE],
490 const uint8_t iv[LTC_DES_IV_SIZE],
515 const uint8_t iv[LTC_DES_IV_SIZE],
[all …]
Dfsl_ltc_edma.c469 const uint8_t iv[LTC_AES_IV_SIZE], in LTC_AES_EncryptCbcEDMA()
494 retval = ltc_set_context(base, &iv[0], LTC_AES_IV_SIZE, 0); in LTC_AES_EncryptCbcEDMA()
529 const uint8_t iv[LTC_AES_IV_SIZE], in LTC_AES_DecryptCbcEDMA()
562 retval = ltc_set_context(base, &iv[0], LTC_AES_IV_SIZE, 0); in LTC_AES_DecryptCbcEDMA()
691 const uint8_t iv[LTC_DES_IV_SIZE], in ltc_des_process_EDMA()
717 retval = ltc_set_context(base, iv, LTC_DES_IV_SIZE, 0); in ltc_des_process_EDMA()
740 const uint8_t iv[LTC_DES_IV_SIZE], in ltc_3des_process_EDMA()
778 retval = ltc_set_context(base, iv, LTC_DES_IV_SIZE, 0); in ltc_3des_process_EDMA()
864 const uint8_t iv[LTC_DES_IV_SIZE], in LTC_DES_EncryptCbcEDMA()
867 …return ltc_des_process_EDMA(base, handle, plaintext, ciphertext, size, iv, key, kLTC_ModeCBC, kLTC… in LTC_DES_EncryptCbcEDMA()
[all …]
Dfsl_ltc.h326 const uint8_t iv[LTC_AES_IV_SIZE],
347 const uint8_t iv[LTC_AES_IV_SIZE],
417 const uint8_t *iv,
450 const uint8_t *iv,
483 const uint8_t *iv,
516 const uint8_t *iv,
585 const uint8_t iv[LTC_DES_IV_SIZE],
606 const uint8_t iv[LTC_DES_IV_SIZE],
626 const uint8_t iv[LTC_DES_IV_SIZE],
646 const uint8_t iv[LTC_DES_IV_SIZE],
[all …]
Dfsl_ltc.c1278 const uint8_t iv[LTC_AES_IV_SIZE], in LTC_AES_EncryptCbc()
1303 retval = ltc_set_context(base, &iv[0], LTC_AES_IV_SIZE, 0); in LTC_AES_EncryptCbc()
1332 const uint8_t iv[LTC_AES_IV_SIZE], in LTC_AES_DecryptCbc()
1357 retval = ltc_set_context(base, &iv[0], LTC_AES_IV_SIZE, 0); in LTC_AES_DecryptCbc()
1507 const uint8_t *iv, in ltc_aes_gcm_check_input_args() argument
1523 if ((NULL == key) || ((0U != ivSize) && (NULL == iv)) || ((0U != aadSize) && (NULL == aad)) || in ltc_aes_gcm_check_input_args()
1577 …LTC_Type *base, const uint8_t *iv, uint32_t ivSize, ltc_mode_t modeReg, bool iv_only, int type, lt… in ltc_aes_gcm_process_iv_aad() argument
1583 if ((NULL == iv) || (ivSize == 0U)) in ltc_aes_gcm_process_iv_aad()
1599 ltc_move_to_ififo(base, iv, ivSize); in ltc_aes_gcm_process_iv_aad()
1610 ltc_move_to_ififo(base, iv, sz); in ltc_aes_gcm_process_iv_aad()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.h589 const uint8_t iv[CAAM_AES_BLOCK_SIZE],
611 const uint8_t iv[CAAM_AES_BLOCK_SIZE],
674 const uint8_t *iv,
709 const uint8_t *iv,
744 const uint8_t *iv,
779 const uint8_t *iv,
865 const uint8_t *iv,
891 const uint8_t *iv,
960 const uint8_t *iv,
998 const uint8_t *iv,
[all …]
Dfsl_caam.c631 const uint8_t *iv, in caam_aes_gcm_check_input_args() argument
645 if (((ivSize != 0U) && (iv == NULL)) || ((aadSize != 0U) && (aad == NULL)) || in caam_aes_gcm_check_input_args()
720 const uint8_t *iv,
736 const uint8_t *iv, in caam_aes_gcm_non_blocking() argument
749 …status = caam_aes_gcm_check_input_args(base, input, iv, aad, output, size, ivSize, aadSize, tagSiz… in caam_aes_gcm_non_blocking()
780 descriptor[7] = ADD_OFFSET((uint32_t)iv); in caam_aes_gcm_non_blocking()
831 const uint8_t *iv, in caam_aes_ccm_check_input_args() argument
845 if ((src == NULL) || (iv == NULL) || (key == NULL) || (dst == NULL)) in caam_aes_ccm_check_input_args()
877 …uint32_t inputSize, const uint8_t *iv, uint32_t ivSize, uint32_t aadSize, uint32_t tagSize, void *… in caam_aes_ccm_context_init() argument
897 (void)caam_memcpy(&blk.b[1], iv, ivSize); /* nonce field */ in caam_aes_ccm_context_init()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.c481 const uint8_t iv[AES_IV_SIZE], in aes_block_mode()
542 aes_set_holding(base, iv); in aes_block_mode()
576 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I… in AES_EncryptCbc()
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()
594 return aes_block_mode(base, ciphertext, plaintext, size, iv, kAES_CfgDecryptCbc); in AES_DecryptCbc()
608 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I… in AES_EncryptCfb()
610 return aes_block_mode(base, plaintext, ciphertext, size, iv, kAES_CfgEncryptCfb); in AES_EncryptCfb()
624 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I… in AES_DecryptCfb()
626 return aes_block_mode(base, ciphertext, plaintext, size, iv, kAES_CfgDecryptCfb); in AES_DecryptCfb()
[all …]
Dfsl_aes.h108 …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…
225 const uint8_t *iv,
254 const uint8_t *iv,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.h294 const uint8_t iv[16]);
312 const uint8_t iv[16]);
368 const uint8_t iv[HASHCRYPT_AES_BLOCK_SIZE]);
387 const uint8_t iv[16]);
406 const uint8_t iv[16]);
Dfsl_hashcrypt.c1309 const uint8_t iv[16]) in HASHCRYPT_AES_EncryptCbc()
1340 hashcrypt_load_data(base, (uint32_t *)(uintptr_t)iv, 16); in HASHCRYPT_AES_EncryptCbc()
1355 const uint8_t iv[16]) in HASHCRYPT_AES_DecryptCbc()
1386 hashcrypt_load_data(base, (uint32_t *)(uintptr_t)iv, 16); in HASHCRYPT_AES_DecryptCbc()
1509 const uint8_t iv[HASHCRYPT_AES_BLOCK_SIZE]) in HASHCRYPT_AES_CryptOfb()
1543 hashcrypt_load_data(base, (uint32_t *)(uintptr_t)iv, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_CryptOfb()
1593 const uint8_t iv[HASHCRYPT_AES_BLOCK_SIZE]) in HASHCRYPT_AES_EncryptCfb()
1628 hashcrypt_load_data(base, (uint32_t *)(uintptr_t)iv, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_EncryptCfb()
1676 const uint8_t iv[HASHCRYPT_AES_BLOCK_SIZE]) in HASHCRYPT_AES_DecryptCfb()
1711 hashcrypt_load_data(base, (uint32_t *)(uintptr_t)iv, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_DecryptCfb()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dcp/
Dfsl_dcp.h155 uint32_t iv[4]; member
379 const uint8_t iv[16]);
400 const uint8_t iv[16]);
473 const uint8_t *iv);
496 const uint8_t *iv);
Dfsl_dcp.c580 const uint8_t iv[16]) in DCP_AES_EncryptCbc()
596 …tionStatus = DCP_AES_EncryptCbcNonBlocking(base, handle, dcpWork, plaintext, ciphertext, size, iv); in DCP_AES_EncryptCbc()
628 const uint8_t *iv) in DCP_AES_EncryptCbcNonBlocking() argument
645 dcpPacket->payloadPointer = (uint32_t)iv; in DCP_AES_EncryptCbcNonBlocking()
651 dcpPacket->payloadPointer = (uint32_t)iv; in DCP_AES_EncryptCbcNonBlocking()
659 (void)dcp_memcpy(handle->iv, (const uint32_t *)(uintptr_t)iv, 16); in DCP_AES_EncryptCbcNonBlocking()
665 dcpPacket->payloadPointer = (uint32_t)iv; in DCP_AES_EncryptCbcNonBlocking()
691 const uint8_t iv[16]) in DCP_AES_DecryptCbc()
707 …tionStatus = DCP_AES_DecryptCbcNonBlocking(base, handle, dcpWork, ciphertext, plaintext, size, iv); in DCP_AES_DecryptCbc()
739 const uint8_t *iv) in DCP_AES_DecryptCbcNonBlocking() argument
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/prince/
Dfsl_prince.c532 status_t PRINCE_SetRegionIV(PRINCE_Type *base, prince_region_t region, const uint8_t iv[8]) in PRINCE_SetRegionIV()
562 *IVLsb_reg = ((uint32_t *)(uintptr_t)iv)[0]; in PRINCE_SetRegionIV()
563 *IVMsb_reg = ((uint32_t *)(uintptr_t)iv)[1]; in PRINCE_SetRegionIV()
Dfsl_prince.h351 status_t PRINCE_SetRegionIV(PRINCE_Type *base, prince_region_t region, const uint8_t iv[8]);
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.h276 status_t CAU3_LoadKeyInitVector(CAU3_Type *base, const uint8_t *iv, cau3_key_slot_t keySlot, cau3_t…
Dfsl_cau3.c76 uint8_t iv[16]; /*!< initialization vector */ member
1450 status_t CAU3_LoadKeyInitVector(CAU3_Type *base, const uint8_t *iv, cau3_key_slot_t keySlot, cau3_t… in CAU3_LoadKeyInitVector() argument
1464 base->CC_R[16] = (uintptr_t)iv; /* pIv */ in CAU3_LoadKeyInitVector()