Searched refs:eType (Results 1 – 2 of 2) sorted by relevance
108 int32_t KS_Read(KS_MEM_Type eType, int32_t i32KeyIdx, uint32_t au32Key[], uint32_t u32WordCnt) in KS_Read() argument128 KS->METADATA = ((uint32_t)eType << KS_METADATA_DST_Pos) | KS_TOMETAKEY(i32KeyIdx); in KS_Read()244 int32_t KS_Write(KS_MEM_Type eType, uint32_t u32Meta, uint32_t au32Key[]) in KS_Write() argument265 KS->METADATA = (eType << KS_METADATA_DST_Pos) | u32Meta; in KS_Write()275 if((eType == KS_OTP) && (i32Cnt > 8)) in KS_Write()279 if(eType == KS_FLASH) in KS_Write()286 if(eType == KS_SRAM) in KS_Write()501 int32_t KS_EraseAll(KS_MEM_Type eType) in KS_EraseAll() argument522 KS->METADATA = (eType << KS_METADATA_DST_Pos); in KS_EraseAll()575 int32_t KS_RevokeKey(KS_MEM_Type eType, int32_t i32KeyIdx) in KS_RevokeKey() argument[all …]
120 int32_t KS_Write(KS_MEM_Type eType, uint32_t u32Meta, uint32_t au32Key[]);125 int32_t KS_EraseAll(KS_MEM_Type eType);126 int32_t KS_RevokeKey(KS_MEM_Type eType, int32_t i32KeyIdx);127 uint32_t KS_GetRemainSize(KS_MEM_Type eType);