From 0ac258ed0be58a228adc6805a94c774504119687 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 27 Jan 2021 13:11:59 +0100 Subject: [PATCH] Don't consider secp192r1 SECP192R1 is declared in the PSA API specification, but it's an old one that Mbed TLS doesn't support and even OpenSSL doesn't support. We don't have test vectors for it. Just skip it. Signed-off-by: Gilles Peskine --- scripts/mbedtls_dev/crypto_knowledge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mbedtls_dev/crypto_knowledge.py b/scripts/mbedtls_dev/crypto_knowledge.py index 65dbc347d..e9dad1d2d 100644 --- a/scripts/mbedtls_dev/crypto_knowledge.py +++ b/scripts/mbedtls_dev/crypto_knowledge.py @@ -54,7 +54,7 @@ class KeyType: ECC_KEY_SIZES = { 'PSA_ECC_FAMILY_SECP_K1': (192, 224, 256), - 'PSA_ECC_FAMILY_SECP_R1': (192, 225, 256, 384, 521), + 'PSA_ECC_FAMILY_SECP_R1': (225, 256, 384, 521), 'PSA_ECC_FAMILY_SECP_R2': (160,), 'PSA_ECC_FAMILY_SECT_K1': (163, 233, 239, 283, 409, 571), 'PSA_ECC_FAMILY_SECT_R1': (163, 233, 283, 409, 571),