summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_ameth.c
diff options
context:
space:
mode:
authortb <>2023-08-08 13:59:04 +0000
committertb <>2023-08-08 13:59:04 +0000
commitaa236454370f4590ecc9b0b63b45ee85472147c3 (patch)
treece74387dc64e380226cba28bf0c6d521d287c673 /src/lib/libcrypto/dsa/dsa_ameth.c
parent0bdaf3daedd5dff6d199a2e3f97a6e8e718bc0fc (diff)
downloadopenbsd-aa236454370f4590ecc9b0b63b45ee85472147c3.tar.gz
openbsd-aa236454370f4590ecc9b0b63b45ee85472147c3.tar.bz2
openbsd-aa236454370f4590ecc9b0b63b45ee85472147c3.zip
Make BN_BLINDING respect some invariants
Pass e and mod into BN_BLINDING_new() for now and unconditionally allocate A and Ai. This way non-NULL blindings always have these four members set. This allows removing several unnecessary checks in the update, convert and parameter creation code paths. Fix exit BN_BLINDING_create_param() so as to signal errors to the caller if a non-NULL blinding was passed. This fixes a long standing bug. ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ameth.c')
0 files changed, 0 insertions, 0 deletions