Lines Matching refs:ameth
175 const EVP_PKEY_ASN1_METHOD *ameth; in pem_read_bio_key_legacy() local
176 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); in pem_read_bio_key_legacy()
177 if (ameth == NULL || ameth->old_priv_decode == NULL) in pem_read_bio_key_legacy()
179 ret = ossl_d2i_PrivateKey_legacy(ameth->pkey_id, x, &p, len, libctx, in pem_read_bio_key_legacy()
192 || !ret->ameth->param_decode in pem_read_bio_key_legacy()
193 || !ret->ameth->param_decode(ret, &p, len)) { in pem_read_bio_key_legacy()
323 if (x != NULL && (x->ameth == NULL || x->ameth->priv_encode != NULL)) in PEM_write_cb_ex_fnsig()
356 if (x->ameth == NULL || x->ameth->old_priv_encode == NULL) { in PEM_write_bio_PrivateKey_traditional()
361 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); in PEM_write_bio_PrivateKey_traditional()
398 if (!x->ameth || !x->ameth->param_encode) in PEM_write_fnsig()
401 BIO_snprintf(pem_str, 80, "%s PARAMETERS", x->ameth->pem_str); in PEM_write_fnsig()
402 return PEM_ASN1_write_bio((i2d_of_void *)x->ameth->param_encode, in PEM_write_fnsig()