toddouska
dbfe2aa242
fix raw import inits
2014-08-29 14:33:48 -07:00
Chris Conlon
7e7cbdc715
add raw ECC key import functionality and tests
2014-08-29 10:46:25 -06:00
toddouska
9d4fb79009
add ecc timing mulmod
2014-08-12 12:21:00 -07:00
toddouska
cac799f683
add optional ecc ctx info
2014-07-02 16:59:45 -07:00
John Safranek
09a7a087a2
fix static analysis warnings
2014-04-29 14:52:42 -07:00
Moisés Guimarães
6e3349f8ec
fix code format, only spaces added, no code has been modified.
2014-04-23 11:58:44 -03:00
Moisés Guimarães
ce655f61c5
ecc: ecc_make_key_ex, ecc_export_x963, accel_fp_mul, accel_fp_mul2add, ecc_encrypt and ecc_decrypt refactory to reduce stack usage: (1350 bytes - pointer sizes) moved to the heap.
...
--- ecc_make_key_ex: buf variable moved to the heap; (66 bytes)
--- ecc_export_x963: buf variable moved to the heap; (256 bytes)
--- accel_fp_mul: kb variable moved to the heap; (128 bytes)
--- accel_fp_mul2add: kb variable moved to the heap; (256 bytes)
--- ecc_encrypt: sharedSecret and keys variables moved to the heap; (66 + 256 bytes)
--- ecc_decrypt: sharedSecret and keys variables moved to the heap; (66 + 256 bytes)
2014-04-23 11:44:54 -03:00
Moisés Guimarães
8d8fca67c3
SHA256, SHA384 and SHA512 error propagation. Major impact on random functions with error propagation.
2014-04-14 21:39:14 -03:00
Moisés Guimarães
32e2d7016f
SHA256, SHA384 and SHA512 error propagation. Major impact on Hmac functions with error propagation.
2014-04-14 21:36:04 -03:00
Chris Conlon
be65f5d518
update FSF address, wolfSSL copyright
2014-04-11 15:58:58 -06:00
toddouska
b6fc109c1d
add ecc_ctx_reset() so user can reuse ctx w/o init/free
2014-03-25 12:48:25 -07:00
toddouska
fb6d671629
resolve pull request merge conflict
2014-03-25 11:39:07 -07:00
toddouska
1fd6245600
fix all clang warnings except Wpadded (diagnostic), Wconversion which inludes Wsign-conversion (implicit conversions part of standard)
2014-03-03 13:27:52 -08:00
toddouska
276a9c871e
eccfp warning fix
2013-12-06 08:58:06 -08:00
toddouska
e92860bda7
ecc enc/dec offset init fix
2013-11-19 11:17:23 -08:00
toddouska
d91e8ab38e
add cert gen for ecc certs
2013-11-14 20:34:39 -08:00
toddouska
cf4230b073
add ecc encrypt secure message exchange, hide ecEncCtx
2013-11-13 17:53:11 -08:00
toddouska
0ef44329ef
add thread local storage to ecc fp cache, no locking required but cache is per thread, higher conncurrent performance but more memory needed
2013-11-11 17:00:35 -08:00
toddouska
554adff672
add basic ecc encrypt/decrypt
2013-11-07 15:59:31 -08:00
toddouska
cc323fb4cc
ecc shamir requires bigger LUT in fp mode
2013-10-31 10:43:48 -07:00
toddouska
12b074fbe9
add worst case estimate to ecc_sign_size()
2013-10-30 13:33:23 -07:00
toddouska
3d19604bfb
make sure to always check mp_to_*, normal math could fail
2013-10-29 17:38:12 -07:00
toddouska
f402d7eed9
add ecc export pirvate only
2013-10-29 16:44:33 -07:00
toddouska
071338bf39
fix fpecc normal math init/free issue
2013-10-28 13:17:33 -07:00
toddouska
0126a39d68
fix shamir speed up init buffer
2013-10-10 18:47:25 -07:00
toddouska
44ba0af192
free fp ecc resources on cleanup
2013-09-06 17:08:57 -07:00
toddouska
6e05d4317f
add proper locking to fp ecc
2013-09-06 16:53:33 -07:00
toddouska
46be3b8508
add fixed point ecc cache, --enable-fpecc, add locking down to crypt level next
2013-09-06 14:24:31 -07:00
toddouska
08c9f61f16
add accelerated ecc_proj* and ECC SHAMIR to speed up ecdsa verify
2013-09-04 13:13:10 -07:00
toddouska
e98f5f95c2
add public key callbacks for ecc sign/verify, examples
2013-08-22 18:19:39 -07:00
toddouska
505b1a8a67
fix ecc sign/hash truncation with odd bit sizes when hash length is longer than key size
2013-07-25 15:59:09 -07:00
toddouska
44e0d7543c
change copyright name with name change
2013-02-05 12:44:17 -08:00
toddouska
f4f13371f9
update copyright date
2013-02-04 14:51:41 -08:00
John Safranek
03f9cafa4b
ecc_verify_hash was leaking two mp_ints
2012-12-27 11:18:29 -08:00
toddouska
3130f0da28
allow ecc.c to read settings
2012-11-14 17:55:20 -08:00
toddouska
b09d902ef4
add in ecc impl
2012-10-22 10:37:40 -07:00
Todd A Ouska
1e51c4f434
ecc dummy
2011-04-28 14:52:05 -07:00
Todd A Ouska
1ce566971c
fix gcc lots o warnings for optional library build features
2011-04-28 12:04:38 -07:00
Todd A Ouska
680358abe1
PKCS #5 v1.5 encrypted key adds, small build fixes
2011-03-22 07:35:18 -07:00