/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/ltc/ |
D | fsl_ltc_edma.h | 59 const uint8_t *key; /*!< Input key to use for forward AES cipher*/ member 122 const uint8_t *key, 145 const uint8_t *key, 168 const uint8_t *key, 191 const uint8_t *key, 224 const uint8_t *key, 230 #define LTC_AES_DecryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlas… argument 231 …LTC_AES_CryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft) 234 #define LTC_AES_EncryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlas… argument 235 …LTC_AES_CryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft) [all …]
|
D | fsl_ltc_edma.c | 356 const uint8_t *key, in LTC_AES_EncryptEcbEDMA() argument 373 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeECB, kLTC_M… in LTC_AES_EncryptEcbEDMA() 409 const uint8_t *key, in LTC_AES_DecryptEcbEDMA() argument 427 …status = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeECB, kLTC_M… in LTC_AES_DecryptEcbEDMA() 470 const uint8_t *key, in LTC_AES_EncryptCbcEDMA() argument 487 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeCBC, kLTC_M… in LTC_AES_EncryptCbcEDMA() 530 const uint8_t *key, in LTC_AES_DecryptCbcEDMA() argument 555 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeCBC, kLTC_M… in LTC_AES_DecryptCbcEDMA() 607 const uint8_t *key, in LTC_AES_CryptCtrEDMA() argument 650 …retval = ltc_symmetric_update(base, key, (uint8_t)keySize, kLTC_AlgorithmAES, kLTC_ModeCTR, kLTC_M… in LTC_AES_CryptCtrEDMA() [all …]
|
D | fsl_ltc.h | 286 …onst uint8_t *plaintext, uint8_t *ciphertext, uint32_t size, const uint8_t *key, uint32_t keySize); 306 const uint8_t *key, 327 const uint8_t *key, 348 const uint8_t *key, 379 const uint8_t *key, 385 #define LTC_AES_DecryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument 386 LTC_AES_CryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) 389 #define LTC_AES_EncryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument 390 LTC_AES_CryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) 421 const uint8_t *key, [all …]
|
D | fsl_ltc.c | 377 static void ltc_set_key(LTC_Type *base, const uint8_t *key, uint8_t keySize) in ltc_set_key() argument 383 base->KEY[i] = ltc_get_word_from_unaligned(&key[i * sizeof(uint32_t)]); in ltc_set_key() 396 static void ltc_get_key(LTC_Type *base, uint8_t *key, uint8_t keySize) in ltc_get_key() argument 402 ltc_set_unaligned_from_word(base->KEY[i], &key[i * sizeof(uint32_t)]); in ltc_get_key() 497 const uint8_t *key, in ltc_symmetric_alg_state() argument 514 ltc_set_key(base, key, keySize); in ltc_symmetric_alg_state() 544 const uint8_t *key, in ltc_symmetric_update() argument 550 return ltc_symmetric_alg_state(base, key, keySize, alg, mode, enc, kLTC_ModeUpdate); in ltc_symmetric_update() 566 const uint8_t *key, in ltc_symmetric_final() argument 572 return ltc_symmetric_alg_state(base, key, keySize, alg, mode, enc, kLTC_ModeFinalize); in ltc_symmetric_final() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/caam/ |
D | fsl_caam.h | 561 const uint8_t *key, 583 const uint8_t *key, 605 const uint8_t *key, 627 const uint8_t *key, 659 const uint8_t *key, 693 const uint8_t *key, 728 const uint8_t *key, 763 const uint8_t *key, 798 const uint8_t *key, 831 const uint8_t *key, [all …]
|
D | fsl_caam.c | 809 const uint8_t *key, 825 const uint8_t *key, in caam_aes_gcm_non_blocking() argument 849 descriptor[2] = ADD_OFFSET((uint32_t)key); in caam_aes_gcm_non_blocking() 917 const uint8_t *key, in caam_aes_ccm_check_input_args() argument 933 …if (((src == NULL) && (0u != size)) || (iv == NULL) || (key == NULL) || ((dst == NULL) && (0u != s… in caam_aes_ccm_check_input_args() 1049 const uint8_t *key, 1065 const uint8_t *key, in caam_aes_ccm_non_blocking() argument 1078 …status = caam_aes_ccm_check_input_args(base, input, iv, key, output, size, ivSize, aadSize, keySiz… in caam_aes_ccm_non_blocking() 1089 descriptor[2] = ADD_OFFSET((uint32_t)key); in caam_aes_ccm_non_blocking() 1203 const uint8_t *key, in CAAM_AES_EncryptTagCcmNonBlocking() argument [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/evkbmimxrt1060/ |
D | fsl_adapter_flexspi_nor_flash.c | 305 uint32_t key; in HAL_FlashInit() local 318 key = DisableGlobalIRQ(); in HAL_FlashInit() 361 EnableGlobalIRQ(key); in HAL_FlashInit() 443 uint32_t key; in HAL_FlashProgram() local 508 key = DisableGlobalIRQ(); in HAL_FlashProgram() 514 EnableGlobalIRQ(key); in HAL_FlashProgram() 530 EnableGlobalIRQ(key); in HAL_FlashProgram() 537 EnableGlobalIRQ(key); in HAL_FlashProgram() 544 EnableGlobalIRQ(key); in HAL_FlashProgram() 595 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/evkbmimxrt1170/ |
D | fsl_adapter_flexspi_nor_flash.c | 306 uint32_t key; in HAL_FlashInit() local 331 key = DisableGlobalIRQ(); in HAL_FlashInit() 374 EnableGlobalIRQ(key); in HAL_FlashInit() 465 uint32_t key; in HAL_FlashProgram() local 542 key = DisableGlobalIRQ(); in HAL_FlashProgram() 548 EnableGlobalIRQ(key); in HAL_FlashProgram() 564 EnableGlobalIRQ(key); in HAL_FlashProgram() 571 EnableGlobalIRQ(key); in HAL_FlashProgram() 578 EnableGlobalIRQ(key); in HAL_FlashProgram() 638 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/ |
D | fsl_adapter_flexspi_nor_flash.c | 305 uint32_t key; in HAL_FlashInit() local 318 key = DisableGlobalIRQ(); in HAL_FlashInit() 361 EnableGlobalIRQ(key); in HAL_FlashInit() 443 uint32_t key; in HAL_FlashProgram() local 508 key = DisableGlobalIRQ(); in HAL_FlashProgram() 514 EnableGlobalIRQ(key); in HAL_FlashProgram() 530 EnableGlobalIRQ(key); in HAL_FlashProgram() 537 EnableGlobalIRQ(key); in HAL_FlashProgram() 544 EnableGlobalIRQ(key); in HAL_FlashProgram() 595 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/mimxrt1160/ |
D | fsl_adapter_flexspi_nor_flash.c | 320 uint32_t key; in HAL_FlashInit() local 345 key = DisableGlobalIRQ(); in HAL_FlashInit() 388 EnableGlobalIRQ(key); in HAL_FlashInit() 479 uint32_t key; in HAL_FlashProgram() local 557 key = DisableGlobalIRQ(); in HAL_FlashProgram() 563 EnableGlobalIRQ(key); in HAL_FlashProgram() 579 EnableGlobalIRQ(key); in HAL_FlashProgram() 586 EnableGlobalIRQ(key); in HAL_FlashProgram() 593 EnableGlobalIRQ(key); in HAL_FlashProgram() 653 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/mimxrt1170/ |
D | fsl_adapter_flexspi_nor_flash.c | 320 uint32_t key; in HAL_FlashInit() local 345 key = DisableGlobalIRQ(); in HAL_FlashInit() 388 EnableGlobalIRQ(key); in HAL_FlashInit() 479 uint32_t key; in HAL_FlashProgram() local 556 key = DisableGlobalIRQ(); in HAL_FlashProgram() 562 EnableGlobalIRQ(key); in HAL_FlashProgram() 578 EnableGlobalIRQ(key); in HAL_FlashProgram() 585 EnableGlobalIRQ(key); in HAL_FlashProgram() 592 EnableGlobalIRQ(key); in HAL_FlashProgram() 652 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/evkmimxrt1040/ |
D | fsl_adapter_flexspi_nor_flash.c | 297 uint32_t key; in HAL_FlashInit() local 319 key = DisableGlobalIRQ(); in HAL_FlashInit() 362 EnableGlobalIRQ(key); in HAL_FlashInit() 451 uint32_t key; in HAL_FlashProgram() local 516 key = DisableGlobalIRQ(); in HAL_FlashProgram() 522 EnableGlobalIRQ(key); in HAL_FlashProgram() 538 EnableGlobalIRQ(key); in HAL_FlashProgram() 545 EnableGlobalIRQ(key); in HAL_FlashProgram() 552 EnableGlobalIRQ(key); in HAL_FlashProgram() 603 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/octal_flash/RT595/ |
D | fsl_adapter_flexspi_nor_flash.c | 339 uint32_t key; in HAL_FlashInit() local 357 key = DisableGlobalIRQ(); in HAL_FlashInit() 393 EnableGlobalIRQ(key); in HAL_FlashInit() 475 uint32_t key; in HAL_FlashProgram() local 517 key = DisableGlobalIRQ(); in HAL_FlashProgram() 523 EnableGlobalIRQ(key); in HAL_FlashProgram() 539 EnableGlobalIRQ(key); in HAL_FlashProgram() 546 EnableGlobalIRQ(key); in HAL_FlashProgram() 557 EnableGlobalIRQ(key); in HAL_FlashProgram() 601 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/octal_flash/ |
D | fsl_adapter_flexspi_nor_flash.c | 342 uint32_t key; in HAL_FlashInit() local 360 key = DisableGlobalIRQ(); in HAL_FlashInit() 397 EnableGlobalIRQ(key); in HAL_FlashInit() 478 uint32_t key; in HAL_FlashProgram() local 520 key = DisableGlobalIRQ(); in HAL_FlashProgram() 526 EnableGlobalIRQ(key); in HAL_FlashProgram() 542 EnableGlobalIRQ(key); in HAL_FlashProgram() 549 EnableGlobalIRQ(key); in HAL_FlashProgram() 560 EnableGlobalIRQ(key); in HAL_FlashProgram() 604 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/rdrw612bga/ |
D | fsl_adapter_flexspi_nor_flash.c | 302 uint32_t key; in HAL_FlashInit() local 315 key = DisableGlobalIRQ(); in HAL_FlashInit() 358 EnableGlobalIRQ(key); in HAL_FlashInit() 440 uint32_t key; in HAL_FlashProgram() local 505 key = DisableGlobalIRQ(); in HAL_FlashProgram() 511 EnableGlobalIRQ(key); in HAL_FlashProgram() 527 EnableGlobalIRQ(key); in HAL_FlashProgram() 534 EnableGlobalIRQ(key); in HAL_FlashProgram() 541 EnableGlobalIRQ(key); in HAL_FlashProgram() 592 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/internal_flash/hyper_flash/ |
D | fsl_adapter_flexspi_hyper_nor_flash.c | 490 uint32_t key; in HAL_FlashInit() local 510 key = DisableGlobalIRQ(); in HAL_FlashInit() 563 EnableGlobalIRQ(key); in HAL_FlashInit() 654 uint32_t key; in HAL_FlashProgram() local 720 key = DisableGlobalIRQ(); in HAL_FlashProgram() 746 EnableGlobalIRQ(key); in HAL_FlashProgram() 762 EnableGlobalIRQ(key); in HAL_FlashProgram() 769 EnableGlobalIRQ(key); in HAL_FlashProgram() 784 EnableGlobalIRQ(key); in HAL_FlashProgram() 836 uint32_t key; in HAL_FlashEraseSector() local [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S36/drivers/flash/src/ |
D | fsl_flash.c | 55 …tus_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 66 …_erase_with_checker)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 91 …_erase_non_blocking)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 182 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_Erase() argument 185 return BOOTLOADER_API_TREE_POINTER->flashDriver->flash_erase(config, start, lengthInBytes, key); in FLASH_Erase() 188 …LASH_EraseNonBlocking(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_EraseNonBlocking() argument 191 …TLOADER_API_TREE_POINTER->flashDriver->flash_erase_non_blocking(config, start, lengthInBytes, key); in FLASH_EraseNonBlocking() 260 …t FLASH_ErasePrologue(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_ErasePrologue() argument 263 …TLOADER_API_TREE_POINTER->flashDriver->flash_erase_with_checker(config, start, lengthInBytes, key); in FLASH_ErasePrologue()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5536/drivers/flash/src/ |
D | fsl_flash.c | 55 …tus_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 66 …_erase_with_checker)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 91 …_erase_non_blocking)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 182 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_Erase() argument 185 return BOOTLOADER_API_TREE_POINTER->flashDriver->flash_erase(config, start, lengthInBytes, key); in FLASH_Erase() 188 …LASH_EraseNonBlocking(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_EraseNonBlocking() argument 191 …TLOADER_API_TREE_POINTER->flashDriver->flash_erase_non_blocking(config, start, lengthInBytes, key); in FLASH_EraseNonBlocking() 260 …t FLASH_ErasePrologue(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_ErasePrologue() argument 263 …TLOADER_API_TREE_POINTER->flashDriver->flash_erase_with_checker(config, start, lengthInBytes, key); in FLASH_ErasePrologue()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5534/drivers/flash/src/ |
D | fsl_flash.c | 55 …tus_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 66 …_erase_with_checker)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 91 …_erase_non_blocking)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 182 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_Erase() argument 185 return BOOTLOADER_API_TREE_POINTER->flashDriver->flash_erase(config, start, lengthInBytes, key); in FLASH_Erase() 188 …LASH_EraseNonBlocking(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_EraseNonBlocking() argument 191 …TLOADER_API_TREE_POINTER->flashDriver->flash_erase_non_blocking(config, start, lengthInBytes, key); in FLASH_EraseNonBlocking() 260 …t FLASH_ErasePrologue(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLASH_ErasePrologue() argument 263 …TLOADER_API_TREE_POINTER->flashDriver->flash_erase_with_checker(config, start, lengthInBytes, key); in FLASH_ErasePrologue()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flash/ |
D | fsl_ftfx_controller.c | 106 static status_t ftfx_check_user_key(uint32_t key); 268 status_t FTFx_CMD_Erase(ftfx_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FTFx_CMD_Erase() argument 284 returnCode = ftfx_check_user_key(key); in FTFx_CMD_Erase() 332 status_t FTFx_CMD_EraseSectorNonBlocking(ftfx_config_t *config, uint32_t start, uint32_t key) in FTFx_CMD_EraseSectorNonBlocking() argument 346 returnCode = ftfx_check_user_key(key); in FTFx_CMD_EraseSectorNonBlocking() 365 status_t FTFx_CMD_EraseAll(ftfx_config_t *config, uint32_t key) in FTFx_CMD_EraseAll() argument 378 returnCode = ftfx_check_user_key(key); in FTFx_CMD_EraseAll() 406 status_t FTFx_CMD_EraseAllUnsecure(ftfx_config_t *config, uint32_t key) in FTFx_CMD_EraseAllUnsecure() argument 419 returnCode = ftfx_check_user_key(key); in FTFx_CMD_EraseAllUnsecure() 447 status_t FTFx_CMD_EraseAllExecuteOnlySegments(ftfx_config_t *config, uint32_t key) in FTFx_CMD_EraseAllExecuteOnlySegments() argument [all …]
|
D | fsl_ftfx_flexnvm.c | 80 …FLEXNVM_DflashErase(flexnvm_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key) in FLEXNVM_DflashErase() argument 89 return FTFx_CMD_Erase(&config->ftfxConfig, start, lengthInBytes, key); in FLEXNVM_DflashErase() 95 status_t FLEXNVM_EraseAll(flexnvm_config_t *config, uint32_t key) in FLEXNVM_EraseAll() argument 97 return FTFx_CMD_EraseAll(&config->ftfxConfig, key); in FLEXNVM_EraseAll() 104 status_t FLEXNVM_EraseAllUnsecure(flexnvm_config_t *config, uint32_t key) in FLEXNVM_EraseAllUnsecure() argument 106 return FTFx_CMD_EraseAllUnsecure(&config->ftfxConfig, key); in FLEXNVM_EraseAllUnsecure()
|
D | fsl_ftfx_controller.h | 405 status_t FTFx_CMD_Erase(ftfx_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key… 424 status_t FTFx_CMD_EraseSectorNonBlocking(ftfx_config_t *config, uint32_t start, uint32_t key); 441 status_t FTFx_CMD_EraseAll(ftfx_config_t *config, uint32_t key); 459 status_t FTFx_CMD_EraseAllUnsecure(ftfx_config_t *config, uint32_t key); 476 status_t FTFx_CMD_EraseAllExecuteOnlySegments(ftfx_config_t *config, uint32_t key);
|
D | fsl_ftfx_flash.h | 167 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 189 status_t FLASH_EraseSectorNonBlocking(flash_config_t *config, uint32_t start, uint32_t key); 208 status_t FLASH_EraseAll(flash_config_t *config, uint32_t key); 228 status_t FLASH_EraseAllUnsecure(flash_config_t *config, uint32_t key);
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/otfad/ |
D | fsl_otfad.c | 144 const uint32_t *tempKey = config->key; in OTFAD_SetEncryptionConfig() 205 config->key[0] = base->CTX[config->contextIndex].KEY[0]; in OTFAD_GetEncryptionConfig() 206 config->key[1] = base->CTX[config->contextIndex].KEY[1]; in OTFAD_GetEncryptionConfig() 207 config->key[2] = base->CTX[config->contextIndex].KEY[2]; in OTFAD_GetEncryptionConfig() 208 config->key[3] = base->CTX[config->contextIndex].KEY[3]; in OTFAD_GetEncryptionConfig()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/puf_v3/ |
D | fsl_puf_v3.c | 400 status_t PUF_GetKey(PUF_Type *base, puf_key_ctx_t *keyCtx, puf_key_dest_t keyDest, uint8_t *key, si… in PUF_GetKey() argument 420 if (((keyDest == kPUF_KeyDestRegister) && (key == NULL)) || (keyDest == kPUF_KeyDestInvalid)) in PUF_GetKey() 438 if (0U != (0x3u & (uintptr_t)key)) in PUF_GetKey() 443 keyAligned = (uint32_t *)(uintptr_t)key; in PUF_GetKey() 711 …PUF_Type *base, puf_key_dest_t keyDest, uint8_t *keyCode, size_t keyCodeSize, uint8_t *key, size_t… in PUF_Unwrap() argument 724 if (((keyDest == kPUF_KeyDestRegister) && (key == NULL)) || (keyDest == kPUF_KeyDestInvalid)) in PUF_Unwrap() 730 if ((0U != (0x3u & (uintptr_t)key)) || (0U != (0x3u & (uintptr_t)keyCode)) || (keyCode == NULL)) in PUF_Unwrap() 735 keyAligned = (uint32_t *)(uintptr_t)key; in PUF_Unwrap()
|