Home
last modified time | relevance | path

Searched refs:buf_out (Results 1 – 4 of 4) sorted by relevance

/external/openssl/crypto/asn1/
Da_sign.c135 unsigned char *p,*buf_in=NULL,*buf_out=NULL; in ASN1_sign() local
177 buf_out=(unsigned char *)OPENSSL_malloc((unsigned int)outl); in ASN1_sign()
178 if ((buf_in == NULL) || (buf_out == NULL)) in ASN1_sign()
189 || !EVP_SignFinal(&ctx,(unsigned char *)buf_out, in ASN1_sign()
197 signature->data=buf_out; in ASN1_sign()
198 buf_out=NULL; in ASN1_sign()
209 if (buf_out != NULL) in ASN1_sign()
210 { OPENSSL_cleanse((char *)buf_out,outll); OPENSSL_free(buf_out); } in ASN1_sign()
237 unsigned char *buf_in=NULL,*buf_out=NULL; in ASN1_item_sign_ctx() local
302 buf_out=OPENSSL_malloc((unsigned int)outl); in ASN1_item_sign_ctx()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Da_sign.c135 unsigned char *p,*buf_in=NULL,*buf_out=NULL; in ASN1_sign() local
177 buf_out=(unsigned char *)OPENSSL_malloc((unsigned int)outl); in ASN1_sign()
178 if ((buf_in == NULL) || (buf_out == NULL)) in ASN1_sign()
189 || !EVP_SignFinal(&ctx,(unsigned char *)buf_out, in ASN1_sign()
197 signature->data=buf_out; in ASN1_sign()
198 buf_out=NULL; in ASN1_sign()
209 if (buf_out != NULL) in ASN1_sign()
210 { OPENSSL_cleanse((char *)buf_out,outll); OPENSSL_free(buf_out); } in ASN1_sign()
237 unsigned char *buf_in=NULL,*buf_out=NULL; in ASN1_item_sign_ctx() local
302 buf_out=OPENSSL_malloc((unsigned int)outl); in ASN1_item_sign_ctx()
[all …]
/external/chromium_org/third_party/openssl/openssl/apps/
Dpkeyutl.c101 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL; in MAIN() local
347 buf_out = OPENSSL_malloc(buf_outlen); in MAIN()
348 if (!buf_out) in MAIN()
352 buf_out, (size_t *)&buf_outlen, in MAIN()
366 if(!ASN1_parse_dump(out, buf_out, buf_outlen, 1, -1)) in MAIN()
370 BIO_dump(out, (char *)buf_out, buf_outlen); in MAIN()
372 BIO_write(out, buf_out, buf_outlen); in MAIN()
381 if (buf_out) in MAIN()
382 OPENSSL_free(buf_out); in MAIN()
/external/openssl/apps/
Dpkeyutl.c101 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL; in MAIN() local
347 buf_out = OPENSSL_malloc(buf_outlen); in MAIN()
348 if (!buf_out) in MAIN()
352 buf_out, (size_t *)&buf_outlen, in MAIN()
366 if(!ASN1_parse_dump(out, buf_out, buf_outlen, 1, -1)) in MAIN()
370 BIO_dump(out, (char *)buf_out, buf_outlen); in MAIN()
372 BIO_write(out, buf_out, buf_outlen); in MAIN()
381 if (buf_out) in MAIN()
382 OPENSSL_free(buf_out); in MAIN()