Home
last modified time | relevance | path

Searched refs:p8 (Results 1 – 25 of 29) sorted by relevance

12

/external/openssl/crypto/evp/
Devp_pkey.c81 EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8) in EVP_PKCS82PKEY() argument
109 if(p8->pkey->type == V_ASN1_OCTET_STRING) { in EVP_PKCS82PKEY()
110 p8->broken = PKCS8_OK; in EVP_PKCS82PKEY()
111 p = p8->pkey->value.octet_string->data; in EVP_PKCS82PKEY()
112 pkeylen = p8->pkey->value.octet_string->length; in EVP_PKCS82PKEY()
114 p8->broken = PKCS8_NO_OCTET; in EVP_PKCS82PKEY()
115 p = p8->pkey->value.sequence->data; in EVP_PKCS82PKEY()
116 pkeylen = p8->pkey->value.sequence->length; in EVP_PKCS82PKEY()
122 a = p8->pkeyalg; in EVP_PKCS82PKEY()
163 p8->broken = PKCS8_EMBEDDED_PARAM; in EVP_PKCS82PKEY()
[all …]
/external/openssl/crypto/pkcs12/
Dp12_p8e.c68 X509_SIG *p8 = NULL; in PKCS8_encrypt() local
71 if (!(p8 = X509_SIG_new())) { in PKCS8_encrypt()
82 X509_ALGOR_free(p8->algor); in PKCS8_encrypt()
83 p8->algor = pbe; in PKCS8_encrypt()
84 M_ASN1_OCTET_STRING_free(p8->digest); in PKCS8_encrypt()
85 p8->digest = PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_encrypt()
87 if(!p8->digest) { in PKCS8_encrypt()
92 return p8; in PKCS8_encrypt()
95 X509_SIG_free(p8); in PKCS8_encrypt()
Dp12_p8d.c63 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *p8, const char *pass, int passlen) in PKCS8_decrypt() argument
65 return PKCS12_item_decrypt_d2i(p8->algor, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass, in PKCS8_decrypt()
66 passlen, p8->digest, 1); in PKCS8_decrypt()
Dp12_crt.c222 PKCS8_PRIV_KEY_INFO *p8 = NULL; in PKCS12_add_key() local
225 if(!(p8 = EVP_PKEY2PKCS8(key))) in PKCS12_add_key()
227 if(key_usage && !PKCS8_add_keyusage(p8, key_usage)) in PKCS12_add_key()
231 bag = PKCS12_MAKE_SHKEYBAG(nid_key, pass, -1, NULL, 0, iter, p8); in PKCS12_add_key()
232 PKCS8_PRIV_KEY_INFO_free(p8); in PKCS12_add_key()
235 bag = PKCS12_MAKE_KEYBAG(p8); in PKCS12_add_key()
Dpkcs12.h166 #define PKCS8_get_attr(p8, attr_nid) \ argument
167 PKCS12_get_attr_gen(p8->attributes, attr_nid)
179 PKCS12_SAFEBAG *PKCS12_MAKE_KEYBAG(PKCS8_PRIV_KEY_INFO *p8);
180 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *p8, const char *pass, int passlen);
186 PKCS8_PRIV_KEY_INFO *p8);
190 PKCS8_PRIV_KEY_INFO *p8);
208 int PKCS8_add_keyusage(PKCS8_PRIV_KEY_INFO *p8, int usage);
Dp12_add.c90 PKCS12_SAFEBAG *PKCS12_MAKE_KEYBAG(PKCS8_PRIV_KEY_INFO *p8) in PKCS12_MAKE_KEYBAG() argument
98 bag->value.keybag = p8; in PKCS12_MAKE_KEYBAG()
106 PKCS8_PRIV_KEY_INFO *p8) in PKCS12_MAKE_SHKEYBAG() argument
119 p8))) { in PKCS12_MAKE_SHKEYBAG()
Dp12_kiss.c204 PKCS8_PRIV_KEY_INFO *p8; in parse_bag() local
240 if (!(p8 = PKCS12_decrypt_skey(bag, pass, passlen))) in parse_bag()
242 *pkey = EVP_PKCS82PKEY(p8); in parse_bag()
243 PKCS8_PRIV_KEY_INFO_free(p8); in parse_bag()
Dp12_npas.c189 PKCS8_PRIV_KEY_INFO *p8; in newpass_bag() local
195 if (!(p8 = PKCS8_decrypt(bag->value.shkeybag, oldpass, -1))) return 0; in newpass_bag()
198 p8_iter, p8))) return 0; in newpass_bag()
Dp12_attr.c77 int PKCS8_add_keyusage(PKCS8_PRIV_KEY_INFO *p8, int usage) in PKCS8_add_keyusage() argument
81 if (X509at_add1_attr_by_NID(&p8->attributes, NID_key_usage, in PKCS8_add_keyusage()
/external/icu4c/test/perf/unisetperf/
Dunisetperf.pl28 my $p8 = "$p SpanUTF8";
67 "SpanUTF8", ["$p8 --type Bv",
68 "$p8 --type BvF",
69 "$p8 --type Bvp",
70 "$p8 --type BvpF",
71 "$p8 --type L",
72 "$p8 --type Bvl"
/external/openssl/crypto/pem/
Dpem_pk8.c116 X509_SIG *p8; in do_pk8pkey() local
137 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
140 if(isder) ret = i2d_PKCS8_bio(bp, p8); in do_pk8pkey()
141 else ret = PEM_write_bio_PKCS8(bp, p8); in do_pk8pkey()
142 X509_SIG_free(p8); in do_pk8pkey()
155 X509_SIG *p8 = NULL; in d2i_PKCS8PrivateKey_bio() local
159 p8 = d2i_PKCS8_bio(bp, NULL); in d2i_PKCS8PrivateKey_bio()
160 if(!p8) return NULL; in d2i_PKCS8PrivateKey_bio()
165 X509_SIG_free(p8); in d2i_PKCS8PrivateKey_bio()
168 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
[all …]
Dpem_pkey.c100 X509_SIG *p8; in PEM_read_bio_PrivateKey() local
103 p8 = d2i_X509_SIG(NULL, &p, len); in PEM_read_bio_PrivateKey()
104 if(!p8) goto p8err; in PEM_read_bio_PrivateKey()
110 X509_SIG_free(p8); in PEM_read_bio_PrivateKey()
113 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey()
114 X509_SIG_free(p8); in PEM_read_bio_PrivateKey()
/external/openssl/apps/
Dpkcs8.c83 X509_SIG *p8; in MAIN() local
324 if (!(p8 = PKCS8_encrypt(pbe_nid, cipher, in MAIN()
337 PEM_write_bio_PKCS8(out, p8); in MAIN()
339 i2d_PKCS8_bio(out, p8); in MAIN()
348 X509_SIG_free(p8); in MAIN()
376 p8 = PEM_read_bio_PKCS8(in, NULL, NULL, NULL); in MAIN()
378 p8 = d2i_PKCS8_bio(in, NULL); in MAIN()
385 if (!p8) in MAIN()
398 p8inf = PKCS8_decrypt(p8, p8pass, strlen(p8pass)); in MAIN()
399 X509_SIG_free(p8); in MAIN()
Dpkcs12.c749 PKCS8_PRIV_KEY_INFO *p8; in dump_certs_pkeys_bag() local
758 p8 = bag->value.keybag; in dump_certs_pkeys_bag()
759 if (!(pkey = EVP_PKCS82PKEY (p8))) return 0; in dump_certs_pkeys_bag()
760 print_attribs (out, p8->attributes, "Key Attributes"); in dump_certs_pkeys_bag()
772 if (!(p8 = PKCS12_decrypt_skey(bag, pass, passlen))) in dump_certs_pkeys_bag()
774 if (!(pkey = EVP_PKCS82PKEY (p8))) { in dump_certs_pkeys_bag()
775 PKCS8_PRIV_KEY_INFO_free(p8); in dump_certs_pkeys_bag()
778 print_attribs (out, p8->attributes, "Key Attributes"); in dump_certs_pkeys_bag()
779 PKCS8_PRIV_KEY_INFO_free(p8); in dump_certs_pkeys_bag()
/external/libffi/src/ia64/
Dunix.S181 cmp.lt p8, p0 = 24, in3
191 (p8) st8 [r18] = r11
208 cmp.lt p8, p0 = 12, in3
211 (p8) stfs [r16] = f11, 8
232 cmp.lt p8, p0 = 24, in3
235 (p8) stfd [r16] = f11, 16
256 cmp.lt p8, p0 = 48, in3
259 (p8) stfe [r16] = f11, 32
416 cmp.lt p8, p0 = 24, r8
422 (p8) ld8 r11 = [r17]
[all …]
/external/openssl/include/openssl/
Dpkcs12.h166 #define PKCS8_get_attr(p8, attr_nid) \ argument
167 PKCS12_get_attr_gen(p8->attributes, attr_nid)
179 PKCS12_SAFEBAG *PKCS12_MAKE_KEYBAG(PKCS8_PRIV_KEY_INFO *p8);
180 PKCS8_PRIV_KEY_INFO *PKCS8_decrypt(X509_SIG *p8, const char *pass, int passlen);
186 PKCS8_PRIV_KEY_INFO *p8);
190 PKCS8_PRIV_KEY_INFO *p8);
208 int PKCS8_add_keyusage(PKCS8_PRIV_KEY_INFO *p8, int usage);
Dx509.h811 X509_SIG *d2i_PKCS8_fp(FILE *fp,X509_SIG **p8);
812 int i2d_PKCS8_fp(FILE *fp,X509_SIG *p8);
850 X509_SIG *d2i_PKCS8_bio(BIO *bp,X509_SIG **p8);
851 int i2d_PKCS8_bio(BIO *bp,X509_SIG *p8);
1256 EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8);
1259 PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8, int broken);
/external/icu4c/tools/toolutil/
Dwritesrc.c85 const uint8_t *p8; in usrc_writeArray() local
91 p8=NULL; in usrc_writeArray()
96 p8=(const uint8_t *)p; in usrc_writeArray()
122 value=p8[i]; in usrc_writeArray()
/external/openssl/crypto/x509/
Dx_all.c412 X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8) in d2i_PKCS8_fp() argument
414 return ASN1_d2i_fp_of(X509_SIG,X509_SIG_new,d2i_X509_SIG,fp,p8); in d2i_PKCS8_fp()
417 int i2d_PKCS8_fp(FILE *fp, X509_SIG *p8) in i2d_PKCS8_fp() argument
419 return ASN1_i2d_fp_of(X509_SIG,i2d_X509_SIG,fp,p8); in i2d_PKCS8_fp()
423 X509_SIG *d2i_PKCS8_bio(BIO *bp, X509_SIG **p8) in d2i_PKCS8_bio() argument
425 return ASN1_d2i_bio_of(X509_SIG,X509_SIG_new,d2i_X509_SIG,bp,p8); in d2i_PKCS8_bio()
428 int i2d_PKCS8_bio(BIO *bp, X509_SIG *p8) in i2d_PKCS8_bio() argument
430 return ASN1_i2d_bio_of(X509_SIG,i2d_X509_SIG,bp,p8); in i2d_PKCS8_bio()
Dx509.h811 X509_SIG *d2i_PKCS8_fp(FILE *fp,X509_SIG **p8);
812 int i2d_PKCS8_fp(FILE *fp,X509_SIG *p8);
850 X509_SIG *d2i_PKCS8_bio(BIO *bp,X509_SIG **p8);
851 int i2d_PKCS8_bio(BIO *bp,X509_SIG *p8);
1256 EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8);
1259 PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8, int broken);
/external/icu4c/tools/makeconv/
Dgenmbcs.c1066 uint8_t *p8; in transformEUC() local
1080 p8=mbcsData->fromUBytes; in transformEUC()
1084 p8+=3; in transformEUC()
1089 b=p8[i]; in transformEUC()
1096 p8=mbcsData->fromUBytes; in transformEUC()
1110 uint16_t *q=(uint16_t *)p8; in transformEUC()
1112 b=*p8; in transformEUC()
1116 (*q++)=(uint16_t)((p8[1]<<8)|p8[2]); in transformEUC()
1119 (*q++)=(uint16_t)(((p8[1]&0x7f)<<8)|p8[2]); in transformEUC()
1122 (*q++)=(uint16_t)((p8[1]<<8)|(p8[2]&0x7f)); in transformEUC()
[all …]
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/
Dc1035pf.cpp409 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; in build_code() local
504 p8 = h - *(p_codvec++); in build_code()
521 s += (*p8++ * *(p__sign++)) >> 7; in build_code()
/external/icu4c/test/intltest/
Drbbitst.cpp2704 int p8 = p1; in next() local
2705 while (fSpSet->contains(cAt(p8))) { in next()
2706 p8 = moveBack(p8); in next()
2708 while (fCloseSet->contains(cAt(p8))) { in next()
2709 p8 = moveBack(p8); in next()
2711 if (fATermSet->contains(cAt(p8))) { in next()
2712 p8=p2; in next()
2714 c = cAt(p8); in next()
2720 p8 = moveForward(p8); in next()
2722 if (fLowerSet->contains(cAt(p8))) { in next()
[all …]
/external/icu4c/test/cintltst/
Dcreststn.c2797 char *p8; in tres_getString() local
2821 p8 = buffer8; in tres_getString()
2824 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); in tres_getString()
2826 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString()
2828 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString()
2836 p8 = (char *)malloc(++length8); in tres_getString()
2837 if(p8 == NULL) { in tres_getString()
2841 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); in tres_getString()
2843 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString()
2845 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString()
[all …]
/external/jpeg/
Djerror.h280 #define TRACEMS8(cinfo,lvl,code,p1,p2,p3,p4,p5,p6,p7,p8) \ argument
283 _mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \

12