Searched refs:wrappingKey (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
H A D | hks_core_service_key_generate.c | 366 static int32_t CheckWrappingKeyIsUsedForUnwrap(const struct HksBlob *wrappingKey) in CheckWrappingKeyIsUsedForUnwrap() argument 368 struct HksKeyNode *wrappingKeyNode = HksGenerateKeyNode(wrappingKey); in CheckWrappingKeyIsUsedForUnwrap() 389 static int32_t GetPublicKeyInnerFormat(const struct HksBlob *wrappingKey, const struct HksBlob *wra… in GetPublicKeyInnerFormat() argument 399 struct HksKeyNode *wrappingKeyNode = HksGenerateKeyNode(wrappingKey); in GetPublicKeyInnerFormat() 413 int32_t ret = CheckWrappingKeyIsUsedForUnwrap(wrappingKey); in AgreeSharedSecretWithPeerPublicKey() 430 ret = HksCoreAgreeKey(agreeKeyParamSet, wrappingKey, publicKey, &sharedSecret); in AgreeSharedSecretWithPeerPublicKey() 787 int32_t HksCoreImportWrappedKey(const struct HksBlob *keyAlias, const struct HksBlob *wrappingKey, in HksCoreImportWrappedKey() argument 791 …int32_t ret = HksCoreCheckImportWrappedKeyParams(wrappingKey, wrappedKeyData, paramSet, keyOut, &u… in HksCoreImportWrappedKey() 796 return HksSmImportWrappedKey(keyAlias, paramSet, wrappingKey, wrappedKeyData, keyOut); in HksCoreImportWrappedKey() 807 ret = GetPublicKeyInnerFormat(wrappingKey, wrappedKeyData, &peerPublicKey, &partOffset); in HksCoreImportWrappedKey() [all …]
|
H A D | hks_sm_import_wrap_key.c | 574 const struct HksBlob *wrappingKey, const struct HksBlob *wrappedKeyData, struct HksBlob *keyOut) in HksSmImportWrappedKey() argument 576 if ((CheckBlob(wrappingKey) != HKS_SUCCESS) || (CheckBlob(wrappedKeyData) != HKS_SUCCESS)) { in HksSmImportWrappedKey() 584 struct HksKeyNode *wrappingKeyNode = HksGenerateKeyNode(wrappingKey); in HksSmImportWrappedKey() 602 const struct HksBlob *wrappingKey, const struct HksBlob *wrappedKeyData, struct HksBlob *keyOut) in HksSmImportWrappedKey() argument 606 (void)wrappingKey; in HksSmImportWrappedKey()
|
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/include/ |
H A D | hks_sm_import_wrap_key.h | 40 … const struct HksBlob *wrappingKey, const struct HksBlob *wrappedKeyData, struct HksBlob *keyOut);
|
H A D | hks_core_service_key_generate.h | 33 int32_t HksCoreImportWrappedKey(const struct HksBlob *keyAlias, const struct HksBlob *wrappingKey,
|
/ohos5.0/drivers/peripheral/huks/hdi_service/ |
H A D | huks_hdi_passthrough_adapter.c | 83 …iAdapterImportWrappedKey(const struct HksBlob *wrappingKeyAlias, const struct HksBlob *wrappingKey, in HuksHdiAdapterImportWrappedKey() argument 91 …return g_coreEngine->HuksHdiImportWrappedKey(wrappingKeyAlias, wrappingKey, wrappedKeyData, paramS… in HuksHdiAdapterImportWrappedKey()
|
H A D | huks_hdi_passthrough_adapter.h | 63 …iAdapterImportWrappedKey(const struct HksBlob *wrappingKeyAlias, const struct HksBlob *wrappingKey,
|