Skip to content

Commit af6b189

Browse files
Teach crypto_knowledge the categories of SP800_100 and SPAKE2P algorithms
Signed-off-by: Gilles Peskine <[email protected]>
1 parent 4ff6a49 commit af6b189

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/mbedtls_framework/crypto_knowledge.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,14 @@ def determine_head(expr: str) -> str:
355355
'TLS12_PRF': AlgorithmCategory.KEY_DERIVATION,
356356
'TLS12_PSK_TO_MS': AlgorithmCategory.KEY_DERIVATION,
357357
'TLS12_ECJPAKE_TO_PMS': AlgorithmCategory.KEY_DERIVATION,
358+
'SP800_108': AlgorithmCategory.KEY_DERIVATION,
358359
'PBKDF': AlgorithmCategory.KEY_DERIVATION,
359360
'ECDH': AlgorithmCategory.KEY_AGREEMENT,
360361
'FFDH': AlgorithmCategory.KEY_AGREEMENT,
361362
# KEY_AGREEMENT(...) is a key derivation with a key agreement component
362363
'KEY_AGREEMENT': AlgorithmCategory.KEY_DERIVATION,
363364
'JPAKE': AlgorithmCategory.PAKE,
365+
'SPAKE2P': AlgorithmCategory.PAKE,
364366
}
365367
for x in BLOCK_MAC_MODES:
366368
CATEGORY_FROM_HEAD[x] = AlgorithmCategory.MAC

0 commit comments

Comments
 (0)