Commit graph

2 commits

Author SHA1 Message Date
Gilles Peskine 72a0789e63 Use 1024-bit ESA key in PKCS#11 tests
This avoids an in-your-face warning about small key sizes with SoftHSM 2.0.
2018-01-23 09:28:12 -05:00
Andrzej Kurek 753b86c5fd New module: pkcs11_client
New module pkcs11_client.c, defining an opaque pk engine whose backend
is a PKCS#11 token (cryptographic module using the Cryptoki API).

New config option PKCS11_CLIENT_C. Requires pkcs11.h to compile and a
pkcs11 library to link.

Test setup meant to be used with the SoftHSM v2 library (libsofthsm2).
The test setup is not yet integrated with the Mbed TLS test framework.
Before running tests involving PKCS#11, you need to run

    cd tests && scripts/pkcs11-client-test.sh init
2018-01-23 08:56:17 -05:00