Lines Matching refs:ameth
47 if (pkey->ameth->priv_decode_ex != NULL) { in evp_pkcs82pkey_legacy()
48 if (!pkey->ameth->priv_decode_ex(pkey, p8, libctx, propq)) in evp_pkcs82pkey_legacy()
50 } else if (pkey->ameth->priv_decode != NULL) { in evp_pkcs82pkey_legacy()
51 if (!pkey->ameth->priv_decode(pkey, p8)) { in evp_pkcs82pkey_legacy()
158 if (pkey->ameth != NULL) { in EVP_PKEY2PKCS8()
159 if (pkey->ameth->priv_encode != NULL) { in EVP_PKEY2PKCS8()
160 if (!pkey->ameth->priv_encode(p8, pkey)) { in EVP_PKEY2PKCS8()
247 const EVP_PKEY_ASN1_METHOD *ameth; in EVP_PKEY_get0_type_name() local
254 ameth = EVP_PKEY_get0_asn1(key); in EVP_PKEY_get0_type_name()
255 if (ameth != NULL) in EVP_PKEY_get0_type_name()
257 NULL, NULL, &name, ameth); in EVP_PKEY_get0_type_name()