dep-libtomcrypt/tests
Steffen Jaeckel 63091c9e5c 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>
2023-10-09 12:26:21 +02: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 2022-03-17 15:08:37 +01:00
base32_test.c make sure to check yarrow_read() return values 2022-03-17 15:08:37 +01:00
base64_test.c make sure to check yarrow_read() return values 2022-03-17 15:08:37 +01:00
bcrypt_test.c update header 2020-07-14 18:41:30 +02:00
cipher_hash_test.c introduce separate aes_desc 2023-06-22 18:37:25 +02:00
CMakeLists.txt port cmake integration changes from libtommath 2022-10-05 14:49:54 +02:00
common.c port cmake integration changes from libtommath 2022-10-05 14:49:54 +02:00
common.h re-factor some tests 2021-04-10 13:02:39 +02:00
der_test.c Add Testcase for #627 2023-08-07 13:06:53 +02:00
dh_test.c use LTC_NULL in the library code 2022-08-31 13:05:00 +02: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 2023-08-07 11:05:09 +02:00
ed25519_test.c re-factor some parts of the Ed25519ctx and Ed25519ph implementation 2022-08-20 14:38:43 +02:00
file_test.c port cmake integration changes from libtommath 2022-10-05 14:49:54 +02: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 2022-09-02 11:30:45 +02:00
modes_test.c make sure to check yarrow_read() return values 2022-03-17 15:08:37 +01:00
mpi_test.c re-factor some tests 2021-04-10 13:02:39 +02:00
multi_test.c fix incompatibility issues with LLP64 data models 2022-09-12 11:34:27 +02:00
no_null_termination_check_test.c add test-case that uses LTC_NO_NULL_TERMINATION_CHECK 2022-09-02 11:30:45 +02:00
no_prng.c update header 2020-07-14 18:41:30 +02:00
padding_test.c add SSH-style padding 2022-02-10 16:15:14 +01:00
pkcs_1_eme_test.c Add possibility to use different hash algorithms in RSAES-OAEP 2023-10-09 12:26:21 +02:00
pkcs_1_emsa_test.c use LTC_NULL in the library code 2022-08-31 13:05:00 +02:00
pkcs_1_oaep_test.c use LTC_NULL in the library code 2022-08-31 13:05:00 +02:00
pkcs_1_pss_test.c use LTC_NULL in the library code 2022-08-31 13:05:00 +02:00
pkcs_1_test.c Add possibility to use different hash algorithms in RSAES-OAEP 2023-10-09 12:26:21 +02: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 2023-10-09 12:26:21 +02:00
sources.cmake port cmake integration changes from libtommath 2022-10-05 14:49:54 +02:00
ssh_test.c use LTC_NULL in the library code 2022-08-31 13:05:00 +02:00
store_test.c make sure to check yarrow_read() return values 2022-03-17 15:08:37 +01:00
test.c introduce separate aes_desc 2023-06-22 18:37:25 +02: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
test_dsa.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 2022-09-02 11:30:45 +02:00
x25519_test.c manually fix the remaining leading _'s 2020-07-16 10:38:33 +02:00