/freebsd/crypto/openssl/crypto/asn1/ |
H A D | x_bignum.c | 24 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 25 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 26 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 29 const ASN1_ITEM *it); 31 int utype, char *free_cont, const ASN1_ITEM *it); 33 int utype, char *free_cont, const ASN1_ITEM *it); 34 static int bn_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, 65 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 74 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_secure_new() 83 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free() [all …]
|
H A D | asn1_local.h | 22 const ASN1_ITEM *it; 50 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); 52 const ASN1_ITEM *it); 54 const ASN1_ITEM *it); 64 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); 66 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); 67 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 69 const ASN1_ITEM *it); 71 const ASN1_ITEM *it); 73 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed); [all …]
|
H A D | x_long.c | 21 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 22 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 25 const ASN1_ITEM *it); 27 int utype, char *free_cont, const ASN1_ITEM *it); 28 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, 49 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 55 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free() 86 const ASN1_ITEM *it) in long_i2c() 129 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() 189 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, in long_print()
|
H A D | x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_new() 38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_free() 44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint64_clear() 50 const ASN1_ITEM *it) in uint64_i2c() 74 int utype, char *free_cont, const ASN1_ITEM *it) in uint64_c2i() 114 static int uint64_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, in uint64_print() 124 static int uint32_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_new() 133 static void uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_free() 139 static void uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in uint32_clear() 145 const ASN1_ITEM *it) in uint32_i2c() [all …]
|
H A D | tasn_new.c | 18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 21 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 23 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 27 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 29 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new() 37 ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, in ASN1_item_new_ex() 49 int ossl_asn1_item_ex_new_intern(ASN1_VALUE **pval, const ASN1_ITEM *it, in ossl_asn1_item_ex_new_intern() 55 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new() 60 int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed, in asn1_item_embed_new() 174 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear() [all …]
|
H A D | tasn_utl.c | 29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_get_choice_selector() 37 const ASN1_ITEM *it) in ossl_asn1_get_choice_selector_const() 49 const ASN1_ITEM *it) in ossl_asn1_set_choice_selector() 68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in ossl_asn1_do_lock() 112 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr() 125 const ASN1_ITEM *it) in asn1_get_const_enc_ptr() 137 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_enc_init() 148 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ossl_asn1_enc_free() 161 const ASN1_ITEM *it) in ossl_asn1_enc_save() 183 const ASN1_ITEM *it) in ossl_asn1_enc_restore()
|
H A D | asn1_item_list.c | 27 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name) in ASN1_ITEM_lookup() 32 const ASN1_ITEM *it = ASN1_ITEM_ptr(asn1_item_list[i]); in ASN1_ITEM_lookup() 40 const ASN1_ITEM *ASN1_ITEM_get(size_t i) in ASN1_ITEM_get()
|
H A D | tasn_enc.c | 20 const ASN1_ITEM *it, int tag, int aclass); 23 int skcontlen, const ASN1_ITEM *item, 28 const ASN1_ITEM *it, int flags); 30 const ASN1_ITEM *it); 38 const ASN1_ITEM *it) in ASN1_item_ndef_i2d() 43 int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d() 56 const ASN1_ITEM *it, int flags) in asn1_item_flags_i2d() 84 const ASN1_ITEM *it, int tag, int aclass) in ASN1_item_ex_i2d() 403 int skcontlen, const ASN1_ITEM *item, in asn1_set_seq_out() 469 const ASN1_ITEM *it, int tag, int aclass) in asn1_i2d_ex_primitive() [all …]
|
H A D | tasn_fre.c | 18 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free() 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free() 28 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in ossl_asn1_item_embed_free() 150 void ossl_asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) in ossl_asn1_primitive_free()
|
H A D | a_i2d_fp.c | 71 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x) in ASN1_item_i2d_fp() 87 int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x) in ASN1_item_i2d_bio() 113 BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val) in ASN1_item_i2d_mem_bio()
|
H A D | a_d2i_fp.c | 58 void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *x, in ASN1_item_d2i_bio_ex() 79 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x) in ASN1_item_d2i_bio() 85 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, in ASN1_item_d2i_fp_ex() 101 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) in ASN1_item_d2i_fp()
|
H A D | asn_pack.c | 16 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack() 53 void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | ASN1_ITEM_lookup.pod | 11 const ASN1_ITEM *ASN1_ITEM_lookup(const char *name); 12 const ASN1_ITEM *ASN1_ITEM_get(size_t i); 16 ASN1_ITEM_lookup() returns the B<ASN1_ITEM> named I<name>. 18 ASN1_ITEM_get() returns the B<ASN1_ITEM> with index I<i>. This function 23 ASN1_ITEM_lookup() and ASN1_ITEM_get() return a valid B<ASN1_ITEM> structure
|
H A D | ASN1_item_d2i_bio.pod | 14 long len, const ASN1_ITEM *it, 17 long len, const ASN1_ITEM *it); 19 void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *x, 21 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x); 23 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, 25 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); 27 BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
|
H A D | ASN1_EXTERN_FUNCS.pod | 15 const ASN1_ITEM *it, int tag, int aclass, char opt, 18 const ASN1_ITEM *it, int tag, int aclass, char opt, 22 const ASN1_ITEM *it, int tag, int aclass); 23 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 typedef int ASN1_ex_new_ex_func(ASN1_VALUE **pval, const ASN1_ITEM *it, 26 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 72 pointer to the B<ASN1_ITEM> template object created via the 81 pointer to the B<ASN1_ITEM> template object created via the 88 to the B<ASN1_ITEM> template object created via the IMPLEMENT_EXTERN_ASN1() 100 it will be zero. The I<it> parameter is a pointer to the B<ASN1_ITEM> template
|
H A D | PKCS12_item_decrypt_d2i.pod | 13 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, 16 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, 22 const ASN1_ITEM *it, 26 const ASN1_ITEM *it,
|
H A D | ASN1_item_new.pod | 12 ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, 14 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it); 19 B<ASN1_ITEM> template given in the I<it> parameter. If any algorithm fetches are
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | asn1.h.in | 326 * The following macros and typedefs allow an ASN1_ITEM 328 * the ASN1_ITEM pointers need to be globally accessible 331 * ASN1_ITEM structure itself will be globally exported. 333 * an ASN1_ITEM pointer. 336 * should be used instead of hard coding an ASN1_ITEM 353 * const ASN1_ITEM *it = ASN1_ITEM_ptr(somevar.iptr); 355 * Finally an ASN1_ITEM pointer can be extracted from an 357 * would be used when a function takes an ASN1_ITEM * argument. 364 * functions returning ASN1_ITEM pointers. 367 /* ASN1_ITEM pointer exported type */ [all …]
|
H A D | asn1t.h | 94 const ASN1_ITEM * itname##_it(void) \ 96 static const ASN1_ITEM local_it = { 462 static const ASN1_ITEM *name##_adb(void) \ 474 return (const ASN1_ITEM *) &internal_adb; \ 630 const ASN1_ITEM *it, int tag, int aclass, char opt, 634 const ASN1_ITEM *it, int tag, int aclass, char opt, 638 const ASN1_ITEM *it, int tag, int aclass); 639 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 640 typedef int ASN1_ex_new_ex_func(ASN1_VALUE **pval, const ASN1_ITEM *it, 642 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); [all …]
|
H A D | asn1.h | 415 typedef const ASN1_ITEM *ASN1_ITEM_EXP (void); 426 attr const ASN1_ITEM * name##_it(void); 628 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t); 629 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t); 911 void *ASN1_item_dup(const ASN1_ITEM *it, const void *x); 912 int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, 917 int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg, 937 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, 939 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); 947 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x); [all …]
|
H A D | asn1t.h.in | 42 * ASN1_ITEM structure and determine how it is interpreted. 92 /* Macros for start and end of ASN1_ITEM definition */ 95 const ASN1_ITEM * itname##_it(void) \ 97 static const ASN1_ITEM local_it = { 144 * This will produce an ASN1_ITEM called stname_it 288 * This will produce an ASN1_ITEM called chname_it 355 /* This helps with the template wrapper form of ASN1_ITEM */ 463 static const ASN1_ITEM *name##_adb(void) \ 475 return (const ASN1_ITEM *) &internal_adb; \ 495 ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */ [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x_name.c | 28 const ASN1_ITEM *it, 32 const ASN1_ITEM *it, int tag, int aclass); 33 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it); 34 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it); 90 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in IMPLEMENT_EXTERN_ASN1() 113 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free() 140 const ASN1_ITEM *it, int tag, int aclass, in x509_name_ex_d2i() 212 const ASN1_ITEM *it, int tag, int aclass) in x509_name_ex_i2d()
|
/freebsd/crypto/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 129 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i_ex() 158 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, in PKCS12_item_decrypt_d2i() 172 const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt_ex() 207 const ASN1_ITEM *it, in PKCS12_item_i2d_encrypt()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 28 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rsa_cb() 77 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 98 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
|
/freebsd/crypto/openssl/apps/include/ |
H A D | http_server.h | 86 int http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq, 104 const ASN1_ITEM *it, const ASN1_VALUE *resp);
|