Searched refs:xpk (Results 1 – 6 of 6) sorted by relevance
/openssl/crypto/x509/ |
H A D | x_pubkey.c | 495 X509_PUBKEY *xpk, *xpk2 = NULL, **pxpk = NULL; in d2i_PUBKEY_int() local 515 xpk = d2i_x509_pubkey(pxpk, &q, length); in d2i_PUBKEY_int() 516 if (xpk == NULL) in d2i_PUBKEY_int() 518 pktmp = X509_PUBKEY_get(xpk); in d2i_PUBKEY_int() 519 X509_PUBKEY_free(xpk); in d2i_PUBKEY_int() 558 X509_PUBKEY *xpk = NULL; in i2d_PUBKEY() local 560 if ((xpk = X509_PUBKEY_new()) == NULL) in i2d_PUBKEY() 565 xpk->pkey = (EVP_PKEY *)a; in i2d_PUBKEY() 566 ret = i2d_X509_PUBKEY(xpk, pp); in i2d_PUBKEY() 567 xpk->pkey = NULL; in i2d_PUBKEY() [all …]
|
H A D | x_all.c | 674 X509_PUBKEY *d2i_X509_PUBKEY_fp(FILE *fp, X509_PUBKEY **xpk) in d2i_X509_PUBKEY_fp() argument 677 fp, xpk); in d2i_X509_PUBKEY_fp() 680 int i2d_X509_PUBKEY_fp(FILE *fp, const X509_PUBKEY *xpk) in i2d_X509_PUBKEY_fp() argument 682 return ASN1_i2d_fp_of(X509_PUBKEY, i2d_X509_PUBKEY, fp, xpk); in i2d_X509_PUBKEY_fp() 686 X509_PUBKEY *d2i_X509_PUBKEY_bio(BIO *bp, X509_PUBKEY **xpk) in d2i_X509_PUBKEY_bio() argument 689 bp, xpk); in d2i_X509_PUBKEY_bio() 692 int i2d_X509_PUBKEY_bio(BIO *bp, const X509_PUBKEY *xpk) in i2d_X509_PUBKEY_bio() argument 694 return ASN1_i2d_bio_of(X509_PUBKEY, i2d_X509_PUBKEY, bp, xpk); in i2d_X509_PUBKEY_bio()
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 150 X509_PUBKEY *xpk = NULL; in key_to_pubkey() local 153 if ((xpk = X509_PUBKEY_new()) == NULL in key_to_pubkey() 158 X509_PUBKEY_free(xpk); in key_to_pubkey() 160 xpk = NULL; in key_to_pubkey() 163 return xpk; in key_to_pubkey() 315 X509_PUBKEY *xpk = NULL; in key_to_spki_der_pub_bio() local 323 if (xpk != NULL) in key_to_spki_der_pub_bio() 327 X509_PUBKEY_free(xpk); in key_to_spki_der_pub_bio() 341 X509_PUBKEY *xpk = NULL; in key_to_spki_pem_pub_bio() local 349 if (xpk != NULL) in key_to_spki_pem_pub_bio() [all …]
|
/openssl/test/ |
H A D | tls-provider.c | 1264 if (!xpk || (!X509_PUBKEY_get0_param(NULL, &p, &plen, &palg, xpk))) { in xor_key_from_x509pubkey() 1420 X509_PUBKEY *xpk = NULL; in xorx_key_to_pubkey() local 1430 xpk = NULL; in xorx_key_to_pubkey() 1433 return xpk; in xorx_key_to_pubkey() 1583 X509_PUBKEY *xpk = NULL; in key_to_spki_der_pub_bio() local 1593 if (xpk != NULL) in key_to_spki_der_pub_bio() 1596 X509_PUBKEY_free(xpk); in key_to_spki_der_pub_bio() 1618 if (xpk != NULL) in key_to_spki_pem_pub_bio() 1624 X509_PUBKEY_free(xpk); in key_to_spki_pem_pub_bio() 2244 X509_PUBKEY *xpk; in xor_d2i_PUBKEY() local [all …]
|
/openssl/ssl/statem/ |
H A D | statem_lib.c | 1310 X509_PUBKEY *xpk = NULL; in tls_output_rpk() local 1317 xpk = X509_get_X509_PUBKEY(cpk->x509); in tls_output_rpk() 1318 if (xpk == NULL) { in tls_output_rpk() 1322 pdata_len = i2d_X509_PUBKEY(xpk, &pdata); in tls_output_rpk()
|
/openssl/include/openssl/ |
H A D | x509.h.in | 417 X509_PUBKEY *d2i_X509_PUBKEY_fp(FILE *fp, X509_PUBKEY **xpk); 418 int i2d_X509_PUBKEY_fp(FILE *fp, const X509_PUBKEY *xpk); 467 X509_PUBKEY *d2i_X509_PUBKEY_bio(BIO *bp, X509_PUBKEY **xpk); 468 int i2d_X509_PUBKEY_bio(BIO *bp, const X509_PUBKEY *xpk);
|
Completed in 54 milliseconds