Skip to content

Wycheproof failures #745

@karel-m

Description

@karel-m

In Project Wycheproof there are currently 340 JSON files with test vectors.

I have:

  • used current https://github.com/C2SP/wycheproof
  • executed 65883 vectors (with libtomcrypt develop branch)
  • skipped 78428 vectors (mostly the given algo not implemented in libtomcrypt)

From the 65883 executed tests, we have 308 unique failed tcIds (0.5%):

  JSON file                            Fail/Total
  ------------------------------------ ------------
  aes_cbc_pkcs5_test.json                 3/216
  camellia_cbc_pkcs5_test.json            3/216
  ec_prime_order_curves_test.json         1/26
  ecdh_brainpoolP224r1_test.json          5/787
  ecdh_brainpoolP256r1_test.json          5/804
  ecdh_brainpoolP320r1_test.json          3/771
  ecdh_brainpoolP384r1_test.json          5/936
  ecdh_brainpoolP512r1_test.json          5/794
  ecdh_secp224r1_pem_test.json            3/714
  ecdh_secp224r1_test.json                3/714
  ecdh_secp256k1_test.json                3/752
  ecdh_secp256r1_ecpoint_test.json        9/355
  ecdh_secp256r1_pem_test.json           12/612
  ecdh_secp256r1_test.json               12/612
  ecdh_secp256r1_webcrypto_test.json      9/353
  ecdh_secp384r1_ecpoint_test.json       13/790
  ecdh_secp384r1_pem_test.json           16/1047
  ecdh_secp384r1_test.json               16/1047
  ecdh_secp384r1_webcrypto_test.json     13/794
  ecdh_secp521r1_ecpoint_test.json       12/661
  ecdh_secp521r1_pem_test.json           15/916
  ecdh_secp521r1_test.json               15/916
  ecdh_secp521r1_webcrypto_test.json     12/655
  ed448_test.json                         3/86
  x448_asn_test.json                     28/529
  x448_jwk_test.json                     28/523
  x448_pem_test.json                     28/510
  x448_test.json                         28/510

Do not take the numbers as exact; they may vary slightly, as I may have done some simplifications.

For now just this information, I will try to submit separate PRs to fix some of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions