/external/boringssl/src/crypto/x509/ |
H A D | x509_ext.c | 71 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 D | x509_req.c | 166 int i, nid; local 168 nid = ext_nids[i]; 169 if(nid == NID_undef) return 0; 170 else if (req_nid == nid) return 1; 218 int nid) 236 attr->object = (ASN1_OBJECT*) OBJ_nid2obj(nid); 262 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, argument 265 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); 300 int nid, int type, 303 if(X509at_add1_attr_by_NID(&req->req_info->attributes, nid, 217 X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, int nid) argument 299 X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len) argument [all...] |
H A D | x_attrib.c | 97 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value) 105 ret->object=(ASN1_OBJECT*) OBJ_nid2obj(nid);
|
H A D | x509name.c | 67 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) argument 71 obj=OBJ_nid2obj(nid); 98 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) argument 102 obj=OBJ_nid2obj(nid); 184 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, argument 189 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len); 291 X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, argument 294 const ASN1_OBJECT *obj = OBJ_nid2obj(nid);
|
H A D | x509_att.c | 71 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, 76 obj=OBJ_nid2obj(nid); 168 int nid, int type, 173 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); 209 X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, argument 214 obj=OBJ_nid2obj(nid);
|
/external/boringssl/src/crypto/obj/ |
H A D | obj.c | 127 r->nid = o->nid; 174 unsigned nid = *((const unsigned*) element); local 176 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 D | obj_dat.pl | 17 $A=$obj_len{$obj{$nid{$a}}}; 18 $B=$obj_len{$obj{$nid{$b}}}; 23 $A=$obj_der{$obj{$nid{$a}}}; 24 $B=$obj_der{$obj{$nid{$b}}}; 82 { $nid{$d}=$1; } 93 @a=sort { $a <=> $b } keys %nid; 101 if (!defined($nid{$i})) 107 $sn=defined($sn{$nid{$i}})?"$sn{$nid{$i}}":"NULL"; 108 $ln=defined($ln{$nid{ [all...] |
/external/boringssl/src/crypto/asn1/ |
H A D | a_strnid.c | 122 int inlen, int inform, int nid) 129 tbl = ASN1_STRING_TABLE_get(nid); 183 return (*a)->nid - (*b)->nid; 190 return a->nid - b->nid; 193 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) argument 199 fnd.nid = nid; 209 int ASN1_STRING_TABLE_add(int nid, argument 121 ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid) argument [all...] |
/external/boringssl/include/openssl/ |
H A D | obj.h | 81 * 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/boringssl/src/include/openssl/ |
H A D | obj.h | 81 * 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/boringssl/src/crypto/pem/ |
H A D | pem_pk8.c | 70 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 124 if(enc || (nid != -1)) { 137 p8 = PKCS8_encrypt(nid, en 192 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 199 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 212 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/f2fs-tools/fsck/ |
H A D | fsck.c | 56 u32 nid, u32 link_cnt) 64 node->nid = nid; 76 while (tmp && (nid < tmp->nid)) { 77 ASSERT(tmp->nid != nid); 91 DBG(2, "ino[0x%x] has hard links [0x%x]\n", nid, link_cnt); 95 static int find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) argument 105 while (node && (nid < nod 55 add_into_hard_link_list(struct f2fs_sb_info *sbi, u32 nid, u32 link_cnt) argument 127 is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, u32 blk_addr) argument 192 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 313 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 360 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 456 u32 nid = le32_to_cpu(node_blk->i.i_nid[idx]); local 553 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 D | dump.c | 111 le32_to_cpu(sum_blk.entries[i].nid)); 140 u32 nid, u64 *ofs) 161 if (nid == 0) { 166 get_node_info(sbi, nid, &ni); 179 le32_to_cpu(node_blk->in.nid[i]), ofs); 183 le32_to_cpu(node_blk->in.nid[i]), ofs); 190 static void dump_inode_blk(struct f2fs_sb_info *sbi, u32 nid, argument 199 DBG(3, "ino[0x%x] has inline data!\n", nid); 270 void dump_node(struct f2fs_sb_info *sbi, nid_t nid) argument 275 get_node_info(sbi, nid, 139 dump_node_blk(struct f2fs_sb_info *sbi, int ntype, u32 nid, u64 *ofs) argument 376 nid_t nid; local [all...] |
H A D | mount.c | 85 nid_t nid = le32_to_cpu(node_block->footer.nid); local 87 if (ino == nid) { 88 DBG(0, "Node ID [0x%x:%u] is inode\n", nid, nid); 94 nid, nid); 638 sum_entry->nid = node_blk->footer.nid; 890 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, argument 924 get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) argument 1092 lookup_nat_in_journal(struct f2fs_sb_info *sbi, u32 nid, struct f2fs_nat_entry *raw_nat) argument 1110 nullify_nat_entry(struct f2fs_sb_info *sbi, u32 nid) argument 1161 u32 nid, nr_nat_blks; local [all...] |
/external/boringssl/src/crypto/x509v3/ |
H A D | v3_lib.c | 101 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) argument 107 if(nid < 0) return NULL; 108 tmp.ext_nid = nid; 120 int nid; local 121 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL; 122 return X509V3_EXT_get_nid(nid); 125 int X509V3_EXT_free(int nid, void *ext_data) argument 127 const X509V3_EXT_METHOD *ext_method = X509V3_EXT_get_nid(nid); 221 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) 237 if(OBJ_obj2nid(ex->object) == nid) { [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_pwd_common.c | 97 int nid, is_odd, ret = 0; local 102 nid = NID_X9_62_prime256v1; 105 nid = NID_secp384r1; 108 nid = NID_secp521r1; 112 nid = NID_X9_62_prime192v1; 116 nid = NID_secp224r1; 120 nid = NID_brainpoolP224r1; 125 nid = NID_brainpoolP256r1; 130 nid = NID_brainpoolP384r1; 135 nid [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_pwd_common.c | 97 int nid, is_odd, ret = 0; local 102 nid = NID_X9_62_prime256v1; 105 nid = NID_secp384r1; 108 nid = NID_secp521r1; 112 nid = NID_X9_62_prime192v1; 116 nid = NID_secp224r1; 120 nid = NID_brainpoolP224r1; 125 nid = NID_brainpoolP256r1; 130 nid = NID_brainpoolP384r1; 135 nid [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_pwd_common.c | 97 int nid, is_odd, ret = 0; local 102 nid = NID_X9_62_prime256v1; 105 nid = NID_secp384r1; 108 nid = NID_secp521r1; 112 nid = NID_X9_62_prime192v1; 116 nid = NID_secp224r1; 120 nid = NID_brainpoolP224r1; 125 nid = NID_brainpoolP256r1; 130 nid = NID_brainpoolP384r1; 135 nid [all...] |
/external/tcpdump/ |
H A D | print-wb.c | 151 uint16_t nid; member in struct:pgstate 186 int nid; local 201 nid = EXTRACT_16BITS(&id->pi_ps.nid); 202 len -= sizeof(*io) * nid; 204 cp = (char *)(io + nid); 212 for (i = 0; i < nid && ND_TTEST(*io); ++io, ++i) { 217 if (i >= nid) { 279 for (ie = io + ps->nid; io < ie && ND_TTEST(*io); ++io) {
|
/external/dbus/dbus/ |
H A D | dbus-marshal-recursive-util.c | 1085 run_test_copy (NodeIterationData *nid) argument 1095 src = nid->block; 1148 run_test_values_only_write (NodeIterationData *nid) argument 1160 data_block_reset (nid->block); 1162 sig_len = _dbus_string_get_length (nid->signature); 1165 nid->block->byte_order, 1166 nid->signature, 0, 1167 &nid->block->body, 1168 _dbus_string_get_length (&nid->block->body) - N_FENCE_BYTES); 1170 nid 1217 run_test_set_values(NodeIterationData *nid) argument 1275 run_test_delete_values(NodeIterationData *nid) argument 1369 NodeIterationData *nid = data; local 1469 NodeIterationData nid; local [all...] |
/external/autotest/client/cros/cellular/pseudomodem/ |
H A D | modem_cdma.py | 32 nid=0, 37 self.nid = nid 269 nid = network.nid 279 nid = 0 285 self.SetUInt32(mm1_constants.I_MODEM_CDMA, 'Nid', nid) 396 retval['cdma-nid'] = cdma_props['Nid']
|
/external/boringssl/src/crypto/ec/ |
H A D | ec_test.cc | 175 bool TestSetAffine(const int nid) { argument 176 ScopedEC_KEY key(EC_KEY_new_by_curve_name(nid)); 184 fprintf(stderr, "EC_KEY_generate_key failed with nid %d\n", nid); 191 fprintf(stderr, "generated point is not on curve with nid %d", nid); 201 fprintf(stderr, "EC_POINT_get_affine_coordinates_GFp failed with nid %d\n", 202 nid); 214 fprintf(stderr, "EC_POINT_set_affine_coordinates_GFp failed with nid %d\n", 215 nid); [all...] |
/external/boringssl/src/ssl/ |
H A D | ssl_ecdh.c | 55 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid); 111 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid); 319 static const SSL_ECDH_METHOD *method_from_nid(int nid) { argument 322 if (kMethods[i].nid == nid) { 337 int ssl_nid_to_curve_id(uint16_t *out_curve_id, int nid) { argument 338 const SSL_ECDH_METHOD *method = method_from_nid(nid);
|
/external/boringssl/src/crypto/ecdsa/ |
H A D | ecdsa_test.cc | 156 int nid; member in struct:__anon546 170 for (size_t n = 0; kCurves[n].nid != NID_undef; n++) { 173 int nid = kCurves[n].nid; local 174 ScopedEC_GROUP group(EC_GROUP_new_by_curve_name(nid));
|
/external/libchrome/crypto/ |
H A D | signature_verifier_openssl.cc | 57 int nid = OBJ_obj2nid(algorithm.get()->algorithm); local 59 if (nid == NID_ecdsa_with_SHA1) { 61 } else if (nid == NID_ecdsa_with_SHA256) {
|