libtpms/src
Juergen Repp e426198437 tpm2: Do not call EVP_PKEY_CTX_set0_rsa_oaep_label() for label of size 0 (OSSL 3)
Openssl 3.0 did return an error if EVP_PKEY_CTX_set0_rsa_oaep_label was called
with label size 0. The function should only be called if the size of the label
is greater 0.
With this fix TPM2_RSA_Encrypt/Decrypt did work with OpenSSL 1.1 and 3.0
for encryption without label.

Signed-off-by: Juergen Repp <juergen.repp@sit.fraunhofer.de>
2022-03-02 07:24:21 -05:00
..
tpm2 tpm2: Do not call EVP_PKEY_CTX_set0_rsa_oaep_label() for label of size 0 (OSSL 3) 2022-03-02 07:24:21 -05:00
tpm12 Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
compiler.h library: use __attribute__((format,...) to check printf format and args 2018-06-15 18:07:49 -04:00
disabled_interface.c build-sys: add optional --with-tpm1 2021-08-06 08:04:37 -04:00
libtpms.syms Integrate the TPM 2 into the library; do not compile with TPM 2 yet 2018-06-15 18:07:47 -04:00
Makefile.am build-sys: Use -DOPENSSL_SUPPRESS_DEPRECATED to suppress warning (OSSL 3) 2021-09-21 16:52:22 -04:00
test.syms build-sys: work around broken linker when testing --version-script support 2018-08-30 21:45:16 +00:00
tpm_debug.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_debug.h Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_library_conf.h Fix many misspellings 2021-03-02 08:20:25 -05:00
tpm_library_intern.h build-sys: add optional --with-tpm1 2021-08-06 08:04:37 -04:00
tpm_library.c build-sys: add optional --with-tpm1 2021-08-06 08:04:37 -04:00
tpm_memory.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_nvfile.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_nvfile.h Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_tpm2_interface.c tpm2: Report SM4 keysizes ing GetInfo's JSON if SM4 is enabled 2021-10-13 19:37:20 -04:00
tpm_tpm2_tis.c tpm2: rev155: Major refactoring of header files 2020-04-14 16:03:45 -04:00
tpm_tpm12_interface.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00
tpm_tpm12_tis.c Move common debug, memory & nvfile units to src/ 2021-08-06 08:04:37 -04:00