/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 67 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, argument 76 if (!PKCS7_type_is_data(p12->authsafes)) 82 salt = p12->mac->salt->data; 83 saltlen = p12->mac->salt->length; 84 if (!p12->mac->iter) iter = 1; 85 else iter = ASN1_INTEGER_get (p12->mac->iter); 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { 101 || !HMAC_Update(&hmac, p12->authsafes->d.data->data, 102 p12->authsafes->d.data->length) 113 int PKCS12_verify_mac(PKCS12 *p12, cons argument 132 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument 156 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument [all...] |
H A D | p12_add.c | 224 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes) argument 227 &p12->authsafes->d.data)) 232 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12) 234 if (!PKCS7_type_is_data(p12->authsafes)) 239 return ASN1_item_unpack(p12->authsafes->d.data, ASN1_ITEM_rptr(PKCS12_AUTHSAFES));
|
H A D | p12_crt.c | 83 PKCS12 *p12 = NULL; local 160 p12 = PKCS12_add_safes(safes, 0); 162 if (!p12) 170 !PKCS12_set_mac(p12, pass, -1, NULL, 0, mac_iter, NULL)) 173 return p12; 177 if (p12) 178 PKCS12_free(p12); 343 PKCS12 *p12; local 346 p12 = PKCS12_init(nid_p7); 348 if (!p12) [all...] |
H A D | p12_kiss.c | 65 static int parse_pk12( PKCS12 *p12, const char *pass, int passlen, 80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument 87 if(!p12) 107 if(PKCS12_verify_mac(p12, NULL, 0)) pass = NULL; 108 else if(PKCS12_verify_mac(p12, "", 0)) pass = ""; 113 } else if (!PKCS12_verify_mac(p12, pass, -1)) { 127 if (!parse_pk12 (p12, pass, -1, pkey, ocerts)) 179 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen, argument 187 if (!(asafes = PKCS12_unpack_authsafes (p12))) return 0;
|
H A D | p12_utl.c | 98 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12) argument 100 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 104 int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12) argument 106 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 110 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) argument 112 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 115 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12) argument 117 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS12), fp, p12);
|
H A D | p12_npas.c | 68 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass); 78 int PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass) argument 82 if(!p12) { 89 if (!PKCS12_verify_mac(p12, oldpass, -1)) { 94 if (!newpass_p12(p12, oldpass, newpass)) { 104 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass) argument 114 if (!(asafes = PKCS12_unpack_authsafes(p12))) return 0; 155 p12_data_tmp = p12->authsafes->d.data; 156 if(!(p12->authsafes->d.data = ASN1_OCTET_STRING_new())) goto saferr; 157 if(!PKCS12_pack_authsafes(p12, newsafe [all...] |
H A D | pkcs12.h | 167 #define PKCS12_mac_present(p12) ((p12)->mac ? 1 : 0) 196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12); variable 225 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 227 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 228 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 231 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, 245 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 259 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12); [all...] |
/external/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 67 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, argument 76 if (!PKCS7_type_is_data(p12->authsafes)) 82 salt = p12->mac->salt->data; 83 saltlen = p12->mac->salt->length; 84 if (!p12->mac->iter) iter = 1; 85 else iter = ASN1_INTEGER_get (p12->mac->iter); 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { 101 || !HMAC_Update(&hmac, p12->authsafes->d.data->data, 102 p12->authsafes->d.data->length) 113 int PKCS12_verify_mac(PKCS12 *p12, cons argument 132 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument 156 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument [all...] |
H A D | p12_add.c | 224 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes) argument 227 &p12->authsafes->d.data)) 232 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12) 234 if (!PKCS7_type_is_data(p12->authsafes)) 239 return ASN1_item_unpack(p12->authsafes->d.data, ASN1_ITEM_rptr(PKCS12_AUTHSAFES));
|
H A D | p12_crt.c | 83 PKCS12 *p12 = NULL; local 160 p12 = PKCS12_add_safes(safes, 0); 162 if (!p12) 170 !PKCS12_set_mac(p12, pass, -1, NULL, 0, mac_iter, NULL)) 173 return p12; 177 if (p12) 178 PKCS12_free(p12); 343 PKCS12 *p12; local 346 p12 = PKCS12_init(nid_p7); 348 if (!p12) [all...] |
H A D | p12_kiss.c | 65 static int parse_pk12( PKCS12 *p12, const char *pass, int passlen, 80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument 87 if(!p12) 107 if(PKCS12_verify_mac(p12, NULL, 0)) pass = NULL; 108 else if(PKCS12_verify_mac(p12, "", 0)) pass = ""; 113 } else if (!PKCS12_verify_mac(p12, pass, -1)) { 127 if (!parse_pk12 (p12, pass, -1, pkey, ocerts)) 179 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen, argument 187 if (!(asafes = PKCS12_unpack_authsafes (p12))) return 0;
|
H A D | p12_utl.c | 98 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12) argument 100 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 104 int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12) argument 106 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 110 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) argument 112 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 115 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12) argument 117 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS12), fp, p12);
|
H A D | p12_npas.c | 68 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass); 78 int PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass) argument 82 if(!p12) { 89 if (!PKCS12_verify_mac(p12, oldpass, -1)) { 94 if (!newpass_p12(p12, oldpass, newpass)) { 104 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass) argument 114 if (!(asafes = PKCS12_unpack_authsafes(p12))) return 0; 155 p12_data_tmp = p12->authsafes->d.data; 156 if(!(p12->authsafes->d.data = ASN1_OCTET_STRING_new())) goto saferr; 157 if(!PKCS12_pack_authsafes(p12, newsafe [all...] |
H A D | pkcs12.h | 167 #define PKCS12_mac_present(p12) ((p12)->mac ? 1 : 0) 196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12); variable 225 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 227 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 228 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 231 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, 245 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 259 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12); [all...] |
/external/chromium_org/ui/v2/src/ |
H A D | view_unittest.cc | 362 ViewObserver::TreeChangeParams p12; local 363 p12 = p1; 364 p12.receiver = &v12; 365 p12.phase = ViewObserver::DISPOSITION_CHANGED; 366 EXPECT_TRUE(TreeChangeParamsMatch(p12, o12.received_params().back()));
|
/external/opencv/cv/src/ |
H A D | cvposit.cpp | 303 float p12 = -(ata00 * ata12 - ata01 * ata02); local 320 b[n + k] = (p01 * a0 + p11 * a1 + p12 * a2) * inv_det; 321 b[2 * n + k] = (p02 * a0 + p12 * a1 + p22 * a2) * inv_det;
|
/external/skia/tests/ |
H A D | PathOpsQuadIntersectionTest.cpp | 487 SkDPoint p12 = quad1.ptAtT(t12); local 489 p10.fX, p10.fY, p1Seed.fX, p1Seed.fY, p12.fX, p12.fY);
|
H A D | PathOpsCubicIntersectionTest.cpp | 522 SkDPoint p12 = cubic1.ptAtT(t12); local 524 p10.fX, p10.fY, p1Seed.fX, p1Seed.fY, p12.fX, p12.fY);
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
H A D | pkcs12.c | 83 int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass); 105 PKCS12 *p12 = NULL; local 583 p12 = PKCS12_create(cpass, name, key, ucert, certs, 586 if (!p12) 603 PKCS12_set_mac(p12, mpass, -1, NULL, 0, maciter, macmd); 610 i2d_PKCS12_bio(out, p12); 632 if (!(p12 = d2i_PKCS12_bio (in, NULL))) { 650 if ((options & INFO) && p12->mac) BIO_printf (bio_err, "MAC Iteration %ld\n", p12->mac->iter ? ASN1_INTEGER_get (p12 697 dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass) argument [all...] |
H A D | apps.c | 274 || (strcmp(s,"P12") == 0) || (strcmp(s,"p12") == 0)) 748 PKCS12 *p12; local 749 p12 = d2i_PKCS12_bio(in, NULL); 750 if (p12 == NULL) 756 if (PKCS12_verify_mac(p12, "", 0) || PKCS12_verify_mac(p12, NULL, 0)) 771 if (!PKCS12_verify_mac(p12, tpass, len)) 779 ret = PKCS12_parse(p12, pass, pkey, cert, ca); 781 if (p12) 782 PKCS12_free(p12); [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
H A D | pkcs12.h | 167 #define PKCS12_mac_present(p12) ((p12)->mac ? 1 : 0) 196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12); variable 225 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 227 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 228 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 231 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, 245 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 259 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12); [all...] |
/external/openssl/apps/ |
H A D | pkcs12.c | 83 int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass); 105 PKCS12 *p12 = NULL; local 583 p12 = PKCS12_create(cpass, name, key, ucert, certs, 586 if (!p12) 603 PKCS12_set_mac(p12, mpass, -1, NULL, 0, maciter, macmd); 610 i2d_PKCS12_bio(out, p12); 632 if (!(p12 = d2i_PKCS12_bio (in, NULL))) { 650 if ((options & INFO) && p12->mac) BIO_printf (bio_err, "MAC Iteration %ld\n", p12->mac->iter ? ASN1_INTEGER_get (p12 697 dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options, char *pempass) argument [all...] |
H A D | apps.c | 274 || (strcmp(s,"P12") == 0) || (strcmp(s,"p12") == 0)) 748 PKCS12 *p12; local 749 p12 = d2i_PKCS12_bio(in, NULL); 750 if (p12 == NULL) 756 if (PKCS12_verify_mac(p12, "", 0) || PKCS12_verify_mac(p12, NULL, 0)) 771 if (!PKCS12_verify_mac(p12, tpass, len)) 779 ret = PKCS12_parse(p12, pass, pkey, cert, ca); 781 if (p12) 782 PKCS12_free(p12); [all...] |
/external/openssl/include/openssl/ |
H A D | pkcs12.h | 167 #define PKCS12_mac_present(p12) ((p12)->mac ? 1 : 0) 196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12); variable 225 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 227 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 228 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 231 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, 245 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, 259 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12); [all...] |
/external/chromium_org/v8/src/arm/ |
H A D | assembler-arm.h | 538 p12 = 12, enumerator in enum:v8::internal::Coprocessor
|