diff options
author | tb <> | 2023-11-07 15:59:29 +0000 |
---|---|---|
committer | tb <> | 2023-11-07 15:59:29 +0000 |
commit | 66ac5ef1353189379f348b33a8078181e152180f (patch) | |
tree | 4ee2dc606d70ff0cb3d1f9333e8816be7620414a /src/lib/libcrypto/ec/ecx_methods.c | |
parent | 63aa8c525ade16abc28a26eb81b6a6ab3d9fdfbb (diff) | |
download | openbsd-66ac5ef1353189379f348b33a8078181e152180f.tar.gz openbsd-66ac5ef1353189379f348b33a8078181e152180f.tar.bz2 openbsd-66ac5ef1353189379f348b33a8078181e152180f.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/libcrypto/ec/ecx_methods.c')
0 files changed, 0 insertions, 0 deletions