Skip to content

Commit 4443c94

Browse files
committed
Issue(s):
1. Bug: Derived TLS PSK implementation is not specification compliant 2. Improvement(s): - hkdf function implementations do not support ability to run known-answer test (KAT) as algorithm verification - Thus, no KAT is run as an algorithm verification before using the hkdf algorithms as a robustness Solution(s): 1. Bug Fix: Introduce and use compliant HKDF-Extract, HKDF-Expand, and HKDF-Expand-Label crypto services to derive TLS PSK 2. Enhancement(s): - Implement KAT for HKDF-Extract, HKDF-Expand, and HKDF-Expand-Label - Introduce KAT to before using the algorithm to ensure accidentally wrong keys are not generated - The new crypto services can be used to address similar issues in the other part of the livnvme code
1 parent c7a1c25 commit 4443c94

4 files changed

Lines changed: 654 additions & 10 deletions

File tree

src/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ sources = [
1616
'nvme/tree.c',
1717
'nvme/util.c',
1818
'nvme/base64.c',
19-
'nvme/crc32.c'
19+
'nvme/crc32.c',
20+
'nvme/crypto_services.c'
2021
]
2122

2223
mi_sources = [

0 commit comments

Comments
 (0)