RE: ASN1_bn_print

2014-04-23 Thread Michael Wojcik
> From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of Jeffrey Walton > Sent: Sunday, 20 April, 2014 04:42 > > RSA_print_fp eventually calls ASN1_bn_print (multiple times) with each > of the RSA parameters. ASN1_bn_print is shown below

ASN1_bn_print

2014-04-20 Thread Jeffrey Walton
RSA_print_fp eventually calls ASN1_bn_print (multiple times) with each of the RSA parameters. ASN1_bn_print is shown below. A couple of questions: (1) why is the buffer 'buf' required for the function? What is its size supposed to be? (I know 'BN_num_bytes(num)' is too sm