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