libtomcrypt/tests
Steffen Jaeckel 07bfe77cfb Add possibility to use different hash algorithms in RSAES-OAEP
The hash algorithms used in the MGF and to create the hash of the Label
must not forcibly be the same. This change allows to use different
algorithms.

Unfortunately this breaks the API if you use one of:
* `rsa_decrypt_key_ex()`
* `rsa_encrypt_key_ex()`
* `pkcs_1_oaep_decode()`
* `pkcs_1_oaep_encode()`

The `rsa_decrypt_key()` and `rsa_encrypt_key()` macros are still the same.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2024-02-18 17:03:02 +00:00
..
asn1 add testvectors from [1] 2018-02-25 20:42:26 +01:00
rsa add testvectors from [1] 2018-02-25 20:42:26 +01:00
rsa-pkcs8 add more rsa-pkcs8 PBES2-RC2 test-files 2018-10-06 23:04:51 +02:00
base16_test.c make sure to check yarrow_read() return values 2024-02-18 17:02:07 +00:00
base32_test.c make sure to check yarrow_read() return values 2024-02-18 17:02:07 +00:00
base64_test.c make sure to check yarrow_read() return values 2024-02-18 17:02:07 +00:00
bcrypt_test.c update header 2020-07-14 18:41:30 +02:00
cipher_hash_test.c introduce separate aes_desc 2024-02-18 17:02:10 +00:00
CMakeLists.txt port cmake integration changes from libtommath 2024-02-18 17:02:09 +00:00
common.c port cmake integration changes from libtommath 2024-02-18 17:02:09 +00:00
common.h re-factor some tests 2024-02-18 17:02:06 +00:00
der_test.c Add Testcase for #627 2024-02-18 17:03:01 +00:00
dh_test.c use LTC_NULL in the library code 2024-02-18 17:02:08 +00:00
dsa_test.c manually fix the remaining leading _'s 2020-07-16 10:38:33 +02:00
ecc_test.c Add Testcase for #630 2024-02-18 17:02:10 +00:00
ed25519_test.c re-factor some parts of the Ed25519ctx and Ed25519ph implementation 2024-02-18 17:02:08 +00:00
file_test.c port cmake integration changes from libtommath 2024-02-18 17:02:09 +00:00
mac_test.c update header 2020-07-14 18:41:30 +02:00
misc_test.c add test-case that uses LTC_NO_NULL_TERMINATION_CHECK 2024-02-18 17:02:08 +00:00
modes_test.c make sure to check yarrow_read() return values 2024-02-18 17:02:07 +00:00
mpi_test.c re-factor some tests 2024-02-18 17:02:06 +00:00
multi_test.c fix incompatibility issues with LLP64 data models 2024-02-18 17:02:08 +00:00
no_null_termination_check_test.c add test-case that uses LTC_NO_NULL_TERMINATION_CHECK 2024-02-18 17:02:08 +00:00
no_prng.c update header 2020-07-14 18:41:30 +02:00
padding_test.c add SSH-style padding 2024-02-18 17:02:07 +00:00
pkcs_1_eme_test.c Add possibility to use different hash algorithms in RSAES-OAEP 2024-02-18 17:03:02 +00:00
pkcs_1_emsa_test.c use LTC_NULL in the library code 2024-02-18 17:02:08 +00:00
pkcs_1_oaep_test.c use LTC_NULL in the library code 2024-02-18 17:02:08 +00:00
pkcs_1_pss_test.c use LTC_NULL in the library code 2024-02-18 17:02:08 +00:00
pkcs_1_test.c Add possibility to use different hash algorithms in RSAES-OAEP 2024-02-18 17:03:02 +00:00
prng_test.c update header 2020-07-14 18:41:30 +02:00
rotate_test.c update header 2020-07-14 18:41:30 +02:00
rsa_test.c Add possibility to use different hash algorithms in RSAES-OAEP 2024-02-18 17:03:02 +00:00
sources.cmake port cmake integration changes from libtommath 2024-02-18 17:02:09 +00:00
ssh_test.c use LTC_NULL in the library code 2024-02-18 17:02:08 +00:00
store_test.c make sure to check yarrow_read() return values 2024-02-18 17:02:07 +00:00
test_dsa.key rename 'testprof/' to 'tests/' 2017-06-08 22:20:45 +02:00
test.c introduce separate aes_desc 2024-02-18 17:02:10 +00:00
test.der rename 'testprof/' to 'tests/' 2017-06-08 22:20:45 +02:00
test.key rename 'testprof/' to 'tests/' 2017-06-08 22:20:45 +02:00
tomcrypt_test.h add test-case that uses LTC_NO_NULL_TERMINATION_CHECK 2024-02-18 17:02:08 +00:00
x25519_test.c manually fix the remaining leading _'s 2020-07-16 10:38:33 +02:00