Commit Graph

21 Commits (cece2dfa19eef5df01fce7073fb6fb39c2ae18e0)

Author SHA1 Message Date
David Garske fc71c6016d Added new examples for ECC and PKCS7. Moved the signature/firmware_sign example into new `ecc` folder. 2018-06-06 14:00:11 -07:00
David Garske ef20350409 Fix for scan-build issue with not used iRetval. Fix to Makefile for openssl. 2018-05-31 14:19:51 -07:00
David Garske e11ecf9179 Updated example to demonstrate using curveId parameter for make key and ECC verify. 2018-05-17 11:48:38 -07:00
David Garske 2ab4072d21 Fixups based on Kaleb's review. 2018-05-17 11:40:13 -07:00
David Garske beba82b2af Additional signature examples and tests. 2018-05-17 11:40:13 -07:00
dgarske b6ccb88d83 Merge pull request #82 from kaleb-himes/rsa-sign-ver-to-enc-dec-example
refactor sanity checks and a debug print
2017-10-24 14:08:06 -07:00
kaleb-himes 353bb08330 refactor sanity checks and a debug print 2017-10-24 12:13:50 -06:00
David Garske 698c5ecf63 Cleanups to signature example. Added return code checking and clarified the malloc values used. 2017-10-24 08:33:41 -07:00
kaleb-himes 9df79cae87 Cleanup 2017-10-23 16:00:56 -06:00
kaleb-himes dbceeabc1a An example of using Sign/Verify to achieve private encrypt/public decrypt w/ RSA 2017-10-23 15:58:21 -06:00
kaleb-himes 76cc800750 update ED25519 examples based on feedback 2017-04-12 11:41:36 -06:00
kaleb-himes 7bb3cc3ad1 ED25519 examples for key gen and .der output, sign/verify 2017-04-11 17:35:51 -06:00
David Garske f03ff6ec85 Updated ECC make key example to use wc_ecc_make_key_ex API, which supports ecc_curve_id. 2016-11-11 12:30:16 -08:00
David Garske ad8ca32d03 Added ability to perform verify against signature file. 2016-11-11 12:29:22 -08:00
David Garske e3fb299e37 Corrected the RSA w/DER encoding text and reverted accidental check-in to enable debugging. 2016-02-08 15:32:14 -08:00
David Garske 50c13eb28f Updated the signature example to support the new RSA w/encode. Updated some of the printf strings. Updated the wc_Signature response code handling for RSA. 2016-02-03 11:47:49 -08:00
David Garske 3c553c889f Updated README.md for signature example and added new 8=MD5+SHA. 2016-01-29 16:28:09 -08:00
David Garske 68c534c867 Added RSA support to signature example. 2015-11-16 11:15:14 -08:00
David Garske 0d7d3f42cf Updated the example to separate the ECC sign/verify from RSA. Working on adding RSA support. 2015-11-13 12:28:45 -08:00
David Garske d06125b4fa Fixed missing "fclose" in signature example. 2015-11-12 20:03:15 -08:00
David Garske 438f5c91c1 wolfSSL signature example. This example takes a file and creates a signature for it using the "wc_Signature*" wrapper functions. This example generates a new ECC key and dumps the key values, then creates a signature from a hash of the file and signs it. Then it performs a verification using the signature and public key. 2015-11-12 09:54:15 -08:00