param_bld: add a padded BN call.
authorPauli <paul.dale@oracle.com>
Tue, 14 Jan 2020 09:36:39 +0000 (19:36 +1000)
committerPauli <paul.dale@oracle.com>
Sun, 19 Jan 2020 00:20:06 +0000 (10:20 +1000)
commitac23078b78305ba7b60d1459cf0db5df96e89d84
treeaa31103f40ca47125121661807b5059ab776cd09
parenta978dc3bffb63e6bfc40fe6955e8798bdffb4e7e
param_bld: add a padded BN call.

To aviod leaking size information when passing private value using the
OSSL_PARAM builder, a padded BN call is required.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10840)
crypto/param_build.c
doc/internal/man3/ossl_param_bld_init.pod
include/internal/param_build.h
test/param_build_test.c