Home
last modified time | relevance | path

Searched refs:HksKsfDataRkcWithVer (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc.c64 static int32_t ReadAllKsfRkc(struct HksKsfDataRkcWithVer *validKsfData) in ReadAllKsfRkc()
68 struct HksKsfDataRkcWithVer allRkcData[HKS_KSF_NUM] = { 0 }; in ReadAllKsfRkc()
90 (void)memcpy_s(validKsfData, sizeof(struct HksKsfDataRkcWithVer), in ReadAllKsfRkc()
91 &allRkcData[validIndex], sizeof(struct HksKsfDataRkcWithVer)); in ReadAllKsfRkc()
400 struct HksKsfDataRkcWithVer *validKsfDataRkcWithVer = in RkcLoadKsf()
401 (struct HksKsfDataRkcWithVer *)HksMalloc(sizeof(struct HksKsfDataRkcWithVer)); in RkcLoadKsf()
450 …oid)memset_s(ksfDataRkcWithVer, sizeof(struct HksKsfDataRkcWithVer), 0, sizeof(struct HksKsfDataRk… in FillKsfDataRkcWithVer()
467 …oid)memset_s(ksfDataRkcWithVer, sizeof(struct HksKsfDataRkcWithVer), 0, sizeof(struct HksKsfDataRk… in FillKsfDataRkcWithVer()
479 int32_t RkcWriteAllKsf(const struct HksKsfDataRkcWithVer *ksfDataRkcWithVer, in RkcWriteAllKsf()
502 struct HksKsfDataRkcWithVer *newKsfDataRkcWithVer = in RkcCreateKsf()
[all …]
H A Dhks_rkc_v1.c260 struct HksKsfDataRkcWithVer *newKsfDataRkcWithVer = in UpgradeV1ToV2()
261 (struct HksKsfDataRkcWithVer *)HksMalloc(sizeof(struct HksKsfDataRkcWithVer)); in UpgradeV1ToV2()
299 HKS_MEMSET_FREE_PTR(newKsfDataRkcWithVer, sizeof(struct HksKsfDataRkcWithVer)); in UpgradeV1ToV2()
H A Dhks_rkc_rw.c278 static int32_t ExtractKsfBufRkc(const struct HksBlob *ksfFromFile, struct HksKsfDataRkcWithVer *ksf… in ExtractKsfBufRkc()
320 int32_t HksReadKsfRkc(const char *ksfName, struct HksKsfDataRkcWithVer *ksfDataRkc) in HksReadKsfRkc()
437 static int32_t FillKsfVerRkc(const struct HksKsfDataRkcWithVer *ksfDataRkcWithVer, in FillKsfVerRkc()
482 static int32_t FillKsfBufRkc(const struct HksKsfDataRkcWithVer *ksfDataRkcWithVer, struct HksBlob *… in FillKsfBufRkc()
520 int32_t HksWriteKsfRkc(const char *ksfName, const struct HksKsfDataRkcWithVer *ksfDataRkc) in HksWriteKsfRkc()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/include/
H A Dhks_rkc_rw.h91 struct HksKsfDataRkcWithVer { struct
122 int32_t HksReadKsfRkc(const char *ksfName, struct HksKsfDataRkcWithVer *ksfDataRkc);
126 int32_t HksWriteKsfRkc(const char *ksfName, const struct HksKsfDataRkcWithVer *ksfDataRkc);
H A Dhks_rkc.h78 int32_t FillKsfDataRkcWithVer(struct HksKsfDataRkcWithVer *ksfDataRkcWithVer);
82 int32_t RkcWriteAllKsf(const struct HksKsfDataRkcWithVer *ksfDataRkcWithVer,
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksrkc_fuzzer/
H A Dhksrkc_fuzzer.cpp53 struct HksKsfDataRkcWithVer newRkc = { 0 }; in TestStoreNewKsfFile()
73 struct HksKsfDataRkcWithVer newRkc = { 0 }; in TestGetMkFromNewKsfFile()
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_two/
H A Dhks_upgrade_rkc_test.cpp84 struct HksKsfDataRkcWithVer newRkc = { 0 }; in TestStoreNewKsfFile()
109 struct HksKsfDataRkcWithVer newRkc = { 0 }; in TestGetMkFromNewKsfFile()