signature-params: Provide option for maximum RSA/PSS salt length
authorTobias Brunner <tobias@strongswan.org>
Fri, 12 Oct 2018 10:11:51 +0000 (12:11 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 26 Oct 2018 07:03:26 +0000 (09:03 +0200)
commitecfe67550df6691d0e0c0a2af1e9a7accd11ff76
tree32e76669d267df5ea9d2fc1610e36b1d6877973c
parentdd4bd21c5a22c9eb8ecc23a6ece907e95c793136
signature-params: Provide option for maximum RSA/PSS salt length

However, the length now has to be resolved early, so we don't operate on
the negative constant values e.g. when generating the encoding.
15 files changed:
src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_private_key.c
src/libstrongswan/credentials/auth_cfg.c
src/libstrongswan/credentials/keys/public_key.c
src/libstrongswan/credentials/keys/signature_params.c
src/libstrongswan/credentials/keys/signature_params.h
src/libstrongswan/plugins/botan/botan_rsa_private_key.c
src/libstrongswan/plugins/gcrypt/gcrypt_rsa_private_key.c
src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c
src/libstrongswan/plugins/gmp/gmp_rsa_private_key.c
src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c
src/libstrongswan/plugins/openssl/openssl_rsa_private_key.c
src/libstrongswan/plugins/openssl/openssl_rsa_public_key.c
src/libstrongswan/tests/suites/test_rsa.c
src/libstrongswan/tests/suites/test_signature_params.c
src/pki/pki.c