/external/openssl/crypto/pkcs7/ |
pk7_enc.c | 67 PKCS7_in_bio(PKCS7 *p7,BIO *in); 68 PKCS7_out_bio(PKCS7 *p7,BIO *out); 70 PKCS7_add_signer(PKCS7 *p7,X509 *cert,EVP_PKEY *key); 71 PKCS7_cipher(PKCS7 *p7,EVP_CIPHER *cipher); 73 PKCS7_Init(PKCS7 *p7); variable 74 PKCS7_Update(PKCS7 *p7); variable 75 PKCS7_Finish(PKCS7 *p7); variable
|
enc.c | 70 PKCS7 *p7; local 117 p7=PKCS7_new(); 122 PKCS7_set_type(p7,NID_pkcs7_signedAndEnveloped); 124 if (PKCS7_add_signature(p7,x509,pkey,EVP_sha1()) == NULL) goto err; 126 PKCS7_add_certificate(p7,x509); 128 PKCS7_set_type(p7,NID_pkcs7_enveloped); 139 if (!PKCS7_set_cipher(p7,cipher)) goto err; 141 if (!PKCS7_add_recipient(p7,sk_X509_value(recips, i))) goto err; 146 /* PKCS7_content_new(p7,NID_pkcs7_data); not used in envelope */ 149 if (!nodetach) PKCS7_set_detached(p7,1) [all...] |
sign.c | 71 PKCS7 *p7; local 114 p7=PKCS7_new(); 115 PKCS7_set_type(p7,NID_pkcs7_signed); 117 si=PKCS7_add_signature(p7,x509,pkey,EVP_sha1()); 125 PKCS7_add_certificate(p7,x509); 128 PKCS7_content_new(p7,NID_pkcs7_data); 131 PKCS7_set_detached(p7,1); 133 if ((p7bio=PKCS7_dataInit(p7,NULL)) == NULL) goto err; 142 if (!PKCS7_dataFinal(p7,p7bio)) goto err; 145 PEM_write_PKCS7(stdout,p7); [all...] |
dec.c | 79 PKCS7 *p7; local 136 if ((p7=PEM_read_bio_PKCS7(data,NULL,NULL,NULL)) == NULL) goto err; 152 p7bio=PKCS7_dataDecode(p7,pkey,detached,x509); 170 sk=PKCS7_get_signer_info(p7); 183 i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
pk7_smime.c | 66 static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si); 71 PKCS7 *p7; local 74 if(!(p7 = PKCS7_new())) 80 if (!PKCS7_set_type(p7, NID_pkcs7_signed)) 83 if (!PKCS7_content_new(p7, NID_pkcs7_data)) 86 if (pkey && !PKCS7_sign_add_signer(p7, signcert, pkey, NULL, flags)) 96 if (!PKCS7_add_certificate(p7, sk_X509_value(certs, i))) 102 PKCS7_set_detached(p7, 1); 105 return p7; 107 if (PKCS7_final(p7, data, flags) 495 PKCS7 *p7; local [all...] |
verify.c | 76 PKCS7 *p7; local 133 if ((p7=PEM_read_bio_PKCS7(data,NULL,NULL,NULL)) == NULL) goto err; 146 if ((PKCS7_get_detached(p7) || detached)) 154 p7bio=PKCS7_dataInit(p7,detached); 158 p7bio=PKCS7_dataInit(p7,NULL); 170 sk=PKCS7_get_signer_info(p7); 185 rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
pkcs7.h | 246 #define PKCS7_is_detached(p7) (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7)) 284 PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7); 285 int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7); 287 PKCS7 *PKCS7_dup(PKCS7 *p7); 288 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7); 289 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7); 290 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 291 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) 335 STACK_OF(PKCS7_SIGNER_INFO) *PKCS7_get_signer_info(PKCS7 *p7); variable [all...] |
/external/openssl/crypto/pkcs12/ |
p12_add.c | 137 PKCS7 *p7; local 138 if (!(p7 = PKCS7_new())) { 142 p7->type = OBJ_nid2obj(NID_pkcs7_data); 143 if (!(p7->d.data = M_ASN1_OCTET_STRING_new())) { 148 if (!ASN1_item_pack(sk, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), &p7->d.data)) { 152 return p7; 156 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7) 158 if(!PKCS7_type_is_data(p7)) 163 return ASN1_item_unpack(p7->d.data, ASN1_ITEM_rptr(PKCS12_SAFEBAGS)); 172 PKCS7 *p7; local [all...] |
p12_crt.c | 268 PKCS7 *p7 = NULL; local 285 p7 = PKCS12_pack_p7data(bags); 287 p7 = PKCS12_pack_p7encdata(nid_safe, pass, -1, NULL, 0, 289 if (!p7) 292 if (!sk_PKCS7_push(*psafes, p7)) 304 if (p7) 305 PKCS7_free(p7);
|
p12_kiss.c | 185 PKCS7 *p7; local 189 p7 = sk_PKCS7_value (asafes, i); 190 bagnid = OBJ_obj2nid (p7->type); 192 bags = PKCS12_unpack_p7data(p7); 194 bags = PKCS12_unpack_p7encdata(p7, pass, passlen);
|
p12_npas.c | 109 PKCS7 *p7, *p7new; local 117 p7 = sk_PKCS7_value(asafes, i); 118 bagnid = OBJ_obj2nid(p7->type); 120 bags = PKCS12_unpack_p7data(p7); 122 bags = PKCS12_unpack_p7encdata(p7, oldpass, -1); 123 if (!alg_get(p7->d.encrypted->enc_data->algorithm,
|
pkcs12.h | 190 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7); variable 194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
|
/external/valgrind/main/memcheck/tests/ |
leak-cases.c | 14 // p7 -?-> AAA ---> BBB (y)DR, (n)DL / P (y)IR, (n)IL / P 64 Node* p7; variable 84 p7 = mk(mk(NULL)); // Case 7: 16/1 possibly lost 85 p7++; // 16/1 possibly lost
|
/external/openssl/apps/ |
crl2p7.c | 92 PKCS7 *p7 = NULL; local 211 if ((p7=PKCS7_new()) == NULL) goto end; 213 p7->type=OBJ_nid2obj(NID_pkcs7_signed); 214 p7->d.sign=p7s; 223 crl=NULL; /* now part of p7 for OPENSSL_freeing */ 261 i=i2d_PKCS7_bio(out,p7); 263 i=PEM_write_bio_PKCS7(out,p7); 278 if (p7 != NULL) PKCS7_free(p7);
|
pkcs7.c | 85 PKCS7 *p7=NULL; local 206 p7=d2i_PKCS7_bio(in,NULL); 208 p7=PEM_read_bio_PKCS7(in,NULL,NULL,NULL); 214 if (p7 == NULL) 241 PKCS7_print_ctx(out, p7, 0, NULL); 248 i=OBJ_obj2nid(p7->type); 252 certs=p7->d.sign->cert; 253 crls=p7->d.sign->crl; 256 certs=p7->d.signed_and_enveloped->cert; 257 crls=p7->d.signed_and_enveloped->crl [all...] |
smime.c | 99 PKCS7 *p7 = NULL; local 623 p7 = SMIME_read_PKCS7(in, &indata); 625 p7 = PEM_read_bio_PKCS7(in, NULL, NULL, NULL); 627 p7 = d2i_PKCS7_bio(in, NULL); 634 if (!p7) 686 p7 = PKCS7_encrypt(encerts, in, cipher, flags); 704 p7 = PKCS7_sign(NULL, NULL, other, in, flags); 705 if (!p7) 722 if (!PKCS7_sign_add_signer(p7, signer, key, 733 if (!PKCS7_final(p7, in, flags) [all...] |
pkcs12.c | 704 PKCS7 *p7; local 708 p7 = sk_PKCS7_value (asafes, i); 709 bagnid = OBJ_obj2nid (p7->type); 711 bags = PKCS12_unpack_p7data(p7); 717 p7->d.encrypted->enc_data->algorithm); 719 bags = PKCS12_unpack_p7encdata(p7, pass, passlen);
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
c1035pf.cpp | 272 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; 352 p7 = h - codvec[7]; 366 s = L_mac (s, *p7++, _sign[7]); 410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; local 504 p7 = h - *(p_codvec++); 521 s += (*p7++ * *(p__sign++)) >> 7;
|
c8_31pf.cpp | 214 Word16 *p7; local 308 p7 = h - *(p_codvec); 359 *p7++,
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
p6.cpp | 74 auto p7 = &S::m; local 81 only<int (S::*)> test7 = p7;
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelTest.java | 79 Parcel p7 = Parcel.obtain(); local 80 assertNotNull(p7); 88 p7.recycle(); [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 118 double p7[3],p8[4],p9[5],p10[3],p11[4]; local 154 db_MultiplyPoly1_1(p7,p1,p1); 155 db_MultiplyPoly1_2(p8,p2,p7);
|
/external/openssl/include/openssl/ |
pkcs12.h | 190 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7); variable 194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
MathTest.java | 1053 double p7 = 7.0; local [all...] |
/external/ipsec-tools/src/racoon/ |
oakley.c | 2015 PKCS7 *p7; local [all...] |