Lines Matching refs:buf_out
32 unsigned char *p, *buf_in = NULL, *buf_out = NULL; in ASN1_sign() local
82 buf_out = OPENSSL_malloc(outll); in ASN1_sign()
83 if (buf_in == NULL || buf_out == NULL) { in ASN1_sign()
92 || !EVP_SignFinal(ctx, (unsigned char *)buf_out, in ASN1_sign()
98 ASN1_STRING_set0(signature, buf_out, outl); in ASN1_sign()
99 buf_out = NULL; in ASN1_sign()
108 OPENSSL_clear_free((char *)buf_out, outll); in ASN1_sign()
153 unsigned char *buf_in = NULL, *buf_out = NULL; in ASN1_item_sign_ctx() local
269 buf_out = OPENSSL_malloc(outll); in ASN1_item_sign_ctx()
270 if (buf_in == NULL || buf_out == NULL) { in ASN1_item_sign_ctx()
275 if (!EVP_DigestSign(ctx, buf_out, &outl, buf_in, inl)) { in ASN1_item_sign_ctx()
280 ASN1_STRING_set0(signature, buf_out, outl); in ASN1_item_sign_ctx()
281 buf_out = NULL; in ASN1_item_sign_ctx()
289 OPENSSL_clear_free((char *)buf_out, outll); in ASN1_item_sign_ctx()