Searched refs:sm2PublicKey (Results 1 – 1 of 1) sorted by relevance
683 const uint32_t alg, uint32_t keyLen, const EVP_PKEY *pkey, struct HksBlob *sm2PublicKey) in EvpPkeyToHksPubKeyInfo() argument719 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() argument740 int ret = EvpPkeyToHksPubKeyInfo(alg, (uint32_t)keyLen, pkey, sm2PublicKey); in X509PublicKeyToSm2()