diff options
author | Michael Boric <[email protected]> | 2019-08-21 13:41:32 +0200 |
---|---|---|
committer | Michael Boric <[email protected]> | 2019-09-24 15:08:31 +0200 |
commit | b5dd3793106cc87f3a1a3a4c93c9ad8fef053ac7 (patch) | |
tree | 89c0ed98a590e2f42e0f5007520f4855e58c7715 /doc/api_ref | |
parent | efecb6578b695d50a25e0aa4fc004e6be30c7ff4 (diff) |
Improve ECC PKCS#11 tests
* try catch in p11 high and low level tests. If a test throws an exception, the test output contains the name of the test case that failed. Before, only the name of the suite was printed.
* add a test case that imports elliptic curve parameters
* add curve brainpool512r1 to PKCS11 test test_ecdsa_sign_verify()
* add curve brainpool512r1 to test_ecdsa_generate_keypair()
* update tested/supported smartcards in manual
Diffstat (limited to 'doc/api_ref')
-rw-r--r-- | doc/api_ref/pkcs11.rst | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/doc/api_ref/pkcs11.rst b/doc/api_ref/pkcs11.rst index 781777264..9e0ddfa67 100644 --- a/doc/api_ref/pkcs11.rst +++ b/doc/api_ref/pkcs11.rst @@ -1281,7 +1281,9 @@ Test results +-------------------------------------+-------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+ | CardOS 5.3 | mostly works | Windows 10, 64-bit, version 1709 | API Version 5.4.9.77 (Cryptoki v2.11) | 2.4.0, Cryptoki v2.40 | [52]_ | +-------------------------------------+-------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+ -| Gemalto IDPrime MD 3840 | mostly works | Windows 10, 64-bit, version 1709 | IDGo 800, v1.2.4 (Cryptoki v2.20) | 2.4.0, Cryptoki v2.40 | [53]_ | +| CardOS 5.3 | mostly works | Windows 10, 64-bit, version 1903 | API Version 5.5.1 (Cryptoki v2.11) | 2.12.0 unreleased, Cryptoki v2.40 | [53]_ | ++-------------------------------------+-------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+ +| Gemalto IDPrime MD 3840 | mostly works | Windows 10, 64-bit, version 1709 | IDGo 800, v1.2.4 (Cryptoki v2.20) | 2.4.0, Cryptoki v2.40 | [54]_ | +-------------------------------------+-------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+ | SoftHSM 2.3.0 (OpenSSL 1.0.2g) | works | Windows 10, 64-bit, version 1709 | Cryptoki v2.40 | 2.4.0, Cryptoki v2.40 | | +-------------------------------------+-------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+---------------------------------------------------+ @@ -1360,7 +1362,23 @@ Test results - rng_add_entropy [5]_ -.. [53] Failing operations for Gemalto IDPrime MD 3840 +.. [53] Failing operations for CardOS 5.3 (middelware 5.5.1) + + - ecdh_privkey_export [2]_ + - ecdh_generate_private_key [35]_ + - ecdsa_privkey_export [2]_ + - ecdsa_generate_private_key [36]_ + - c_copy_object [4]_ + + - object_copy [4]_ + + - rng_add_entropy [5]_ + + - rsa_sign_verify [3]_ + - rsa_privkey_export [2]_ + - rsa_generate_private_key [9]_ + +.. [54] Failing operations for Gemalto IDPrime MD 3840 - session_login_logout [2]_ - session_info [2]_ @@ -1385,6 +1403,7 @@ Error descriptions .. [6] CKM_X9_42_DH_KEY_PAIR_GEN | CKR_DEVICE_ERROR (0x30=48) .. [7] CKR_TEMPLATE_INCONSISTENT (0xD1=209) .. [8] CKR_ENCRYPTED_DATA_INVALID | CKM_SHA256_RSA_PKCS (0x40=64) +.. [9] CKR_TEMPLATE_INCOMPLETE (0xD0=208) .. [20] Test fails due to unsupported copy function (CKR_FUNCTION_NOT_SUPPORTED) .. [21] Generating private key for extraction with property extractable fails (CKR_ARGUMENTS_BAD) @@ -1396,3 +1415,5 @@ Error descriptions .. [32] Invalid argument OS2ECP: Unknown format type 155 .. [33] Invalid argument OS2ECP: Unknown format type 92 .. [34] Invalid argument OS2ECP: Unknown format type 57 +.. [35] Invalid argument OS2ECP: Unknown format type 82 +.. [36] Invalid argument OS2ECP: Unknown format type 102 |