Lines Matching refs:id
156 int id, ecx_key_op_t op, in ossl_ecx_key_op() argument
172 if (id == EVP_PKEY_NONE) in ossl_ecx_key_op()
173 id = OBJ_obj2nid(palg->algorithm); in ossl_ecx_key_op()
174 else if (id != OBJ_obj2nid(palg->algorithm)) { in ossl_ecx_key_op()
180 if (p == NULL || id == EVP_PKEY_NONE || plen != KEYLENID(id)) { in ossl_ecx_key_op()
186 key = ossl_ecx_key_new(libctx, KEYNID2TYPE(id), 1, propq); in ossl_ecx_key_op()
202 if (id != EVP_PKEY_NONE) { in ossl_ecx_key_op()
203 if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id), 0) <= 0) in ossl_ecx_key_op()
205 if (id == EVP_PKEY_X25519) { in ossl_ecx_key_op()
209 } else if (id == EVP_PKEY_X448) { in ossl_ecx_key_op()
215 memcpy(privkey, p, KEYLENID(id)); in ossl_ecx_key_op()