Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/dcp/
Dfsl_dcp.c203 base->KEY = DCP_KEY_INDEX(handle->keySlot) | DCP_KEY_SUBWORD(0); in dcp_aes_set_sram_based_key()
320 if ((kDCP_OtpKey == handle->keySlot) || (kDCP_OtpUniqueKey == handle->keySlot)) in DCP_AES_SetKey()
351 if (kDCP_PayloadKey != handle->keySlot) in DCP_AES_SetKey()
440 if (handle->keySlot == kDCP_OtpKey) in DCP_AES_EncryptEcbNonBlocking()
445 else if (handle->keySlot == kDCP_OtpUniqueKey) in DCP_AES_EncryptEcbNonBlocking()
450 else if (handle->keySlot == kDCP_PayloadKey) in DCP_AES_EncryptEcbNonBlocking()
458 dcpPacket->control1 = ((uint32_t)handle->keySlot << 8); /* KEY_SELECT = keySlot */ in DCP_AES_EncryptEcbNonBlocking()
537 if (handle->keySlot == kDCP_OtpKey) in DCP_AES_DecryptEcbNonBlocking()
542 else if (handle->keySlot == kDCP_OtpUniqueKey) in DCP_AES_DecryptEcbNonBlocking()
547 else if (handle->keySlot == kDCP_PayloadKey) in DCP_AES_DecryptEcbNonBlocking()
[all …]
Dfsl_dcp.h152 …dcp_key_slot_t keySlot; /*!< For operations with key (such as AES encryption/decryption), specify … member
/hal_nxp-latest/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.c800 cau3_key_slot_t keySlot,
803 … CAU3_Type *base, const uint8_t *key, size_t keySize, uint32_t keySlot, cau3_task_done_t taskDone);
1074 … CAU3_Type *base, const uint8_t *key, size_t keySize, uint32_t keySlot, cau3_task_done_t taskDone) in cau3_load_key() argument
1090 base->CC_R[18] = keySlot; /* keySlot */ in cau3_load_key()
1134 base->CC_R[17] = (uint32_t)handle->keySlot; /* keySlot */ in CAU3_AES_Encrypt()
1179 base->CC_R[17] = (uint32_t)handle->keySlot; /* keySlot */ in CAU3_AES_Decrypt()
1277 cau3_key_slot_t keySlot, in cau3_load_key_context() argument
1293 base->CC_R[17] = (uint32_t)keySlot; /* keySlot */ in cau3_load_key_context()
1367 status_t CAU3_LoadSpecialKeyContext(CAU3_Type *base, size_t keySize, cau3_key_slot_t keySlot, cau3_… in CAU3_LoadSpecialKeyContext() argument
1382 base->CC_R[17] = (uint32_t)keySlot; /* keySlot */ in CAU3_LoadSpecialKeyContext()
[all …]
Dfsl_cau3.h94 …cau3_key_slot_t keySlot; /*!< For operations with key (such as AES encryption/decryption), specify… member
245 cau3_key_slot_t keySlot,
259 status_t CAU3_ClearKeyContext(CAU3_Type *base, cau3_key_slot_t keySlot, cau3_task_done_t taskDone);
276 status_t CAU3_LoadKeyInitVector(CAU3_Type *base, const uint8_t *iv, cau3_key_slot_t keySlot, cau3_t…
383 status_t CAU3_AES_KeyExpansion(CAU3_Type *base, cau3_key_slot_t keySlot, cau3_task_done_t taskDone);
408 status_t CAU3_TDES_CheckParity(CAU3_Type *base, cau3_key_slot_t keySlot);
669 cau3_key_slot_t keySlot,
/hal_nxp-latest/mcux/mcux-sdk/drivers/puf/
Dfsl_puf.c706 …PUF_Type *base, const uint8_t *keyCode, size_t keyCodeSize, puf_key_slot_t keySlot, uint32_t keyMa… in PUF_GetHwKey() argument
739 uint32_t regVal = ((uint32_t)2U << ((uint32_t)2U * (uint32_t)keySlot)); in PUF_GetHwKey()
741 switch (keySlot) in PUF_GetHwKey()
781 keyWords = ((((size_t)keyCode[3]) * 2U) - 1u) << ((size_t)keySlot << 2U); in PUF_GetHwKey()
782 if (keyWords != ((0x0FUL << ((uint32_t)keySlot << 2U)) & base->SHIFT_STATUS)) in PUF_GetHwKey()
793 keyWords = ((((size_t)keyCode[3]) * 2U) - 1u) << ((size_t)keySlot << 2U); in PUF_GetHwKey()
794 if (keyWords != ((0x0FUL << ((uint32_t)keySlot << 2U)) & base->IDXBLK_SHIFT)) in PUF_GetHwKey()
Dfsl_puf.h270 …PUF_Type *base, const uint8_t *keyCode, size_t keyCodeSize, puf_key_slot_t keySlot, uint32_t keyMa…