Migrate to openssl3 97/295697/6 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231014.183159 accepted/tizen/unified/20231013.095107 accepted/tizen/unified/20231016.042326 tizen_8.0_m2_release
authorDariusz Michaluk <d.michaluk@samsung.com>
Wed, 12 Jul 2023 10:21:09 +0000 (12:21 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Thu, 5 Oct 2023 07:21:22 +0000 (09:21 +0200)
commit27a5467240a7a605a1e36c534fadc367d624d6c7
treec67f53c857535e8e77af32ba4def61ca151c769c
parent62911bc684c6f4ab7cc73158cdfa30210099a1f9
Migrate to openssl3

This commit introduce few incompatibilities with previous API:
- enforce a minimum DH modulus size of 512 bits,
- enforce a minimum DSA key size of 1024 bits,
- YACA_PADDING_PKCS1_SSLV23 is now equal to YACA_PADDING_PKCS1,
- YACA_KDF_X942 has changed CEK wrapping algorithm to AES-256-WRAP,
 in result derived key will change.

Change-Id: Ifc852ec6829d63d66925e3007e37254126be60e5
24 files changed:
CMakeLists.txt
api/yaca/yaca_key.h
api/yaca/yaca_types.h
examples/rsa_public.c
packaging/yaca.spec
src/CMakeLists.txt
src/debug.c
src/digest.c
src/encrypt.c
src/key.c
src/rsa.c
src/seal.c
src/sign.c
tests/mock_test_key.cpp
tests/mock_test_sign.cpp
tests/mock_test_simple.cpp
tests/openssl_mock_functions.h
tests/openssl_mock_impl.c
tests/openssl_mock_impl.h
tests/openssl_mock_redefine.h
tests/test_debug.cpp
tests/test_key.cpp
tests/test_sign.cpp
tests/test_simple.cpp