/external/openssl/crypto/x509v3/ |
v3_akey.c | 119 GENERAL_NAMES * gens = NULL; local 186 if(!(gens = sk_GENERAL_NAME_new_null()) 188 || !sk_GENERAL_NAME_push(gens, gen)) 197 akeyid->issuer = gens;
|
v3_alt.c | 66 static int copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p); 67 static int copy_issuer(X509V3_CTX *ctx, GENERAL_NAMES *gens); 94 GENERAL_NAMES *gens, STACK_OF(CONF_VALUE) *ret) 98 for(i = 0; i < sk_GENERAL_NAME_num(gens); i++) { 99 gen = sk_GENERAL_NAME_value(gens, i); 246 GENERAL_NAMES *gens = NULL; local 249 if(!(gens = sk_GENERAL_NAME_new_null())) { 257 if(!copy_issuer(ctx, gens)) goto err; 262 sk_GENERAL_NAME_push(gens, gen); 265 return gens; 311 GENERAL_NAMES *gens = NULL; local 400 GENERAL_NAMES *gens = NULL; local [all...] |
v3_crld.c | 96 STACK_OF(GENERAL_NAME) *gens; 107 gens = v2i_GENERAL_NAMES(NULL, ctx, gnsect); 112 return gens; 315 GENERAL_NAMES *gens = NULL; local 343 if(!(gens = GENERAL_NAMES_new())) 345 if(!sk_GENERAL_NAME_push(gens, gen)) 357 point->distpoint->name.fullname = gens; 359 gens = NULL; 368 GENERAL_NAMES_free(gens); 507 static int print_gens(BIO *out, STACK_OF(GENERAL_NAME) *gens, int indent [all...] |
v3_purp.c | 748 GENERAL_NAMES *gens; local 752 gens = akid->issuer; 753 for(i = 0; i < sk_GENERAL_NAME_num(gens); i++) 755 gen = sk_GENERAL_NAME_value(gens, i);
|
v3_utl.c | 70 static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens); 468 GENERAL_NAMES *gens; local 471 gens = X509_get_ext_d2i(x, NID_subject_alt_name, NULL, NULL); 472 ret = get_email(X509_get_subject_name(x), gens); 473 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); 504 GENERAL_NAMES *gens; local 509 gens = X509V3_get_d2i(exts, NID_subject_alt_name, NULL, NULL); 510 ret = get_email(X509_REQ_get_subject_name(x), gens); 511 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); 517 static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens) [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
v3_akey.c | 122 GENERAL_NAMES * gens = NULL; local 189 if(!(gens = sk_GENERAL_NAME_new_null()) 191 || !sk_GENERAL_NAME_push(gens, gen)) 200 akeyid->issuer = gens;
|
v3_alt.c | 68 static int copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p); 69 static int copy_issuer(X509V3_CTX *ctx, GENERAL_NAMES *gens); 96 GENERAL_NAMES *gens, STACK_OF(CONF_VALUE) *ret) 100 for(i = 0; i < sk_GENERAL_NAME_num(gens); i++) { 101 gen = sk_GENERAL_NAME_value(gens, i); 248 GENERAL_NAMES *gens = NULL; local 251 if(!(gens = sk_GENERAL_NAME_new_null())) { 259 if(!copy_issuer(ctx, gens)) goto err; 264 sk_GENERAL_NAME_push(gens, gen); 267 return gens; 314 GENERAL_NAMES *gens = NULL; local 403 GENERAL_NAMES *gens = NULL; local [all...] |
v3_crld.c | 98 STACK_OF(GENERAL_NAME) *gens; 108 gens = v2i_GENERAL_NAMES(NULL, ctx, gnsect); 113 return gens; 314 GENERAL_NAMES *gens = NULL; local 342 if(!(gens = GENERAL_NAMES_new())) 344 if(!sk_GENERAL_NAME_push(gens, gen)) 356 point->distpoint->name.fullname = gens; 358 gens = NULL; 367 GENERAL_NAMES_free(gens); 506 static int print_gens(BIO *out, STACK_OF(GENERAL_NAME) *gens, int indent [all...] |
v3nametest.c | 161 GENERAL_NAMES *gens = NULL; local 166 gens = sk_GENERAL_NAME_new_null(); 167 if (gens == NULL) 195 sk_GENERAL_NAME_push(gens, gen); 198 if (!X509_add1_ext_i2d(crt, NID_subject_alt_name, gens, 0, 0)) 204 GENERAL_NAMES_free(gens);
|
v3_purp.c | 751 GENERAL_NAMES *gens; local 755 gens = akid->issuer; 756 for(i = 0; i < sk_GENERAL_NAME_num(gens); i++) 758 gen = sk_GENERAL_NAME_value(gens, i);
|
v3_utl.c | 75 static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens); 464 GENERAL_NAMES *gens; local 467 gens = X509_get_ext_d2i(x, NID_subject_alt_name, NULL, NULL); 468 ret = get_email(X509_get_subject_name(x), gens); 469 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); 500 GENERAL_NAMES *gens; local 505 gens = X509V3_get_d2i(exts, NID_subject_alt_name, NULL, NULL); 506 ret = get_email(X509_REQ_get_subject_name(x), gens); 507 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); 513 static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens) 884 GENERAL_NAMES *gens = NULL; local [all...] |
/external/openssl/apps/ |
cms.c | 1265 STACK_OF(GENERAL_NAME) *gens; 1338 GENERAL_NAMES *gens = NULL; local [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
x509_vfy.c | 1297 GENERAL_NAMES *gens = NULL; local [all...] |
/external/openssl/crypto/x509/ |
x509_vfy.c | 1181 GENERAL_NAMES *gens = NULL; local 1202 gens = b->name.fullname; 1209 gens = a->name.fullname; 1216 for (i = 0; i < sk_GENERAL_NAME_num(gens); i++) 1218 gena = sk_GENERAL_NAME_value(gens, i); [all...] |
/external/ipsec-tools/src/racoon/ |
crypto_openssl.c | 695 GENERAL_NAMES *gens = NULL; local 707 gens = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL, NULL); 708 if (gens == NULL) 712 if (pos > sk_GENERAL_NAME_num(gens)) 715 gen = sk_GENERAL_NAME_value(gens, pos - 1); 780 if (gens) 782 sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); [all...] |