diff options
author | tb <> | 2023-11-07 15:59:29 +0000 |
---|---|---|
committer | tb <> | 2023-11-07 15:59:29 +0000 |
commit | 2e7c7e380a9fb64d45feb484bc1dcc142c7dd305 (patch) | |
tree | 4ee2dc606d70ff0cb3d1f9333e8816be7620414a /src/lib/libssl | |
parent | a708d2161971398e204c82107e26fd3f23f91219 (diff) | |
download | openbsd-2e7c7e380a9fb64d45feb484bc1dcc142c7dd305.tar.gz openbsd-2e7c7e380a9fb64d45feb484bc1dcc142c7dd305.tar.bz2 openbsd-2e7c7e380a9fb64d45feb484bc1dcc142c7dd305.zip |
Add a helper to set RSASSA-PSS padding parameters
This sets the AlgorithmIdentifier's algorithm to id-RSASSA-PSS with
appropriate RSASSA-PSS parameters. This pulls a chunk of code out of
rsa_cms_sign() and rewrites it with proper error checking, thereby
fixing a long-standing leak.
This helper can also be used in rsa_item_sign(), but that part is a
bit special, and will therefore be commmitted separately.
ok jsing
Diffstat (limited to 'src/lib/libssl')
0 files changed, 0 insertions, 0 deletions