From: Peter P. <no...@gi...> - 2022-02-07 13:15:18
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: f1cac4700b8062998131d640c46f6f3ac50d0fa5 https://github.com/OpenSC/OpenSC/commit/f1cac4700b8062998131d640c46f6f3ac50d0fa5 Author: Peter Popovec <pop...@gm...> Date: 2022-02-07 (Mon, 07 Feb 2022) Changed paths: M src/libopensc/internal.h M src/libopensc/padding.c M src/libopensc/pkcs15-sec.c M src/libopensc/pkcs15.h M src/minidriver/minidriver.c M src/pkcs11/framework-pkcs15.c M src/tests/fuzzing/fuzz_pkcs15_reader.c M src/tools/pkcs15-crypt.c Log Message: ----------- OAEP decrypt: support for optional "label" For OAEP encryption, RFC8017 allow us to use an optional "label" to be associated with the message. This "label" is represented in PKCS#11 as optional encoding parameter in CK_RSA_PKCS_OAEP_PARAMS. This patch introduces the ability to use this optional "label". Fixes #2363 Commit: 870f21a931772327ba514662abb8f54cc08f9673 https://github.com/OpenSC/OpenSC/commit/870f21a931772327ba514662abb8f54cc08f9673 Author: Peter Popovec <pop...@gm...> Date: 2022-02-07 (Mon, 07 Feb 2022) Changed paths: M src/tools/pkcs11-tool.c Log Message: ----------- pkcs11-tool: test for oaep decrypt using optional "label" "pkcs11-tool -l -t" now attempts to use optional "label" in OAEP decipher. Compare: https://github.com/OpenSC/OpenSC/compare/43e44361699e...870f21a93177 |