Lines Matching refs:X509_PUBKEY
45 static int x509_pubkey_decode(EVP_PKEY **pk, const X509_PUBKEY *key);
47 static int x509_pubkey_set0_libctx(X509_PUBKEY *x, OSSL_LIB_CTX *libctx, in x509_pubkey_set0_libctx()
64 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR),
65 ASN1_SIMPLE(X509_PUBKEY, public_key, ASN1_BIT_STRING)
66 } static_ASN1_SEQUENCE_END_name(X509_PUBKEY, X509_PUBKEY_INTERNAL)
68 X509_PUBKEY *ossl_d2i_X509_PUBKEY_INTERNAL(const unsigned char **pp,
72 X509_PUBKEY *xpub = OPENSSL_zalloc(sizeof(*xpub));
76 return (X509_PUBKEY *)ASN1_item_d2i_ex((ASN1_VALUE **)&xpub, pp, len,
81 void ossl_X509_PUBKEY_INTERNAL_free(X509_PUBKEY *xpub) in ossl_X509_PUBKEY_INTERNAL_free()
88 X509_PUBKEY *pubkey; in x509_pubkey_ex_free()
90 if (pval != NULL && (pubkey = (X509_PUBKEY *)*pval) != NULL) { in x509_pubkey_ex_free()
102 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; in x509_pubkey_ex_populate()
114 X509_PUBKEY *ret; in x509_pubkey_ex_new_ex()
138 X509_PUBKEY *pubkey; in x509_pubkey_ex_d2i_ex()
162 pubkey = (X509_PUBKEY *)*pval; in x509_pubkey_ex_d2i_ex()
264 IMPLEMENT_EXTERN_ASN1(X509_PUBKEY, V_ASN1_SEQUENCE, x509_pubkey_ff) in IMPLEMENT_EXTERN_ASN1() argument
265 IMPLEMENT_ASN1_FUNCTIONS(X509_PUBKEY) in IMPLEMENT_EXTERN_ASN1()
267 X509_PUBKEY *X509_PUBKEY_new_ex(OSSL_LIB_CTX *libctx, const char *propq) in IMPLEMENT_EXTERN_ASN1()
269 X509_PUBKEY *pubkey = NULL; in IMPLEMENT_EXTERN_ASN1()
271 pubkey = (X509_PUBKEY *)ASN1_item_new_ex(X509_PUBKEY_it(), libctx, propq); in IMPLEMENT_EXTERN_ASN1()
283 X509_PUBKEY *X509_PUBKEY_dup(const X509_PUBKEY *a) in X509_PUBKEY_dup()
285 X509_PUBKEY *pubkey = OPENSSL_zalloc(sizeof(*pubkey)); in X509_PUBKEY_dup()
323 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) in X509_PUBKEY_set()
325 X509_PUBKEY *pk = NULL; in X509_PUBKEY_set()
404 static int x509_pubkey_decode(EVP_PKEY **ppkey, const X509_PUBKEY *key) in x509_pubkey_decode()
455 EVP_PKEY *X509_PUBKEY_get0(const X509_PUBKEY *key) in X509_PUBKEY_get0()
471 EVP_PKEY *X509_PUBKEY_get(const X509_PUBKEY *key) in X509_PUBKEY_get()
490 X509_PUBKEY * in d2i_PUBKEY_int()
491 (*d2i_x509_pubkey)(X509_PUBKEY **a, in d2i_PUBKEY_int()
495 X509_PUBKEY *xpk, *xpk2 = NULL, **pxpk = NULL; in d2i_PUBKEY_int()
558 X509_PUBKEY *xpk = NULL; in i2d_PUBKEY()
1010 void X509_PUBKEY_set0_public_key(X509_PUBKEY *pub, in X509_PUBKEY_set0_public_key()
1017 int X509_PUBKEY_set0_param(X509_PUBKEY *pub, ASN1_OBJECT *aobj, in X509_PUBKEY_set0_param()
1030 X509_ALGOR **pa, const X509_PUBKEY *pub) in X509_PUBKEY_get0_param()
1051 int X509_PUBKEY_eq(const X509_PUBKEY *a, const X509_PUBKEY *b) in X509_PUBKEY_eq()
1072 const X509_PUBKEY *key) in ossl_x509_PUBKEY_get0_libctx()