Lines Matching refs:pkey_id
45 if (!X509_PUBKEY_set0_param(pk, OBJ_nid2obj(pkey->ameth->pkey_id), in ecx_pub_encode()
64 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode()
68 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_pub_decode()
92 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_priv_decode_ex()
120 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(pkey->ameth->pkey_id), 0, in ecx_priv_encode()
137 if (IS25519(pkey->ameth->pkey_id)) { in ecx_bits()
139 } else if (ISX448(pkey->ameth->pkey_id)) { in ecx_bits()
148 if (IS25519(pkey->ameth->pkey_id)) { in ecx_security_bits()
170 const char *nm = OBJ_nid2ln(pkey->ameth->pkey_id); in ecx_key_print()
220 ECX_KEY *ecx = ossl_ecx_key_op(NULL, arg2, arg1, pkey->ameth->pkey_id, in ecx_ctrl()
224 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_ctrl()
268 ecx = ossl_ecx_key_op(NULL, priv, len, pkey->ameth->pkey_id, in ecx_set_priv_key()
272 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_set_priv_key()
286 ecx = ossl_ecx_key_op(NULL, pub, len, pkey->ameth->pkey_id, in ecx_set_pub_key()
290 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, ecx); in ecx_set_pub_key()
302 *len = KEYLENID(pkey->ameth->pkey_id); in ecx_get_priv_key()
308 || *len < (size_t)KEYLENID(pkey->ameth->pkey_id)) in ecx_get_priv_key()
311 *len = KEYLENID(pkey->ameth->pkey_id); in ecx_get_priv_key()
323 *len = KEYLENID(pkey->ameth->pkey_id); in ecx_get_pub_key()
328 || *len < (size_t)KEYLENID(pkey->ameth->pkey_id)) in ecx_get_pub_key()
331 *len = KEYLENID(pkey->ameth->pkey_id); in ecx_get_pub_key()
713 ECX_KEY *ecx = ossl_ecx_key_op(NULL, NULL, 0, ctx->pmeth->pkey_id, in pkey_ecx_keygen()
717 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, ecx); in pkey_ecx_keygen()
973 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, key); in s390x_pkey_ecx_keygen25519()
1015 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, key); in s390x_pkey_ecx_keygen448()
1077 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, key); in s390x_pkey_ecd_keygen25519()
1152 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, key); in s390x_pkey_ecd_keygen448()