Searched refs:i32KeyIdx (Results 1 – 4 of 4) sorted by relevance
| /hal_nuvoton-latest/m46x/StdDriver/inc/ |
| D | keystore.h | 119 int32_t KS_Read(KS_MEM_Type type, int32_t i32KeyIdx, uint32_t au32Key[], uint32_t u32WordCnt); 121 int32_t KS_WriteOTP(int32_t i32KeyIdx, uint32_t u32Meta, uint32_t au32Key[]); 122 int32_t KS_EraseKey(int32_t i32KeyIdx); 123 int32_t KS_EraseOTPKey(int32_t i32KeyIdx); 124 int32_t KS_LockOTPKey(int32_t i32KeyIdx); 126 int32_t KS_RevokeKey(KS_MEM_Type eType, int32_t i32KeyIdx);
|
| D | crypto.h | 415 void AES_SetKey_KS(CRPT_T *crpt, KS_MEM_Type mem, int32_t i32KeyIdx); 439 …licKey_KS(CRPT_T *crpt, E_ECC_CURVE ecc_curve, KS_MEM_Type mem, int32_t i32KeyIdx, char public_k1[… 442 …ecretZ_KS(CRPT_T *crpt, E_ECC_CURVE ecc_curve, KS_MEM_Type mem, int32_t i32KeyIdx, char public_k1[…
|
| /hal_nuvoton-latest/m46x/StdDriver/src/ |
| D | keystore.c | 108 int32_t KS_Read(KS_MEM_Type eType, int32_t i32KeyIdx, uint32_t au32Key[], uint32_t u32WordCnt) in KS_Read() argument 128 KS->METADATA = ((uint32_t)eType << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_Read() 344 int32_t KS_EraseKey(int32_t i32KeyIdx) in KS_EraseKey() argument 364 KS->METADATA = (KS_SRAM << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_EraseKey() 395 int32_t KS_EraseOTPKey(int32_t i32KeyIdx) in KS_EraseOTPKey() argument 415 KS->METADATA = ((uint32_t)KS_OTP << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_EraseOTPKey() 447 int32_t KS_LockOTPKey(int32_t i32KeyIdx) in KS_LockOTPKey() argument 467 KS->METADATA = ((uint32_t)KS_OTP << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_LockOTPKey() 575 int32_t KS_RevokeKey(KS_MEM_Type eType, int32_t i32KeyIdx) in KS_RevokeKey() argument 595 KS->METADATA = (eType << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_RevokeKey() [all …]
|
| D | crypto.c | 235 void AES_SetKey_KS(CRPT_T *crpt, KS_MEM_Type mem, int32_t i32KeyIdx) in AES_SetKey_KS() argument 240 (uint32_t)i32KeyIdx /* key num */ ; in AES_SetKey_KS() 1204 …licKey_KS(CRPT_T *crpt, E_ECC_CURVE ecc_curve, KS_MEM_Type mem, int32_t i32KeyIdx, char public_k1[… in ECC_GeneratePublicKey_KS() argument 1220 (uint32_t)i32KeyIdx; in ECC_GeneratePublicKey_KS() 1426 …ecretZ_KS(CRPT_T *crpt, E_ECC_CURVE ecc_curve, KS_MEM_Type mem, int32_t i32KeyIdx, char public_k1[… in ECC_GenerateSecretZ_KS() argument 1444 (uint32_t)i32KeyIdx; in ECC_GenerateSecretZ_KS()
|