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