Lines Matching refs:key_nid

1331                           int key_nid, const char *pemname,
1350 static PKCS8_PRIV_KEY_INFO *key_to_p8info(const void *key, int key_nid, in key_to_p8info() argument
1362 || !PKCS8_pkey_set0(p8info, OBJ_nid2obj(key_nid), 0, in key_to_p8info()
1395 static X509_SIG *key_to_encp8(const void *key, int key_nid, in key_to_encp8() argument
1400 key_to_p8info(key, key_nid, params, params_type, k2d); in key_to_encp8()
1412 static X509_PUBKEY *xorx_key_to_pubkey(const void *key, int key_nid, in xorx_key_to_pubkey() argument
1424 || !X509_PUBKEY_set0_param(xpk, OBJ_nid2obj(key_nid), in xorx_key_to_pubkey()
1456 int key_nid, in key_to_epki_der_priv_bio() argument
1470 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_epki_der_priv_bio()
1474 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_der_priv_bio()
1484 int key_nid, in key_to_epki_pem_priv_bio() argument
1498 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_epki_pem_priv_bio()
1502 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_pem_priv_bio()
1512 int key_nid, in key_to_pki_der_priv_bio() argument
1524 return key_to_epki_der_priv_bio(out, key, key_nid, pemname, in key_to_pki_der_priv_bio()
1527 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_pki_der_priv_bio()
1531 p8info = key_to_p8info(key, key_nid, str, strtype, k2d); in key_to_pki_der_priv_bio()
1544 int key_nid, in key_to_pki_pem_priv_bio() argument
1556 return key_to_epki_pem_priv_bio(out, key, key_nid, pemname, in key_to_pki_pem_priv_bio()
1559 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_pki_pem_priv_bio()
1563 p8info = key_to_p8info(key, key_nid, str, strtype, k2d); in key_to_pki_pem_priv_bio()
1576 int key_nid, in key_to_spki_der_pub_bio() argument
1587 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_spki_der_pub_bio()
1591 xpk = xorx_key_to_pubkey(key, key_nid, str, strtype, k2d); in key_to_spki_der_pub_bio()
1601 int key_nid, in key_to_spki_pem_pub_bio() argument
1612 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_spki_pem_pub_bio()
1616 xpk = xorx_key_to_pubkey(key, key_nid, str, strtype, k2d); in key_to_spki_pem_pub_bio()