Commit Graph

27 Commits (master)

Author SHA1 Message Date
Devin AI 3ab39f8468 Fix preprocessor directive issue by removing redundant #ifndef NO_RSA
Co-Authored-By: colton@wolfssl.com <colton@wolfssl.com>
2025-03-21 18:36:39 +00:00
Devin AI e298fbf19a Address PR comments for RSA encrypt/decrypt example
Co-Authored-By: colton@wolfssl.com <colton@wolfssl.com>
2025-03-21 18:31:11 +00:00
Devin AI 0d3766df21 Add RSA encrypt/decrypt example to pkcs11_rsa.c
Co-Authored-By: colton@wolfssl.com <colton@wolfssl.com>
2025-03-20 19:52:13 +00: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 0f7a32e75c Quick fixes 2024-09-23 12:37:13 -04:00
Anthony Hu e95373bf30 Fixups suggested in review. 2024-09-20 16:12:19 -04:00
Anthony Hu 653a2a9c63 Add in client examples that use PKCS11. 2024-09-12 14:45:13 -04:00
Colton Willey 3f13cc3cc7 Update for code formatting 2024-09-05 09:44:22 -07:00
Colton Willey 7805496f0d Update PKCS11 examples to set RNG for RSA operations 2024-09-04 11:24:10 -07:00
Colton Willey ef5c8dc5bb Add RSA PSS signing to PKCS11 examples 2024-09-04 10:08:42 -07:00
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04: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
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
David Garske d330c53baf Fixes for the server examples using incorect length for memcpy operation in reply and reading past const char string. Resolves Jenkins "wolfSSL Examples Repo Test - NIGHTLY BUILD" reports. 2019-03-13 09:16:43 -07:00
David Garske 2c06a02ebe
Merge pull request #130 from SparkiDev/pkcs11_ecc_server
Add PKCS #11 server sample using ECDSA
2019-02-28 16:29:49 -08:00
Sean Parkinson e3e74bb5ed fixes from review 2019-03-01 10:20:42 +10:00
Sean Parkinson c18ce585da Add PKCS #11 server sample using ECDSA 2019-02-25 11:16:39 +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 77a5576242 Fix PKCS#11 server sample to open session to hold ECDH priv key 2019-02-14 17:04:11 +10:00
David Garske 4b0a218e08 Updates to README.md and PKCS11.md documents. Cleanup to use sizeof for `privKeyId` in TLS server example. 2019-02-13 13:41:52 -08:00
David Garske 10bf5d543b Fixes when building against latest master (plus https://github.com/wolfSSL/wolfssl/pull/2070). Updates to README.md for building wolfSSL. 2019-02-12 16:10:03 -08:00
Sean Parkinson 7e771fdfdf Add SSL server sample 2019-02-08 12:26:58 +10:00
Sean Parkinson cfba1af8af Add PKCS #11 API README and generate ECC key sample 2019-02-06 08:23:37 +10:00
Sean Parkinson 0e65ab1c3c Add PKCS#11 examples and test 2019-01-23 12:49:02 +10:00