/external/openssl/crypto/asn1/ |
asn_moid.c | 113 int nid; local 131 nid = OBJ_create(ostr, name, ln); 133 if (nid == NID_undef) 153 oid = OBJ_nid2obj(nid);
|
/external/openssl/crypto/ocsp/ |
ocsp_lib.c | 104 int nid; local 114 if ((nid = EVP_MD_type(dgst)) == NID_undef) 119 if (!(alg->algorithm=OBJ_nid2obj(nid))) goto err;
|
ocsp_ext.c | 81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) 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) 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, 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) 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) 156 return X509V3_get_d2i(x->singleRequestExtensions, nid, crit, idx) 455 int nid; local [all...] |
/external/openssl/crypto/ec/ |
ec_pmeth.c | 253 int nid; local 254 nid = OBJ_sn2nid(value); 255 if (nid == NID_undef) 256 nid = OBJ_ln2nid(value); 257 if (nid == NID_undef) 262 return EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid);
|
eck_prn.c | 179 int nid; local 184 nid = EC_GROUP_get_curve_name(x); 185 if (nid == 0) 188 if (BIO_printf(bp, "ASN1 OID: %s", OBJ_nid2sn(nid)) <= 0)
|
ec_ameth.c | 71 int nid; local 78 && (nid = EC_GROUP_get_curve_name(group))) 81 *ppval = OBJ_nid2obj(nid);
|
ectest.c | 1267 int nid = curves[n].nid; local [all...] |
ec_asn1.c | 301 int ok=0, nid; local 313 nid = EC_METHOD_get_field_type(EC_GROUP_method_of(group)); 315 if ((field->fieldType = OBJ_nid2obj(nid)) == NULL) 321 if (nid == NID_X9_62_prime_field) 342 else /* nid == NID_X9_62_characteristic_two_field */ 432 int ok=0, nid; local 448 nid = EC_METHOD_get_field_type(EC_GROUP_method_of(group)); 451 if (nid == NID_X9_62_prime_field) 459 else /* nid == NID_X9_62_characteristic_two_field */ 720 /* we don't kmow the nid => ERROR * [all...] |
ec_curve.c | 1821 int nid; member in struct:_ec_list_element_st [all...] |
/external/openssl/crypto/x509v3/ |
v3_lib.c | 97 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) 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); 179 /* Get critical flag and decoded version of extension from a NID. 181 * be used to retrieve multiple extensions of the same NID. 182 * However multiple extensions with the same NID is usually 194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx [all...] |
/external/libpcap/ |
grammar.y | 154 %type <blk> expr id nid pid term rterm qid 228 id: nid 233 nid: ID { $$.b = gen_scode($1, $$.q = $<blk>0.q); } label 285 pid: nid
|
/external/openssl/crypto/ecdsa/ |
ecdsatest.c | 102 int x9_62_test_internal(BIO *out, int nid, const char *r, const char *s); 182 int x9_62_test_internal(BIO *out, int nid, const char *r_in, const char *s_in) 199 BIO_printf(out, "testing %s: ", OBJ_nid2sn(nid)); 201 if ((key = EC_KEY_new_by_curve_name(nid)) == NULL) 293 int nid, ret = 0; local 330 nid = curves[n].nid; 331 if (nid == NID_ipsec4) 336 group = EC_GROUP_new_by_curve_name(nid); 349 BIO_printf(out, "%s: ", OBJ_nid2sn(nid)); [all...] |
/external/openssl/crypto/engine/ |
eng_table.c | 63 /* 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) 242 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l [all...] |
eng_cryptodev.c | 104 const int **nids, int nid); 106 const int **nids, int nid); 142 int nid; member in struct:__anon5553 161 int nid; member in struct:__anon5554 246 if (ciphers[i].nid == NID_undef) 253 nids[count++] = ciphers[i].nid; 285 if (digests[i].nid == NID_undef) 292 nids[count++] = digests[i].nid; 417 if (ctx->cipher->nid == ciphers[i].nid & [all...] |
/external/openssl/crypto/evp/ |
evp_lib.c | 118 /* Convert the various cipher NIDs and dummies to a proper OID NID */ 121 int nid; local 123 nid = EVP_CIPHER_nid(ctx); 125 switch(nid) { 170 otmp = OBJ_nid2obj(nid); 171 if(!otmp || !otmp->data) nid = NID_undef; 173 return nid; 239 return cipher->nid; 244 return ctx->cipher->nid;
|
/external/openssl/crypto/pkcs7/ |
pk7_lib.c | 67 int nid; local 70 nid=OBJ_obj2nid(p7->type); 75 if (nid == NID_pkcs7_signed) 93 if (nid == NID_pkcs7_signed) 238 int i,j,nid; local 259 nid=OBJ_obj2nid(psi->digest_alg->algorithm); 266 if (OBJ_obj2nid(alg->algorithm) == nid) 281 alg->algorithm=OBJ_nid2obj(nid);
|
pk7_doit.c | 67 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, 69 static ASN1_TYPE *get_attribute(STACK_OF(X509_ATTRIBUTE) *sk, int nid); 75 int nid=OBJ_obj2nid(p7->type); local 77 switch( nid ) 642 static BIO *PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) 658 if (EVP_MD_CTX_type(*pmd) == nid) 1115 ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid) 1117 return(get_attribute(si->auth_attr,nid)); 1120 ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid) 1122 return(get_attribute(si->unauth_attr,nid)); [all...] |
/external/openssl/crypto/x509/ |
x509_req.c | 168 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, 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, [all...] |
/external/openssl/apps/ |
ecparam.c | 371 sname = OBJ_nid2sn(curves[n].nid); 388 int nid; local 398 nid = NID_X9_62_prime192v1; 404 nid = NID_X9_62_prime256v1; 407 nid = OBJ_sn2nid(curve_name); 409 if (nid == 0) 416 group = EC_GROUP_new_by_curve_name(nid);
|
/external/wpa_supplicant/ |
ctrl_iface_dbus_handlers.c | 1067 int nid; local 1092 nid = strtoul(network, NULL, 10); 1098 ssid = wpa_config_get_network(wpa_s->conf, nid); 1113 ssid->disabled = (nid != ssid->id); [all...] |
ctrl_iface_dbus.c | 518 int nid = strtoul(network, NULL, 10); local 521 nid);
|
/external/openssl/crypto/objects/ |
obj_dat.c | 136 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) 218 if (!obj_cleanup_defer && nid >= NUM_NID) 279 return(o->nid); 296 if ((n != NID_undef) && (nid_objs[n].nid == NID_undef) 429 int nid = NID_undef; local 468 int i,n=0,len,nid, first, use_bn; local 631 int nid; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
ctrl_iface_dbus_handlers.c | 1125 int nid; local 1150 nid = strtoul(network, NULL, 10); 1156 ssid = wpa_config_get_network(wpa_s->conf, nid); [all...] |
/system/core/sdcard/ |
sdcard.c | 89 __u64 nid; member in struct:node 187 attr->ino = node->nid; 192 struct node *node_create(struct node *parent, const char *name, __u64 nid, __u64 gen) 202 node->nid = nid; 222 fuse->root.nid = FUSE_ROOT_ID; /* 1 */ 234 static inline void *id_to_ptr(__u64 nid) 236 return (void *) nid; 245 struct node *lookup_by_inode(struct fuse *fuse, __u64 nid) 247 if (nid == FUSE_ROOT_ID) [all...] |
/external/tcpdump/ |
print-wb.c | 155 u_int16_t nid; member in struct:pgstate 189 int nid; local 204 nid = EXTRACT_16BITS(&id->pi_ps.nid); 205 len -= sizeof(*io) * nid; 207 cp = (char *)(io + nid); 215 for (i = 0; i < nid && (u_char *)(io + 1) <= snapend; ++io, ++i) { 220 if (i >= nid) { 279 for (ie = io + ps->nid; io < ie && (u_char *)(io + 1) <= ep; ++io) {
|