/external/openssl/crypto/evp/ |
H A D | evp_locl.h | 133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 137 nid##_##nmode, block_size, key_len, iv_len, \ 149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 155 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ 158 BLOCK_CIPHER_def1(cname, cfb##cbits, cfb##cbits, CFB, kstruct, nid, 1, \ 162 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ 165 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \ 169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_siz [all...] |
H A D | evp_pkey.c | 189 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, argument 192 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); 227 int nid, int type, 230 if(X509at_add1_attr_by_NID(&key->attributes, nid, 226 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) argument
|
/external/openssl/crypto/engine/ |
H A D | tb_asnmth.c | 62 * 'nid'. */ 115 * references) for a given pkey_asn1_meth 'nid' */ 116 ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid) argument 118 return engine_table_select(&pkey_asn1_meth_table, nid); 122 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid) argument 126 if(!fn || !fn(e, &ret, NULL, nid)) 206 static void look_str_cb(int nid, STACK_OF(ENGINE) *sk, ENGINE *def, void *arg) argument 216 e->pkey_asn1_meths(e, &ameth, NULL, nid);
|
H A D | eng_openssl.c | 114 const int **nids, int nid); 118 const int **nids, int nid); 278 const int **nids, int nid) 287 if(nid == NID_rc4) 289 else if(nid == NID_rc4_40) 295 "nid %d\n", nid); 346 const int **nids, int nid) 355 if(nid == NID_sha1) 361 "nid 277 openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids, int nid) argument 345 openssl_digests(ENGINE *e, const EVP_MD **digest, const int **nids, int nid) argument [all...] |
H A D | eng_int.h | 125 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid); 127 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l); 130 typedef void (engine_table_doall_cb)(int nid, STACK_OF(ENGINE) *sk, ENGINE *def, void *arg);
|
/external/chromium_org/net/cert/ |
H A D | jwk_serializer_openssl.cc | 37 int nid = EC_GROUP_get_curve_name(ec_group); local 38 if (nid == NID_X9_62_prime256v1) { 40 } else if (nid == NID_secp384r1) { 42 } else if (nid == NID_secp521r1) {
|
H A D | x509_util_openssl.h | 41 int nid,
|
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
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 | 65 int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) argument 69 obj=OBJ_nid2obj(nid); 96 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) argument 100 obj=OBJ_nid2obj(nid); 182 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, argument 187 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len); 289 X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, argument 295 obj=OBJ_nid2obj(nid);
|
/external/openssl/crypto/asn1/ |
H A D | x_attrib.c | 99 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value) 106 ret->object=OBJ_nid2obj(nid);
|
/external/openssl/crypto/rsa/ |
H A D | rsa_x931.c | 158 int RSA_X931_hash_id(int nid) argument 160 switch (nid)
|
/external/f2fs-tools/fsck/ |
H A D | mount.c | 75 nid_t nid = le32_to_cpu(node_block->footer.nid); local 77 if (ino == nid) { 78 DBG(0, "Node ID [0x%x:%u] is inode\n", nid, nid); 84 nid, nid); 593 sum_entry->nid = node_blk->footer.nid; 844 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, argument 878 get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) argument 1045 lookup_nat_in_journal(struct f2fs_sb_info *sbi, u32 nid, struct f2fs_nat_entry *raw_nat) argument 1063 nullify_nat_entry(struct f2fs_sb_info *sbi, u32 nid) argument 1114 u32 nid, nr_nat_blks; local [all...] |
H A D | main.c | 76 .nid = 3, /* default root ino */ 97 &dump_opt.nid); 100 &dump_opt.nid); 175 dump_node(sbi, opt->nid);
|
/external/tcpdump/ |
H A D | 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) {
|
/external/chromium_org/third_party/boringssl/src/crypto/digest/ |
H A D | digests.c | 197 int nid; member in struct:nid_to_digest 219 const EVP_MD* EVP_get_digestbynid(int nid) { argument 224 if (nid_to_digest_mapping[i].nid == nid) {
|
/external/openssl/crypto/ecdsa/ |
H A D | ecdsatest.c | 102 int x9_62_test_internal(BIO *out, int nid, const char *r, const char *s); 181 int x9_62_test_internal(BIO *out, int nid, const char *r_in, const char *s_in) argument 198 BIO_printf(out, "testing %s: ", OBJ_nid2sn(nid)); 200 if ((key = EC_KEY_new_by_curve_name(nid)) == NULL) 297 int nid, ret = 0; local 334 nid = curves[n].nid; 335 if (nid == NID_ipsec4) 340 group = EC_GROUP_new_by_curve_name(nid); 354 BIO_printf(out, "%s: ", OBJ_nid2sn(nid)); [all...] |
/external/openssl/crypto/objects/ |
H A D | obj_lib.c | 91 r->nid=o->nid;
|
/external/openssl/crypto/x509/ |
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); 186 int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, argument 191 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len); 294 X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, argument 300 obj=OBJ_nid2obj(nid);
|
/external/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 254 int nid; local 255 nid = OBJ_sn2nid(value); 256 if (nid == NID_undef) 257 nid = OBJ_ln2nid(value); 258 if (nid == NID_undef) 263 return EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid);
|
/external/chromium_org/chrome/common/net/ |
H A D | x509_certificate_model_openssl.cc | 153 int nid = OBJ_txt2nid(oid_string); local 154 if (nid > 0) { 155 DVLOG(1) << "found already existing nid " << nid << " for " << oid_string; 156 return nid; 210 int nid = OBJ_obj2nid(obj); local 211 switch (nid) { 394 if (nid == ms_cert_ext_certtype) 396 else if (nid == ms_certsrv_ca_version) 398 else if (nid 563 int nid = OBJ_obj2nid(oid); local 782 int nid = OBJ_obj2nid(qualifier->pqualid); local 923 int nid = OBJ_obj2nid(X509_EXTENSION_get_object(ex)); local [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_pwd_common.c | 96 int nid, is_odd, ret = 0; local 101 nid = NID_X9_62_prime256v1; 104 nid = NID_secp384r1; 107 nid = NID_secp521r1; 111 nid = NID_X9_62_prime192v1; 115 nid = NID_secp224r1; 126 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) {
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_pwd_common.c | 96 int nid, is_odd, ret = 0; local 101 nid = NID_X9_62_prime256v1; 104 nid = NID_secp384r1; 107 nid = NID_secp521r1; 111 nid = NID_X9_62_prime192v1; 115 nid = NID_secp224r1; 126 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_pwd_common.c | 96 int nid, is_odd, ret = 0; local 101 nid = NID_X9_62_prime256v1; 104 nid = NID_secp384r1; 107 nid = NID_secp521r1; 111 nid = NID_X9_62_prime192v1; 115 nid = NID_secp224r1; 126 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) {
|
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/ |
H A D | ecdsa_test.c | 76 int nid, ret = 0; local 97 nid = kCurveNIDs[n]; 103 group = EC_GROUP_new_by_curve_name(nid); 119 BIO_printf(out, "%s: ", OBJ_nid2sn(nid)); 130 group = EC_GROUP_new_by_curve_name(nid);
|
/external/openssl/crypto/pkcs7/ |
H A D | 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 ) 685 static BIO *PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) argument 701 if (EVP_MD_CTX_type(*pmd) == nid) 1169 ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid) argument 1171 return(get_attribute(si->auth_attr,nid)); 1174 ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid) argument 1176 return(get_attribute(si->unauth_attr,nid)); 1248 PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value) argument 1254 PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value) argument [all...] |