Home
last modified time | relevance | path

Searched refs:ASN1_ITEM (Results 1 – 25 of 79) sorted by relevance

1234

/dragonfly/crypto/libressl/crypto/asn1/
HDx_bignum.c71 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 static void bn_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
76 const ASN1_ITEM *it);
78 int utype, char *free_cont, const ASN1_ITEM *it);
79 static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
93 const ASN1_ITEM BIGNUM_it = {
103 const ASN1_ITEM CBIGNUM_it = {
114 bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_new()
123 bn_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_clear()
[all …]
HDx_long.c73 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
74 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 static void long_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
78 const ASN1_ITEM *it);
80 int utype, char *free_content, const ASN1_ITEM *it);
81 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
95 const ASN1_ITEM LONG_it = {
105 const ASN1_ITEM ZLONG_it = {
128 long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_new()
136 long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free()
[all …]
HDtasn_typ.c64 const ASN1_ITEM ASN1_NULL_it = {
96 const ASN1_ITEM ASN1_UTF8STRING_it = {
128 const ASN1_ITEM ASN1_PRINTABLESTRING_it = {
161 const ASN1_ITEM ASN1_T61STRING_it = {
193 const ASN1_ITEM ASN1_IA5STRING_it = {
225 const ASN1_ITEM ASN1_GENERALSTRING_it = {
258 const ASN1_ITEM ASN1_UTCTIME_it = {
290 const ASN1_ITEM ASN1_GENERALIZEDTIME_it = {
323 const ASN1_ITEM ASN1_VISIBLESTRING_it = {
356 const ASN1_ITEM ASN1_UNIVERSALSTRING_it = {
[all …]
HDx_pubkey.c80 pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in pubkey_cb()
105 const ASN1_ITEM X509_PUBKEY_it = {
248 long len, const ASN1_ITEM *it) in pubkey_ex_d2i()
305 const ASN1_ITEM *it) in pubkey_ex_i2d()
351 pkey_pubkey_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in pkey_pubkey_ex_new()
360 pkey_pubkey_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in pkey_pubkey_ex_free()
368 const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) in pkey_pubkey_ex_d2i()
374 pkey_pubkey_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, in pkey_pubkey_ex_i2d()
390 const ASN1_ITEM EVP_PKEY_PUBKEY_it = {
445 rsa_pubkey_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in rsa_pubkey_ex_new()
[all …]
HDasn1_locl.h65 ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
66 void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
137 int (*item_verify)(EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn,
139 int (*item_sign)(EVP_MD_CTX *ctx, const ASN1_ITEM *it, void *asn,
165 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it);
166 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it);
172 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it);
174 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it);
175 void asn1_enc_cleanup(ASN1_VALUE **pval, const ASN1_ITEM *it);
176 int asn1_enc_save(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it);
[all …]
HDtasn_new.c69 static int asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
70 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new()
86 ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new()
92 asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_ex_new()
183 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_clear()
218 const ASN1_ITEM *it = tt->item; in ASN1_template_new()
266 ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_new()
320 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_primitive_clear()
HDtasn_utl.c80 asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_choice_selector()
91 asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) in asn1_set_choice_selector()
107 asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in asn1_do_lock()
128 asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr()
142 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_enc_init()
164 asn1_enc_cleanup(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_enc_cleanup()
175 asn1_enc_save(ASN1_VALUE **pval, CBS *cbs, const ASN1_ITEM *it) in asn1_enc_save()
202 const ASN1_ITEM *it) in asn1_enc_restore()
HDasn1_item.c129 ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn, in ASN1_item_digest()
149 ASN1_item_dup(const ASN1_ITEM *it, void *x) in ASN1_item_dup()
172 ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
206 ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
218 ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign()
231 ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, in ASN1_item_sign_ctx()
335 ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, in ASN1_item_verify()
575 ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x) in ASN1_item_d2i_bio()
596 ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) in ASN1_item_d2i_fp()
612 ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x) in ASN1_item_i2d_bio()
[all …]
HDx_name.c74 long len, const ASN1_ITEM *it, int tag, int aclass, char opt,
78 const ASN1_ITEM *it, int tag, int aclass);
79 static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it);
80 static void x509_name_ex_free(ASN1_VALUE **val, const ASN1_ITEM *it);
104 const ASN1_ITEM X509_NAME_ENTRY_it = {
157 const ASN1_ITEM X509_NAME_ENTRIES_it = {
175 const ASN1_ITEM X509_NAME_INTERNAL_it = {
201 const ASN1_ITEM X509_NAME_it = {
243 x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it) in x509_name_ex_new()
271 x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free()
[all …]
HDtasn_enc.c70 const ASN1_ITEM *it, int tag, int aclass);
72 int skcontlen, const ASN1_ITEM *item, int do_sort, int iclass);
76 const ASN1_ITEM *it, int flags);
78 const ASN1_ITEM *it);
85 ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_ndef_i2d()
91 ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d()
106 asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it, in asn1_item_flags_i2d()
133 ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, in ASN1_item_ex_i2d()
434 const ASN1_ITEM *item, int do_sort, int iclass) in asn1_set_seq_out()
495 const ASN1_ITEM *it, int tag, int aclass) in asn1_i2d_ex_primitive()
[all …]
HDtasn_fre.c67 static void asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free()
78 ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free()
84 asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_item_free()
188 ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_primitive_free()
/dragonfly/crypto/libressl/crypto/cms/
HDcms_lcl.h395 extern const ASN1_ITEM CMS_ContentInfo_it;
396 extern const ASN1_ITEM CMS_SignerInfo_it;
397 extern const ASN1_ITEM CMS_IssuerAndSerialNumber_it;
398 extern const ASN1_ITEM CMS_Attributes_Sign_it;
399 extern const ASN1_ITEM CMS_Attributes_Verify_it;
400 extern const ASN1_ITEM CMS_RecipientInfo_it;
401 extern const ASN1_ITEM CMS_PasswordRecipientInfo_it;
467 extern const ASN1_ITEM CMS_CertificateChoices_it;
468 extern const ASN1_ITEM CMS_DigestedData_it;
469 extern const ASN1_ITEM CMS_EncryptedData_it;
[all …]
HDcms_asn1.c79 const ASN1_ITEM CMS_IssuerAndSerialNumber_it = {
106 static const ASN1_ITEM CMS_OtherCertificateFormat_it = {
154 const ASN1_ITEM CMS_CertificateChoices_it = {
181 static const ASN1_ITEM CMS_SignerIdentifier_it = {
208 static const ASN1_ITEM CMS_EncapsulatedContentInfo_it = {
220 cms_si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in cms_si_cb()
291 const ASN1_ITEM CMS_SignerInfo_it = {
318 static const ASN1_ITEM CMS_OtherRevocationInfoFormat_it = {
345 const ASN1_ITEM CMS_RevocationInfoChoice_it = {
400 const ASN1_ITEM CMS_SignedData_it = {
[all …]
/dragonfly/crypto/libressl/include/openssl/
HDasn1.h347 typedef const ASN1_ITEM ASN1_ITEM_EXP;
360 extern const ASN1_ITEM name##_it;
482 extern const ASN1_ITEM ASN1_SEQUENCE_ANY_it;
485 extern const ASN1_ITEM ASN1_SET_ANY_it;
540 extern const ASN1_ITEM ASN1_ANY_it;
553 extern const ASN1_ITEM ASN1_OBJECT_it;
577 extern const ASN1_ITEM ASN1_BIT_STRING_it;
596 extern const ASN1_ITEM ASN1_INTEGER_it;
606 extern const ASN1_ITEM ASN1_ENUMERATED_it;
629 extern const ASN1_ITEM ASN1_OCTET_STRING_it;
[all …]
HDasn1t.h82 const ASN1_ITEM itname##_it = {
85 static const ASN1_ITEM itname##_it = {
359 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname…
360 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblnam…
654 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
657 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a…
658 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
659 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
665 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM
666 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
[all …]
HDx509v3.h354 extern const ASN1_ITEM PROXY_POLICY_it;
359 extern const ASN1_ITEM PROXY_CERT_INFO_EXTENSION_it;
516 extern const ASN1_ITEM BASIC_CONSTRAINTS_it;
522 extern const ASN1_ITEM SXNET_it;
527 extern const ASN1_ITEM SXNETID_it;
544 extern const ASN1_ITEM AUTHORITY_KEYID_it;
550 extern const ASN1_ITEM PKEY_USAGE_PERIOD_it;
556 extern const ASN1_ITEM GENERAL_NAME_it;
575 extern const ASN1_ITEM GENERAL_NAMES_it;
586 extern const ASN1_ITEM OTHERNAME_it;
[all …]
HDocsp.h145 extern const ASN1_ITEM OCSP_RESPID_it;
338 extern const ASN1_ITEM OCSP_SINGLERESP_it;
343 extern const ASN1_ITEM OCSP_CERTSTATUS_it;
348 extern const ASN1_ITEM OCSP_REVOKEDINFO_it;
353 extern const ASN1_ITEM OCSP_BASICRESP_it;
358 extern const ASN1_ITEM OCSP_RESPDATA_it;
363 extern const ASN1_ITEM OCSP_RESPID_it;
370 extern const ASN1_ITEM OCSP_RESPONSE_it;
375 extern const ASN1_ITEM OCSP_RESPBYTES_it;
380 extern const ASN1_ITEM OCSP_ONEREQ_it;
[all …]
HDpkcs12.h178 PKCS12_SAFEBAG *PKCS12_item_pack_safebag(void *obj, const ASN1_ITEM *it,
212 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
215 const ASN1_ITEM *it, const char *pass, int passlen, void *obj, int zbuf);
242 extern const ASN1_ITEM PKCS12_it;
247 extern const ASN1_ITEM PKCS12_MAC_DATA_it;
252 extern const ASN1_ITEM PKCS12_SAFEBAG_it;
257 extern const ASN1_ITEM PKCS12_BAGS_it;
259 extern const ASN1_ITEM PKCS12_SAFEBAGS_it;
260 extern const ASN1_ITEM PKCS12_AUTHSAFES_it;
HDx509.h588 extern const ASN1_ITEM X509_ALGOR_it;
591 extern const ASN1_ITEM X509_ALGORS_it;
596 extern const ASN1_ITEM X509_VAL_it;
602 extern const ASN1_ITEM X509_PUBKEY_it;
632 extern const ASN1_ITEM X509_SIG_it;
642 extern const ASN1_ITEM X509_REQ_INFO_it;
647 extern const ASN1_ITEM X509_REQ_it;
653 extern const ASN1_ITEM X509_ATTRIBUTE_it;
660 extern const ASN1_ITEM X509_EXTENSION_it;
663 extern const ASN1_ITEM X509_EXTENSIONS_it;
[all …]
HDpkcs7.h275 extern const ASN1_ITEM PKCS7_ISSUER_AND_SERIAL_it;
291 extern const ASN1_ITEM PKCS7_SIGNER_INFO_it;
296 extern const ASN1_ITEM PKCS7_RECIP_INFO_it;
301 extern const ASN1_ITEM PKCS7_SIGNED_it;
306 extern const ASN1_ITEM PKCS7_ENC_CONTENT_it;
311 extern const ASN1_ITEM PKCS7_ENVELOPE_it;
316 extern const ASN1_ITEM PKCS7_SIGN_ENVELOPE_it;
321 extern const ASN1_ITEM PKCS7_DIGEST_it;
326 extern const ASN1_ITEM PKCS7_ENCRYPT_it;
331 extern const ASN1_ITEM PKCS7_it;
[all …]
/dragonfly/crypto/libressl/crypto/pkcs7/
HDpk7_asn1.c157 pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in pk7_cb()
203 .item = (const ASN1_ITEM *)&PKCS7_adb,
207 const ASN1_ITEM PKCS7_it = {
300 const ASN1_ITEM PKCS7_SIGNED_it = {
338 si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in si_cb()
412 const ASN1_ITEM PKCS7_SIGNER_INFO_it = {
465 const ASN1_ITEM PKCS7_ISSUER_AND_SERIAL_it = {
525 const ASN1_ITEM PKCS7_ENVELOPE_it = {
563 ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in ri_cb()
611 const ASN1_ITEM PKCS7_RECIP_INFO_it = {
[all …]
/dragonfly/crypto/libressl/crypto/ocsp/
HDocsp_asn.c88 const ASN1_ITEM OCSP_SIGNATURE_it = {
155 const ASN1_ITEM OCSP_CERTID_it = {
208 const ASN1_ITEM OCSP_ONEREQ_it = {
275 const ASN1_ITEM OCSP_REQINFO_it = {
328 const ASN1_ITEM OCSP_REQUEST_it = {
394 const ASN1_ITEM OCSP_RESPBYTES_it = {
447 const ASN1_ITEM OCSP_RESPONSE_it = {
512 const ASN1_ITEM OCSP_RESPID_it = {
565 const ASN1_ITEM OCSP_REVOKEDINFO_it = {
625 const ASN1_ITEM OCSP_CERTSTATUS_it = {
[all …]
/dragonfly/crypto/libressl/crypto/gost/
HDgost_asn1.h68 extern const ASN1_ITEM GOST_KEY_INFO_it;
80 extern const ASN1_ITEM GOST_KEY_AGREEMENT_INFO_it;
91 extern const ASN1_ITEM GOST_KEY_TRANSPORT_it;
103 extern const ASN1_ITEM GOST_KEY_PARAMS_it;
/dragonfly/crypto/libressl/crypto/pkcs12/
HDp12_asn.c92 const ASN1_ITEM PKCS12_it = {
152 const ASN1_ITEM PKCS12_MAC_DATA_it = {
254 .item = (const ASN1_ITEM *)&PKCS12_BAGS_adb,
258 const ASN1_ITEM PKCS12_BAGS_it = {
392 .item = (const ASN1_ITEM *)&PKCS12_SAFEBAG_adb,
403 const ASN1_ITEM PKCS12_SAFEBAG_it = {
448 const ASN1_ITEM PKCS12_SAFEBAGS_it = {
467 const ASN1_ITEM PKCS12_AUTHSAFES_it = {
/dragonfly/crypto/libressl/crypto/rsa/
HDrsa_asn1.c70 rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in rsa_cb()
159 const ASN1_ITEM RSAPrivateKey_it = {
195 const ASN1_ITEM RSAPublicKey_it = {
206 rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in rsa_pss_cb()
256 const ASN1_ITEM RSA_PSS_PARAMS_it = {
292 rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) in rsa_oaep_cb()
335 const ASN1_ITEM RSA_OAEP_PARAMS_it = {

1234