Home
last modified time | relevance | path

Searched refs:mkVersion (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc.c35 .mkVersion = HKS_MK_VER,
387 static int32_t UpgradeMkIfNeeded(uint32_t mkVersion, const struct HksBlob *mk) in UpgradeMkIfNeeded() argument
389 if (mkVersion == HKS_MK_VER) { in UpgradeMkIfNeeded()
438 ret = UpgradeMkIfNeeded(validKsfDataMkWithVer->mkVersion, &tempMkBlob); in RkcLoadKsf()
475 ksfDataMkWithVer->mkVersion = g_hksRkcCfg.mkVersion; in FillKsfDataMkWithVer()
H A Dhks_rkc_rw.c308 ret = ExtractFieldFromBuffer(ksfFromFile, &ksfBufOffset, &(ksfDataMkWithVer->mkVersion), in ExtractKsfBufMk()
309 sizeof(ksfDataMkWithVer->mkVersion)); in ExtractKsfBufMk()
455 …int32_t ret = FillFieldToBuffer(&(ksfDataMkWithVer->mkVersion), sizeof(ksfDataMkWithVer->mkVersion in FillKsfVerMk()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/include/
H A Dhks_rkc.h33 uint16_t mkVersion; /* the version of main key */ member
H A Dhks_rkc_rw.h98 uint16_t mkVersion; /* the version of main key */ member