Home
last modified time | relevance | path

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

/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter.c683 const uint32_t alg, uint32_t keyLen, const EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in EvpPkeyToHksPubKeyInfo() argument
719 sm2PublicKey->data = rawInfo; in EvpPkeyToHksPubKeyInfo()
720 sm2PublicKey->size = rawInfoLen; in EvpPkeyToHksPubKeyInfo()
728 static int32_t X509PublicKeyToSm2(const uint32_t alg, EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in X509PublicKeyToSm2() argument
740 int ret = EvpPkeyToHksPubKeyInfo(alg, (uint32_t)keyLen, pkey, sm2PublicKey); in X509PublicKeyToSm2()