Lines Matching refs:key_nid

61                           int key_nid, const char *pemname,
80 static PKCS8_PRIV_KEY_INFO *key_to_p8info(const void *key, int key_nid, in key_to_p8info() argument
92 || !PKCS8_pkey_set0(p8info, OBJ_nid2obj(key_nid), 0, in key_to_p8info()
125 static X509_SIG *key_to_encp8(const void *key, int key_nid, in key_to_encp8() argument
130 key_to_p8info(key, key_nid, params, params_type, k2d); in key_to_encp8()
142 static X509_PUBKEY *key_to_pubkey(const void *key, int key_nid, in key_to_pubkey() argument
155 || !X509_PUBKEY_set0_param(xpk, OBJ_nid2obj(key_nid), in key_to_pubkey()
186 int key_nid, in key_to_epki_der_priv_bio() argument
200 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_epki_der_priv_bio()
204 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_der_priv_bio()
214 int key_nid, in key_to_epki_pem_priv_bio() argument
228 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_epki_pem_priv_bio()
232 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_pem_priv_bio()
242 int key_nid, in key_to_pki_der_priv_bio() argument
254 return key_to_epki_der_priv_bio(out, key, key_nid, pemname, in key_to_pki_der_priv_bio()
257 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_pki_der_priv_bio()
261 p8info = key_to_p8info(key, key_nid, str, strtype, k2d); in key_to_pki_der_priv_bio()
274 int key_nid, in key_to_pki_pem_priv_bio() argument
286 return key_to_epki_pem_priv_bio(out, key, key_nid, pemname, in key_to_pki_pem_priv_bio()
289 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_pki_pem_priv_bio()
293 p8info = key_to_p8info(key, key_nid, str, strtype, k2d); in key_to_pki_pem_priv_bio()
306 int key_nid, in key_to_spki_der_pub_bio() argument
317 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_spki_der_pub_bio()
321 xpk = key_to_pubkey(key, key_nid, str, strtype, k2d); in key_to_spki_der_pub_bio()
332 int key_nid, in key_to_spki_pem_pub_bio() argument
343 if (p2s != NULL && !p2s(key, key_nid, ctx->save_parameters, in key_to_spki_pem_pub_bio()
347 xpk = key_to_pubkey(key, key_nid, str, strtype, k2d); in key_to_spki_pem_pub_bio()
372 int key_nid, in key_to_type_specific_der_bio() argument
396 int key_nid, const char *pemname, in key_to_type_specific_pem_bio_cb() argument
408 int key_nid, const char *pemname, in key_to_type_specific_pem_priv_bio() argument
413 return key_to_type_specific_pem_bio_cb(out, key, key_nid, pemname, in key_to_type_specific_pem_priv_bio()
419 int key_nid, const char *pemname, in key_to_type_specific_pem_pub_bio() argument
424 return key_to_type_specific_pem_bio_cb(out, key, key_nid, pemname, in key_to_type_specific_pem_pub_bio()
430 int key_nid, const char *pemname, in key_to_type_specific_pem_param_bio() argument
435 return key_to_type_specific_pem_bio_cb(out, key, key_nid, pemname, in key_to_type_specific_pem_param_bio()