Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter.c556 const uint32_t alg, uint32_t keyLen, const EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in EvpPkeyToHksPubKeyInfo() argument
592 sm2PublicKey->data = rawInfo; in EvpPkeyToHksPubKeyInfo()
593 sm2PublicKey->size = rawInfoLen; in EvpPkeyToHksPubKeyInfo()
601 static int32_t X509PublicKeyToSm2(const uint32_t alg, EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in X509PublicKeyToSm2() argument
613 int ret = EvpPkeyToHksPubKeyInfo(alg, (uint32_t)keyLen, pkey, sm2PublicKey); in X509PublicKeyToSm2()