Home
last modified time | relevance | path

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

/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c485 if (hmacDeriveParams == NULL) { in ConstructDeriveParamSet()
490 hmacDeriveParams[idx].tag = HKS_TAG_ALGORITHM; in ConstructDeriveParamSet()
491 hmacDeriveParams[idx++].uint32Param = HKS_ALG_HMAC; in ConstructDeriveParamSet()
492 hmacDeriveParams[idx].tag = HKS_TAG_PURPOSE; in ConstructDeriveParamSet()
494 hmacDeriveParams[idx].tag = HKS_TAG_DIGEST; in ConstructDeriveParamSet()
495 hmacDeriveParams[idx++].uint32Param = HKS_DIGEST_SHA256; in ConstructDeriveParamSet()
496 hmacDeriveParams[idx].tag = HKS_TAG_DERIVE_KEY_SIZE; in ConstructDeriveParamSet()
497 hmacDeriveParams[idx++].uint32Param = HMAC_LEN; in ConstructDeriveParamSet()
498 hmacDeriveParams[idx].tag = HKS_TAG_INFO; in ConstructDeriveParamSet()
499 hmacDeriveParams[idx++].blob = srcBlob; in ConstructDeriveParamSet()
[all …]