Commit 4443c94
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 code1 parent c7a1c25 commit 4443c94
4 files changed
Lines changed: 654 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments