Custom KBKDF HMAC implementation 66/288366/12
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 10 Feb 2023 15:02:15 +0000 (16:02 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 17 Mar 2023 12:23:15 +0000 (13:23 +0100)
commitbef8106e0f763611c38d7b1e3a51f154a59b6ca9
treedc549b1045d109a6aef18561991f81f4a66076e4
parentc0e28cfacf9f4bd32d1c71fc700db81d81a1b89b
Custom KBKDF HMAC implementation

There's no KBKDF support in openssl1.1. Added implementation based on
NIST spec, openssl3.0 KBKDF implementation (as a reference) and
openssl1.1 HMAC.

Test vector validation included (supported PRFs only)

Change-Id: If1dc6070e8e8fc35582876c6fd4b4be4497c7de4
misc/ckm_db_tool/CMakeLists.txt
src/CMakeLists.txt
src/manager/crypto/sw-backend/kbkdf.cpp [new file with mode: 0644]
src/manager/crypto/sw-backend/kbkdf.h [new file with mode: 0644]
unit-tests/CMakeLists.txt
unit-tests/resources/KDFCTR_gen.rsp [new file with mode: 0644]
unit-tests/test_kbkdf.cpp [new file with mode: 0644]