124 Commits

Author SHA1 Message Date
toddouska
3daa8369c7 allow XTOUPPER to work with macros that don't like signed types 2015-03-11 17:52:11 -07:00
John Safranek
b02622d1d0 optimize hashDRBG internal state 2015-03-10 18:16:44 -07:00
toddouska
ef0a918072 optimize hash-drbg layout, save 12 bytes on 64bit 2015-03-07 09:46:14 -08:00
John Safranek
874fa8c1f9 fix freeing a failed RNG 2015-03-06 09:51:29 -08:00
Jacob Barthelmeh
7ef362d4ba format of curve25519 key 2015-03-05 15:38:07 -07:00
toddouska
11e15188bf fix github issue #24, settings first before ifdef checks on 25519_fe files 2015-03-04 12:15:23 -08:00
toddouska
1caaeb8355 tiddy whitespace 2015-02-28 11:29:42 -08:00
Takashi Kojo
6f08459264 uITRON and uT-Kernel, wc-prot.c 2015-02-28 11:24:16 +09:00
toddouska
b7db43a189 make ConstantCompare available outside of internal.c 2015-02-26 17:31:47 -08:00
Jacob Barthelmeh
67e81f534a mac compare in chacha-poly AEAD and remove unneeded null check 2015-02-26 08:04:15 -07:00
toddouska
1395c88ec4 Merge pull request #14 from lchristina26/master
fix STM32 bug in benchmark.c
2015-02-25 13:39:49 -08:00
lchristina26
f04b042c73 fix STM32 bug in benchmark.c 2015-02-25 11:43:30 -07:00
John Safranek
795a32446b fix github issue #13, DRBG type-punning 2015-02-24 16:47:00 -08:00
toddouska
6d691e1b9f fix github issue #12, cyassl_mutex leftovers 2015-02-24 15:03:24 -08:00
toddouska
8ee361a0d4 fix scan-build warning 2015-02-24 12:46:53 -08:00
toddouska
9d20e712bf add autoconf support for chapoly-aead, wipe temp polykey, minor whitespace adjusts 2015-02-24 12:33:52 -08:00
Andrew Burks
0e5f879d0b Added documentation and benchmarks. 2015-02-24 10:00:39 -08:00
Andrew Burks
8c3410d6c2 Added wolfcrypt API for the ChaCha20-Poly1305 AEAD. 2015-02-24 09:15:11 -08:00
Andrew Burks
14b6254e6e Fixed dependency chain issue with integer.h since one of the function prototypes uses mp_int. 2015-02-23 15:40:39 -08:00
toddouska
608da64ece add ForceZero() to force memset(0) 2015-02-20 15:51:21 -08:00
John Safranek
732a0dd39a removed redundant mp_init of r and s in ecc verify hash 2015-02-20 13:54:30 -08:00
toddouska
43918fa0dc Merge branch 'pic32mz' of https://github.com/kojo1/wolfssl into kojo-pic32 2015-02-19 17:58:21 -08:00
toddouska
420668c1f9 tiddy up 25519 2015-02-19 16:07:13 -08:00
toddouska
cc642fbaf6 tiddy up 25519 2015-02-19 16:06:24 -08:00
Jacob Barthelmeh
4babd2cf2d added in curve25519 crypto 2015-02-19 10:59:05 -07:00
Takashi Kojo
255f7381a4 buffering hash message, pic32mz-hash.c 2015-02-19 14:08:33 +09:00
toddouska
17ed9e147f fix SLOW_WORD name change 2015-02-18 15:47:50 -08:00
kaleb-himes
2a068ff025 final powerPC support modification 2015-02-18 08:02:05 -07:00
Takashi Kojo
0b695f683f pic32mz crypt engine, pic32mz-hash.c 2015-02-18 16:25:19 +09:00
Takashi Kojo
963ba3fe41 sha512 rollback 2015-02-18 07:46:11 +09:00
Takashi Kojo
1e3fa1fac3 adjusting pic32mz code to wolfssl 2015-02-18 07:38:41 +09:00
kaleb-himes
3a150da10f final powerPC support modification 2015-02-17 14:26:01 -07:00
toddouska
de7c9da363 Merge branch 'leah-master' 2015-02-16 14:24:28 -08:00
John Safranek
16e468b05f updated PBKDF2 test to use longer password 2015-02-16 11:33:06 -08:00
John Safranek
0aa48498b9 1. Added new iOS IDE project
2. Added new iOS IDE project for FIPS
3. Added a readme for the iOS projects
4. Added error codes for FIPS local storage
2015-02-14 12:22:51 -08:00
Leah
b26b5f1b51 Merge pull request #1 from wolfSSL/master
update to current wolfssl version
2015-02-11 16:33:44 +00:00
lchristina26
1ef9d7852c fixes from scan-build output in test.c 2015-02-06 08:42:37 -07:00
toddouska
c8b9c84178 fix c++ build 2015-02-05 17:23:53 -08:00
toddouska
430f95e4f1 fix ecc compressed with alt size 2015-02-05 10:17:29 -08:00
kaleb-himes
55d30ca277 new client-ecc-cert.pem/renewcerts updates/certs relavent name changes 2015-02-02 09:10:07 -07:00
John Safranek
7cff22c4b0 moved the buffers, key, and iv around in the file so lean-psk would still build 2015-01-30 10:43:31 -08:00
John Safranek
f75329aa2e 1. Changed a memset to 0 of some mp_ints with mp_inits()
2. For alt-ecc, implemented the function fp_init_copy()
3. Added an fp_init() for the temp fp_int in fp_sub_d()
2015-01-30 09:03:44 -08:00
toddouska
c5b495c44e fix HASH-DRBG memory leak in benchmark 2015-01-28 12:29:53 -08:00
toddouska
a26630eec0 remove unused ecc_timing variables 2015-01-28 10:32:12 -08:00
toddouska
d6d56c8532 fix missing function argument to get_intel_cycles() 2015-01-26 16:49:28 -08:00
toddouska
a682d53f67 add cycles per byte to gcc + x86_64 benchmarks 2015-01-26 16:33:30 -08:00
John Safranek
6ba6ca7435 fix pointer issue with ECC cache 2015-01-26 09:20:22 -08:00
John Safranek
2bcd55226f Merge branch 'ecc2' 2015-01-23 10:37:55 -08:00
John Safranek
2e6d118a50 allow different sized fast math for both RSA and ECC
add C_EXTRA_FLAGS "-DALT_ECC_SIZE" to enable, and set
size with "-DFP_MAX_BITS_ECC=512", default is 512
2015-01-23 10:26:41 -08:00
toddouska
74790fa265 fix gcc 4.9 warning for idx on fpecc 2015-01-20 15:35:58 -08:00