Searched refs:p8info (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 88 PKCS8_PRIV_KEY_INFO *p8info = NULL; in key_to_p8info() local 90 if ((p8info = PKCS8_PRIV_KEY_INFO_new()) == NULL in key_to_p8info() 92 || !PKCS8_pkey_set0(p8info, OBJ_nid2obj(key_nid), 0, in key_to_p8info() 95 PKCS8_PRIV_KEY_INFO_free(p8info); in key_to_p8info() 97 p8info = NULL; in key_to_p8info() 100 return p8info; in key_to_p8info() 103 static X509_SIG *p8info_to_encp8(PKCS8_PRIV_KEY_INFO *p8info, in p8info_to_encp8() argument 120 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL); in p8info_to_encp8() 129 PKCS8_PRIV_KEY_INFO *p8info = in key_to_encp8() local 133 if (p8info == NULL) { in key_to_encp8() [all …]
|
/freebsd/crypto/openssl/crypto/store/ |
H A D | store_result.c | 330 PKCS8_PRIV_KEY_INFO *p8info = NULL; in try_key_value_legacy() local 369 p8info = d2i_PKCS8_PRIV_KEY_INFO(NULL, &derp, der_len); in try_key_value_legacy() 371 if (p8info != NULL) { in try_key_value_legacy() 372 pk = EVP_PKCS82PKEY_ex(p8info, libctx, propq); in try_key_value_legacy() 373 PKCS8_PRIV_KEY_INFO_free(p8info); in try_key_value_legacy()
|