Home
last modified time | relevance | path

Searched refs:ksfDataMkWithVer (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc_rw.c299 …_t ExtractKsfBufMk(const struct HksBlob *ksfFromFile, struct HksKsfDataMkWithVer *ksfDataMkWithVer) in ExtractKsfBufMk() argument
308 ret = ExtractFieldFromBuffer(ksfFromFile, &ksfBufOffset, &(ksfDataMkWithVer->mkVersion), in ExtractKsfBufMk()
309 sizeof(ksfDataMkWithVer->mkVersion)); in ExtractKsfBufMk()
313 ret = ExtractKsfDataMk(ksfFromFile, &ksfBufOffset, &(ksfDataMkWithVer->ksfDataMk)); in ExtractKsfBufMk()
451 static int32_t FillKsfVerMk(const struct HksKsfDataMkWithVer *ksfDataMkWithVer, in FillKsfVerMk() argument
455 …int32_t ret = FillFieldToBuffer(&(ksfDataMkWithVer->mkVersion), sizeof(ksfDataMkWithVer->mkVersion… in FillKsfVerMk()
459 ret = FillKsfDataMk(&(ksfDataMkWithVer->ksfDataMk), ksfBuf, ksfBufOffset); in FillKsfVerMk()
501 static int32_t FillKsfBufMk(const struct HksKsfDataMkWithVer *ksfDataMkWithVer, struct HksBlob *ksf… in FillKsfBufMk() argument
510 ret = FillKsfVerMk(ksfDataMkWithVer, ksfBuf, &ksfBufOffset); in FillKsfBufMk()
H A Dhks_rkc.c472 void FillKsfDataMkWithVer(struct HksKsfDataMkWithVer *ksfDataMkWithVer) in FillKsfDataMkWithVer() argument
474 …(void)memset_s(ksfDataMkWithVer, sizeof(struct HksKsfDataMkWithVer), 0, sizeof(struct HksKsfDataMk… in FillKsfDataMkWithVer()
475 ksfDataMkWithVer->mkVersion = g_hksRkcCfg.mkVersion; in FillKsfDataMkWithVer()
476 ksfDataMkWithVer->ksfDataMk.mkEncryptAlg = g_hksRkcCfg.mkEncryptAlg; in FillKsfDataMkWithVer()
480 const struct HksKsfDataMkWithVer *ksfDataMkWithVer) in RkcWriteAllKsf() argument
489 ret = HksWriteKsfMk(g_hksRkcCfg.ksfAttrMk.name[i], ksfDataMkWithVer); in RkcWriteAllKsf()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/include/
H A Dhks_rkc.h80 void FillKsfDataMkWithVer(struct HksKsfDataMkWithVer *ksfDataMkWithVer);
83 const struct HksKsfDataMkWithVer *ksfDataMkWithVer);