Commit Graph

14 Commits (05daee9e89e6e5df88ea7085c7243923a0b00994)

Author SHA1 Message Date
Andrew Hutchings 05daee9e89
Merge pull request #618 from dgarske/optee_pkcs11
Add PKCS11 OP-TEE token support with a PKCS#11 token initialization example
2026-08-21 13:30:46 +01:00
David Garske 28a6f5b8b1 pkcs11: link -ldl for the token init example and only take a numeric slot arg 2026-08-21 05:25:59 -07:00
David Garske 803d9c8226 pkcs11: add OP-TEE token support with a token initialization example 2026-08-18 15:50:47 -07:00
Sean Parkinson 289b290a9b pkcs11_test.c: fix uninitialized
Some compilers believe that modSz and expSz may be uninitialized at use.
Initialize to 0 to stop warnings.
2026-08-17 16:01:06 +10:00
Emma Stensland 8f0f1af04a F-1298 F-1302 F-1307 F-1712 F-1713 F-1719 F-1720 F-1721 F-1722 F-2093 F-3466 F-3472 F-3477 F-4131 F-4132 F-4600 F-5612 F-6286 F-6289 F-6536: Fix error handling in crypto and signature examples 2026-07-14 15:06:41 -06:00
JacobBarthelmeh 2f67b03800
Merge pull request #460 from anhu/client-tls-pkcs11
Add in client examples that use PKCS11.
2024-09-26 09:38:43 -06:00
Anthony Hu e95373bf30 Fixups suggested in review. 2024-09-20 16:12:19 -04:00
Colton Willey 7805496f0d Update PKCS11 examples to set RNG for RSA operations 2024-09-04 11:24:10 -07:00
Sean Parkinson e617ac6cd0 Added testing of new label APIs
Using a label string instead of an ID is useful for customers that name
the keys rather than using devices generated ID.
2020-11-27 08:42:50 +10:00
Sean Parkinson dc35120793 PKCS#11: Update samples to handle no user pin and ECC type
PKCS#11 devices allow generating an ECC key for Derivation or
Decrypt/Sign not both at once.
2020-10-02 10:16:33 +10:00
Sean Parkinson fe08915dea Add PKCS#11 random number generator example
Add copyright notices to files.
2020-06-25 09:13:48 +10:00
Sean Parkinson 7574665288 Add sample and testing of HMAC 2019-02-19 16:06:14 +10:00
Sean Parkinson 45dfcd8e3a Add testing and sample for AES-CBC 2019-02-19 13:45:56 +10:00
Sean Parkinson 0e65ab1c3c Add PKCS#11 examples and test 2019-01-23 12:49:02 +10:00