/dflybsd-src/crypto/libressl/crypto/objects/ |
H A D | obj_dat.c | 78 static int sn_cmp(const ASN1_OBJECT * const *, unsigned int const *); 79 static unsigned int *OBJ_bsearch_sn(const ASN1_OBJECT * *key, unsigned int const *base, int num); 81 static int ln_cmp(const ASN1_OBJECT * const *, unsigned int const *); 82 static unsigned int *OBJ_bsearch_ln(const ASN1_OBJECT * *key, unsigned int const *base, int num); 84 static int obj_cmp(const ASN1_OBJECT * const *, unsigned int const *); 85 static unsigned int *OBJ_bsearch_obj(const ASN1_OBJECT * *key, unsigned int const *base, int num); 94 ASN1_OBJECT *obj; 101 static int sn_cmp(const ASN1_OBJECT * const *a, const unsigned int *b) in sn_cmp() 110 const ASN1_OBJECT * const *a = a_; in sn_cmp_BSEARCH_CMP_FN() 116 OBJ_bsearch_sn(const ASN1_OBJECT * *key, unsigned int const *base, int num) in OBJ_bsearch_sn() [all …]
|
H A D | obj_lib.c | 69 ASN1_OBJECT * 70 OBJ_dup(const ASN1_OBJECT *o) in OBJ_dup() 72 ASN1_OBJECT *r; in OBJ_dup() 79 return((ASN1_OBJECT *)o); /* XXX: ugh! Why? What kind of in OBJ_dup() 124 OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) in OBJ_cmp()
|
/dflybsd-src/crypto/libressl/crypto/asn1/ |
H A D | a_object.c | 77 ASN1_OBJECT * 80 ASN1_OBJECT *a; in ASN1_OBJECT_new() 82 if ((a = calloc(1, sizeof(ASN1_OBJECT))) == NULL) { in ASN1_OBJECT_new() 92 ASN1_OBJECT_free(ASN1_OBJECT *a) in ASN1_OBJECT_free() 110 ASN1_OBJECT * 114 ASN1_OBJECT o; in ASN1_OBJECT_create() 372 i2t_ASN1_OBJECT_oid(const ASN1_OBJECT *aobj, CBB *cbb) in i2t_ASN1_OBJECT_oid() 382 i2t_ASN1_OBJECT_name(const ASN1_OBJECT *aobj, CBB *cbb, const char **out_name) in i2t_ASN1_OBJECT_name() 410 i2t_ASN1_OBJECT_cbb(const ASN1_OBJECT *aobj, CBB *cbb, int no_name) in i2t_ASN1_OBJECT_cbb() 424 i2t_ASN1_OBJECT_internal(const ASN1_OBJECT *aobj, char *buf, int buf_len, int no_name) in i2t_ASN1_OBJECT_internal() [all …]
|
H A D | asn1_locl.h | 221 int c2i_ASN1_OBJECT_cbs(ASN1_OBJECT **out_aobj, CBS *content); 222 int i2t_ASN1_OBJECT_internal(const ASN1_OBJECT *aobj, char *buf, int buf_len, 224 ASN1_OBJECT *t2i_ASN1_OBJECT_internal(const char *oid); 228 ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp,
|
H A D | x_x509a.c | 215 X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object() 218 ASN1_OBJECT *objtmp; in X509_add1_trust_object() 237 X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object() 240 ASN1_OBJECT *objtmp; in X509_add1_reject_object()
|
/dflybsd-src/crypto/libressl/crypto/x509/ |
H A D | pcy_int.h | 76 ASN1_OBJECT *valid_policy; 78 STACK_OF(ASN1_OBJECT) *expected_policy_set; 179 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *id, 184 const ASN1_OBJECT *id); 195 const X509_POLICY_NODE *parent, const ASN1_OBJECT *id); 198 const ASN1_OBJECT *id); 205 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid);
|
H A D | x509name.c | 74 ASN1_OBJECT *obj; in X509_NAME_get_text_by_NID() 83 X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, char *buf, in X509_NAME_get_text_by_OBJ() 114 ASN1_OBJECT *obj; in X509_NAME_get_index_by_NID() 124 X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ() 194 X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ() 300 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_txt() 318 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_NID() 332 X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, const ASN1_OBJECT *obj, in X509_NAME_ENTRY_create_by_OBJ() 359 X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj) in X509_NAME_ENTRY_set_object() 395 ASN1_OBJECT *
|
H A D | x509_att.c | 80 ASN1_OBJECT *obj; in X509at_get_attr_by_NID() 90 const ASN1_OBJECT *obj, int lastpos) in X509at_get_attr_by_OBJ() 165 X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE) **x, const ASN1_OBJECT *obj, in STACK_OF() 210 X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x, const ASN1_OBJECT *obj, in X509at_get0_data_by_OBJ() 231 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_NID() 246 X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, in X509_ATTRIBUTE_create_by_OBJ() 278 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_txt() 293 X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) in X509_ATTRIBUTE_set1_object() 364 ASN1_OBJECT *
|
H A D | pcy_node.c | 78 tree_find_sk(STACK_OF(X509_POLICY_NODE) *nodes, const ASN1_OBJECT *id) in tree_find_sk() 84 n.valid_policy = (ASN1_OBJECT *)id; in tree_find_sk() 96 const ASN1_OBJECT *id) in level_find_node() 181 const ASN1_OBJECT *oid) in policy_node_match() 184 ASN1_OBJECT *policy_oid; in policy_node_match()
|
H A D | x509_v3.c | 82 ASN1_OBJECT *obj; in X509v3_get_ext_by_NID() 92 const ASN1_OBJECT *obj, int lastpos) in X509v3_get_ext_by_OBJ() 199 ASN1_OBJECT *obj; in X509_EXTENSION_create_by_NID() 214 X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, const ASN1_OBJECT *obj, in X509_EXTENSION_create_by_OBJ() 245 X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj) in X509_EXTENSION_set_object() 276 ASN1_OBJECT *
|
H A D | x509_lcl.h | 84 ASN1_OBJECT *object; 105 ASN1_OBJECT *object; 111 ASN1_OBJECT *object; 137 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ 138 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */ 276 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */
|
H A D | pcy_tree.c | 82 STACK_OF(ASN1_OBJECT) *pset = node->data->expected_policy_set; in expected_print() 83 ASN1_OBJECT *oid; in expected_print() 342 const ASN1_OBJECT *id, X509_POLICY_NODE *node, X509_POLICY_TREE *tree) in tree_add_unmatched() 383 STACK_OF(ASN1_OBJECT) *expset = node->data->expected_policy_set; in tree_link_unmatched() 388 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(expset, i); in tree_link_unmatched() 546 STACK_OF(ASN1_OBJECT) *policy_oids, STACK_OF(X509_POLICY_NODE) *auth_nodes) in tree_calculate_user_set() 550 ASN1_OBJECT *oid; in tree_calculate_user_set() 671 STACK_OF(X509) *certs, STACK_OF(ASN1_OBJECT) *policy_oids, in X509_policy_check()
|
/dflybsd-src/crypto/libressl/crypto/cms/ |
H A D | cms_att.c | 77 CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, in CMS_signed_get_attr_by_OBJ() 104 CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, in CMS_signed_add1_attr_by_OBJ() 131 CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid, in CMS_signed_get0_data_by_OBJ() 150 CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, in CMS_unsigned_get_attr_by_OBJ() 177 CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, in CMS_unsigned_add1_attr_by_OBJ() 205 CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, in CMS_unsigned_get0_data_by_OBJ()
|
H A D | cms_lcl.h | 93 ASN1_OBJECT *contentType; 120 ASN1_OBJECT *eContentType; 164 ASN1_OBJECT *contentType; 276 ASN1_OBJECT *oriType; 324 ASN1_OBJECT *otherRevInfoFormat; 346 ASN1_OBJECT *otherCertFormat; 361 ASN1_OBJECT *keyAttrId; 386 ASN1_OBJECT *contentType;
|
H A D | cms_lib.c | 98 const ASN1_OBJECT * 280 static ASN1_OBJECT ** 308 const ASN1_OBJECT * 311 ASN1_OBJECT **petype; in CMS_get0_eContentType() 321 CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid) in CMS_set1_eContentType() 323 ASN1_OBJECT **petype, *etype; in CMS_set1_eContentType() 386 const ASN1_OBJECT *digestoid; in cms_DigestAlgorithm_init_bio() 414 const ASN1_OBJECT *mdoid; in cms_DigestAlgorithm_find_ctx()
|
/dflybsd-src/crypto/libressl/include/openssl/ |
H A D | x509.h | 144 ASN1_OBJECT *algorithm; 358 ASN1_OBJECT *type; 557 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval); 558 void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, const void **ppval, 715 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj); 716 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj); 829 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, 835 const ASN1_OBJECT *obj, int type, 907 const ASN1_OBJECT *obj, char *buf,int len); 914 const ASN1_OBJECT *obj, int lastpos); [all …]
|
H A D | objects.h | 1002 ASN1_OBJECT * OBJ_dup(const ASN1_OBJECT *o); 1003 ASN1_OBJECT * OBJ_nid2obj(int n); 1006 int OBJ_obj2nid(const ASN1_OBJECT *o); 1007 ASN1_OBJECT * OBJ_txt2obj(const char *s, int no_name); 1008 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); 1012 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); 1023 int OBJ_add_object(const ASN1_OBJECT *obj); 1028 size_t OBJ_length(const ASN1_OBJECT *obj); 1029 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
|
H A D | cms.h | 129 const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms); 217 ASN1_GENERALIZEDTIME *date, ASN1_OBJECT *otherTypeId, ASN1_TYPE *otherType); 221 ASN1_OBJECT **potherid, ASN1_TYPE **pothertype); 243 int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid); 244 const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms); 283 int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, 288 int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, 294 void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid, 301 const ASN1_OBJECT *obj, int lastpos); 306 const ASN1_OBJECT *obj, int type, const void *bytes, int len); [all …]
|
H A D | ts.h | 233 int TS_REQ_set_policy_id(TS_REQ *a, const ASN1_OBJECT *policy); 234 ASN1_OBJECT *TS_REQ_get_policy_id(TS_REQ *a); 246 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos); 276 int TS_TST_INFO_set_policy_id(TS_TST_INFO *a, ASN1_OBJECT *policy_id); 277 ASN1_OBJECT *TS_TST_INFO_get_policy_id(TS_TST_INFO *a); 313 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj, 371 int TS_RESP_CTX_set_def_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *def_policy); 378 int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy); 532 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj);
|
/dflybsd-src/crypto/libressl/crypto/ts/ |
H A D | ts_local.h | 90 ASN1_OBJECT *policy_id; /* OPTIONAL */ 131 ASN1_OBJECT *policy_id; 240 STACK_OF(ASN1_OBJECT) *policies; /* Acceptable policies. */ 241 ASN1_OBJECT *default_policy; /* It may appear in policies, too. */ 277 ASN1_OBJECT *policy;
|
H A D | ts_req_utils.c | 139 TS_REQ_set_policy_id(TS_REQ *a, const ASN1_OBJECT *policy) in TS_REQ_set_policy_id() 141 ASN1_OBJECT *new_policy; in TS_REQ_set_policy_id() 155 ASN1_OBJECT * 224 TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos) in TS_REQ_get_ext_by_OBJ()
|
H A D | ts_rsp_sign.c | 81 static ASN1_OBJECT *TS_RESP_get_policy(TS_RESP_CTX *ctx); 83 ASN1_OBJECT *policy); 215 TS_RESP_CTX_set_def_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *def_policy) in TS_RESP_CTX_set_def_policy() 252 TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy) in TS_RESP_CTX_add_policy() 254 ASN1_OBJECT *copy = NULL; in TS_RESP_CTX_add_policy() 426 ASN1_OBJECT *policy; in TS_RESP_create_response() 572 static ASN1_OBJECT * 575 ASN1_OBJECT *requested = TS_REQ_get_policy_id(ctx->request); in TS_RESP_get_policy() 576 ASN1_OBJECT *policy = NULL; in TS_RESP_get_policy() 590 ASN1_OBJECT *current = sk_ASN1_OBJECT_value(ctx->policies, i); in TS_RESP_get_policy() [all …]
|
/dflybsd-src/crypto/libressl/crypto/gost/ |
H A D | gost_asn1.h | 71 ASN1_OBJECT *cipher; 94 ASN1_OBJECT *key_params; 95 ASN1_OBJECT *hash_params; 96 ASN1_OBJECT *cipher_params;
|
/dflybsd-src/crypto/libressl/crypto/evp/ |
H A D | evp_pkey.c | 74 const ASN1_OBJECT *algoid; in EVP_PKCS82PKEY() 157 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ() 184 EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, in EVP_PKEY_add1_attr_by_OBJ()
|
/dflybsd-src/crypto/libressl/crypto/ocsp/ |
H A D | ocsp_ext.c | 94 OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, const ASN1_OBJECT *obj, in OCSP_REQUEST_get_ext_by_OBJ() 156 OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, const ASN1_OBJECT *obj, int lastpos) in OCSP_ONEREQ_get_ext_by_OBJ() 216 OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, const ASN1_OBJECT *obj, in OCSP_BASICRESP_get_ext_by_OBJ() 279 OCSP_SINGLERESP_get_ext_by_OBJ(OCSP_SINGLERESP *x, const ASN1_OBJECT *obj, in OCSP_SINGLERESP_get_ext_by_OBJ() 481 STACK_OF(ASN1_OBJECT) *sk = NULL; in OCSP_accept_responses_new() 482 ASN1_OBJECT *o = NULL; in OCSP_accept_responses_new()
|