diff options
author | tb <> | 2023-08-08 13:59:04 +0000 |
---|---|---|
committer | tb <> | 2023-08-08 13:59:04 +0000 |
commit | ee52c24f5bd67428aaba2f1ca699029a1a069cf6 (patch) | |
tree | ce74387dc64e380226cba28bf0c6d521d287c673 /src/usr.sbin | |
parent | 83b348b817ac67aa3c0b138f7ed9ad3367a997fd (diff) | |
download | openbsd-ee52c24f5bd67428aaba2f1ca699029a1a069cf6.tar.gz openbsd-ee52c24f5bd67428aaba2f1ca699029a1a069cf6.tar.bz2 openbsd-ee52c24f5bd67428aaba2f1ca699029a1a069cf6.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/usr.sbin')
0 files changed, 0 insertions, 0 deletions