Searched refs:nid (Results 1 - 25 of 167) sorted by relevance

1234567

/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dx509_ext.c71 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) argument
73 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos));
96 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) argument
98 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx);
101 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, argument
104 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags);
117 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) argument
119 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos));
147 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) argument
149 return X509V3_get_d2i(x->cert_info->extensions, nid, cri
152 X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, unsigned long flags) argument
164 X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos) argument
195 X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx) argument
200 X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, unsigned long flags) argument
[all...]
H A Dx509_req.c164 int i, nid; local
166 nid = ext_nids[i];
167 if(nid == NID_undef) return 0;
168 else if (req_nid == nid) return 1;
215 int nid)
233 attr->object = (ASN1_OBJECT*) OBJ_nid2obj(nid);
259 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, argument
262 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos);
297 int nid, int type,
300 if(X509at_add1_attr_by_NID(&req->req_info->attributes, nid,
214 X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, int nid) argument
296 X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len) argument
[all...]
/external/openssl/crypto/x509/
H A Dx509_ext.c74 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) argument
76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos));
99 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) argument
101 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx);
104 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, argument
107 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags);
120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) argument
122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos));
150 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) argument
152 return X509V3_get_d2i(x->cert_info->extensions, nid, cri
155 X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, unsigned long flags) argument
167 X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos) argument
198 X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx) argument
203 X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, unsigned long flags) argument
[all...]
H A Dx509_req.c168 int i, nid; local
170 nid = ext_nids[i];
171 if(nid == NID_undef) return 0;
172 else if (req_nid == nid) return 1;
219 int nid)
237 attr->object = OBJ_nid2obj(nid);
263 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, argument
266 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos);
301 int nid, int type,
304 if(X509at_add1_attr_by_NID(&req->req_info->attributes, nid,
218 X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, int nid) argument
300 X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/obj/
H A Dobj.c121 r->nid = o->nid;
175 unsigned nid = *((unsigned*) element); local
177 const ASN1_OBJECT *b = &kObjects[nid];
193 if (obj->nid != 0) {
194 return obj->nid;
204 return match->nid;
214 return kObjects[*nid_ptr].nid;
231 unsigned nid = *((unsigned*) element); local
233 return strcmp(name, kObjects[nid]
265 unsigned nid = *((unsigned*) element); local
296 int nid; local
304 OBJ_nid2cbb(CBB *out, int nid) argument
318 OBJ_nid2obj(int nid) argument
344 OBJ_nid2sn(int nid) argument
353 OBJ_nid2ln(int nid) argument
363 int nid = NID_undef; local
409 int i, n = 0, len, nid, first, use_bn; local
[all...]
H A Dobj_dat.pl11 $A=$obj_len{$obj{$nid{$a}}};
12 $B=$obj_len{$obj{$nid{$b}}};
17 $A=$obj_der{$obj{$nid{$a}}};
18 $B=$obj_der{$obj{$nid{$b}}};
76 { $nid{$d}=$1; }
87 @a=sort { $a <=> $b } keys %nid;
95 if (!defined($nid{$i}))
101 $sn=defined($sn{$nid{$i}})?"$sn{$nid{$i}}":"NULL";
102 $ln=defined($ln{$nid{
[all...]
/external/f2fs-tools/fsck/
H A Dfsck.c39 u32 nid, u32 link_cnt)
47 node->nid = nid;
59 while (tmp && (nid < tmp->nid)) {
60 ASSERT(tmp->nid != nid);
74 DBG(2, "ino[0x%x] has hard links [0x%x]\n", nid, link_cnt);
78 static int find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) argument
88 while (node && (nid < nod
38 add_into_hard_link_list(struct f2fs_sb_info *sbi, u32 nid, u32 link_cnt) argument
110 is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, u32 blk_addr) argument
175 sanity_check_nid(struct f2fs_sb_info *sbi, u32 nid, struct f2fs_node *node_blk, enum FILE_TYPE ftype, enum NODE_TYPE ntype, struct node_info *ni) argument
296 fsck_chk_node_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, u32 nid, enum FILE_TYPE ftype, enum NODE_TYPE ntype, u32 *blk_cnt) argument
339 fsck_chk_inode_blk(struct f2fs_sb_info *sbi, u32 nid, enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt, struct node_info *ni) argument
518 fsck_chk_dnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, u32 nid, enum FILE_TYPE ftype, struct f2fs_node *node_blk, u32 *blk_cnt, struct node_info *ni) argument
[all...]
H A Ddump.c110 le32_to_cpu(sum_blk.entries[i].nid));
139 u32 nid, u64 *ofs)
160 if (nid == 0) {
165 get_node_info(sbi, nid, &ni);
178 le32_to_cpu(node_blk->in.nid[i]), ofs);
182 le32_to_cpu(node_blk->in.nid[i]), ofs);
189 static void dump_inode_blk(struct f2fs_sb_info *sbi, u32 nid, argument
198 DBG(3, "ino[0x%x] has inline data!\n", nid);
269 void dump_node(struct f2fs_sb_info *sbi, nid_t nid) argument
274 get_node_info(sbi, nid,
138 dump_node_blk(struct f2fs_sb_info *sbi, int ntype, u32 nid, u64 *ofs) argument
303 nid_t ino, nid; local
[all...]
/external/openssl/crypto/engine/
H A Deng_table.c63 /* The 'nid' of this algorithm/mode */
64 int nid; member in struct:st_engine_pile
106 return c->nid;
111 return a->nid - b->nid;
145 tmplate.nid = *nids;
152 fnd->nid = *nids;
238 /* return a functional reference for a given 'nid' */
240 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid) argument
242 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, cons
[all...]
H A Dtb_cipher.c59 * brief debugging summaries to stderr with the 'nid'. */
112 * references) for a given cipher 'nid' */
113 ENGINE *ENGINE_get_cipher_engine(int nid) argument
115 return engine_table_select(&cipher_table, nid);
119 const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid) argument
123 if(!fn || !fn(e, &ret, NULL, nid))
H A Dtb_digest.c59 * brief debugging summaries to stderr with the 'nid'. */
112 * references) for a given digest 'nid' */
113 ENGINE *ENGINE_get_digest_engine(int nid) argument
115 return engine_table_select(&digest_table, nid);
119 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid) argument
123 if(!fn || !fn(e, &ret, NULL, nid))
H A Dtb_pkmeth.c60 * display brief debugging summaries to stderr with the 'nid'. */
113 * references) for a given pkey_meth 'nid' */
114 ENGINE *ENGINE_get_pkey_meth_engine(int nid) argument
116 return engine_table_select(&pkey_meth_table, nid);
120 const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid) argument
124 if(!fn || !fn(e, &ret, NULL, nid))
/external/openssl/crypto/x509v3/
H A Dv3_lib.c97 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) argument
102 if(nid < 0) return NULL;
103 tmp.ext_nid = nid;
114 int nid; local
115 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL;
116 return X509V3_EXT_get_nid(nid);
194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
209 if(OBJ_obj2nid(ex->object) == nid) {
239 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
251 extidx = X509v3_get_ext_by_NID(*x, nid,
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Da_strnid.c121 int inlen, int inform, int nid)
128 tbl = ASN1_STRING_TABLE_get(nid);
182 return (*a)->nid - (*b)->nid;
189 return a->nid - b->nid;
192 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) argument
198 fnd.nid = nid;
208 int ASN1_STRING_TABLE_add(int nid, argument
120 ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid) argument
[all...]
/external/openssl/crypto/asn1/
H A Da_strnid.c124 int inlen, int inform, int nid)
131 tbl = ASN1_STRING_TABLE_get(nid);
185 return (*a)->nid - (*b)->nid;
192 return a->nid - b->nid;
197 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) argument
202 fnd.nid = nid;
212 int ASN1_STRING_TABLE_add(int nid, argument
123 ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid) argument
[all...]
H A Dasn_moid.c113 int nid; local
131 nid = OBJ_create(ostr, name, ln);
133 if (nid == NID_undef)
153 oid = OBJ_nid2obj(nid);
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dobj.h81 * The nid values should not be used outside of a single process: they are not
97 /* OBJ_obj2nid returns the nid corresponding to |obj|, or |NID_undef| if no
101 /* OBJ_cbs2nid returns the nid corresponding to the DER data in |cbs|, or
105 /* OBJ_sn2nid returns the nid corresponding to |short_name|, or |NID_undef| if
109 /* OBJ_ln2nid returns the nid corresponding to |long_name|, or |NID_undef| if
113 /* OBJ_txt2nid returns the nid corresponding to |s|, which may be a short name,
115 * returns the nid or NID_undef if unknown. */
121 /* OBJ_nid2obj returns the ASN1_OBJECT corresponding to |nid|, or NULL if |nid|
123 OPENSSL_EXPORT const ASN1_OBJECT *OBJ_nid2obj(int nid);
[all...]
/external/openssl/crypto/ocsp/
H A Docsp_ext.c81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) argument
83 return(X509v3_get_ext_by_NID(x->tbsRequest->requestExtensions,nid,lastpos));
106 void *OCSP_REQUEST_get1_ext_d2i(OCSP_REQUEST *x, int nid, int *crit, int *idx) argument
108 return X509V3_get_d2i(x->tbsRequest->requestExtensions, nid, crit, idx);
111 int OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value, int crit, argument
114 return X509V3_add1_i2d(&x->tbsRequest->requestExtensions, nid, value, crit, flags);
129 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) argument
131 return(X509v3_get_ext_by_NID(x->singleRequestExtensions,nid,lastpos));
154 void *OCSP_ONEREQ_get1_ext_d2i(OCSP_ONEREQ *x, int nid, int *crit, int *idx) argument
156 return X509V3_get_d2i(x->singleRequestExtensions, nid, cri
159 OCSP_ONEREQ_add1_ext_i2d(OCSP_ONEREQ *x, int nid, void *value, int crit, unsigned long flags) argument
177 OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos) argument
202 OCSP_BASICRESP_get1_ext_d2i(OCSP_BASICRESP *x, int nid, int *crit, int *idx) argument
207 OCSP_BASICRESP_add1_ext_i2d(OCSP_BASICRESP *x, int nid, void *value, int crit, unsigned long flags) argument
225 OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos) argument
250 OCSP_SINGLERESP_get1_ext_d2i(OCSP_SINGLERESP *x, int nid, int *crit, int *idx) argument
255 OCSP_SINGLERESP_add1_ext_i2d(OCSP_SINGLERESP *x, int nid, void *value, int crit, unsigned long flags) argument
455 int nid; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/pem/
H A Dpem_pk8.c69 int nid, const EVP_CIPHER *enc,
73 int nid, const EVP_CIPHER *enc,
79 * is NULL then it uses the unencrypted private key form. The 'nid' versions
83 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, argument
87 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
104 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, argument
108 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u);
111 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, argument
123 if(enc || (nid != -1)) {
136 p8 = PKCS8_encrypt(nid, en
191 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument
198 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument
211 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument
[all...]
/external/openssl/crypto/pem/
H A Dpem_pk8.c70 int nid, const EVP_CIPHER *enc,
74 int nid, const EVP_CIPHER *enc,
80 * is NULL then it uses the unencrypted private key form. The 'nid' versions
84 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, argument
88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
105 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, argument
109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u);
112 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, argument
125 if(enc || (nid != -1)) {
137 p8 = PKCS8_encrypt(nid, en
190 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument
197 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument
210 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument
[all...]
/external/openssl/crypto/objects/
H A Dobj_dat.pl11 $A=$obj_len{$obj{$nid{$a}}};
12 $B=$obj_len{$obj{$nid{$b}}};
17 $A=$obj_der{$obj{$nid{$a}}};
18 $B=$obj_der{$obj{$nid{$b}}};
76 { $nid{$d}=$1; }
87 @a=sort { $a <=> $b } keys %nid;
95 if (!defined($nid{$i}))
101 $sn=defined($sn{$nid{$i}})?"$sn{$nid{$i}}":"NULL";
102 $ln=defined($ln{$nid{
[all...]
H A Dobj_dat.c136 ret=a->nid;
172 return(a->nid-b->nid);
189 a->obj->nid=0;
196 { a->obj->nid++; }
200 if (--a->obj->nid == 0)
216 void check_defer(int nid) argument
218 if (!obj_cleanup_defer && nid >= NUM_NID)
279 return(o->nid);
296 if ((n != NID_undef) && (nid_objs[n].nid
429 int nid = NID_undef; local
468 int i,n=0,len,nid, first, use_bn; local
634 int nid; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_lib.c99 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) argument
105 if(nid < 0) return NULL;
106 tmp.ext_nid = nid;
118 int nid; local
119 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL;
120 return X509V3_EXT_get_nid(nid);
123 int X509V3_EXT_free(int nid, void *ext_data) argument
125 const X509V3_EXT_METHOD *ext_method = X509V3_EXT_get_nid(nid);
219 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
235 if(OBJ_obj2nid(ex->object) == nid) {
[all...]
/external/openssl/crypto/cms/
H A Dcms_att.c68 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, argument
71 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos);
106 int nid, int type,
109 if(X509at_add1_attr_by_NID(&si->signedAttrs, nid,
134 int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, argument
137 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos);
172 int nid, int type,
175 if(X509at_add1_attr_by_NID(&si->unsignedAttrs, nid,
105 CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument
171 CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument
/external/openssl/crypto/evp/
H A Devp_lib.c125 int nid; local
127 nid = EVP_CIPHER_nid(ctx);
129 switch(nid) {
174 otmp = OBJ_nid2obj(nid);
175 if(!otmp || !otmp->data) nid = NID_undef;
177 return nid;
243 return cipher->nid;
248 return ctx->cipher->nid;

Completed in 5437 milliseconds

1234567