/external/openssl/crypto/asn1/ |
a_verify.c | 82 unsigned char *p,*buf_in=NULL; local 95 buf_in=OPENSSL_malloc((unsigned int)inl); 96 if (buf_in == NULL) 101 p=buf_in; 105 || !EVP_VerifyUpdate(&ctx,(unsigned char *)buf_in,inl)) 112 OPENSSL_cleanse(buf_in,(unsigned int)inl); 113 OPENSSL_free(buf_in); 138 unsigned char *buf_in=NULL; local 200 inl = ASN1_item_i2d(asn, &buf_in, it); 202 if (buf_in == NULL [all...] |
a_sign.c | 135 unsigned char *p,*buf_in=NULL,*buf_out=NULL; local 175 buf_in=(unsigned char *)OPENSSL_malloc((unsigned int)inl); 178 if ((buf_in == NULL) || (buf_out == NULL)) 184 p=buf_in; 188 || !EVP_SignUpdate(&ctx,(unsigned char *)buf_in,inl) 207 if (buf_in != NULL) 208 { OPENSSL_cleanse((char *)buf_in,(unsigned int)inl); OPENSSL_free(buf_in); } 237 unsigned char *buf_in=NULL,*buf_out=NULL; local 300 inl=ASN1_item_i2d(asn,&buf_in, it) [all...] |
/external/openssl/apps/ |
pkeyutl.c | 101 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL; local 310 buf_inlen = bio_to_mem(&buf_in, keysize * 10, in); 323 ctmp = buf_in[i]; 324 buf_in[i] = buf_in[l - 1 - i]; 325 buf_in[l - 1 - i] = ctmp; 333 buf_in, (size_t)buf_inlen); 344 buf_in, (size_t)buf_inlen); 353 buf_in, (size_t)buf_inlen); 379 if (buf_in) [all...] |