Commit Graph

8209 Commits (devin/1739920896-esp32-fixes)

Author SHA1 Message Date
toddouska 7a90f60a9c add rsafunction mp_exptmod_e debug message 2015-05-07 10:33:23 -07:00
toddouska 6db33051d3 better detection of invalid ecc keys 2015-05-01 14:44:43 -07:00
toddouska 1771fea17d fix ecc_make_key cleanup on rng failure 2015-04-30 16:50:02 -07:00
toddouska d40fbd58f4 fix pkcs7 warning 2015-04-10 10:37:25 -07:00
Takashi Kojo 079c9908a3 Merged with 3.4.8 2015-04-08 11:09:57 +09:00
Takashi Kojo 6728a18d7c cpuflag ADX for Intel MULX in asm.c, BMI2 in sha256/512.c 2015-04-08 10:14:45 +09:00
Takashi Kojo 015b68e6fb cpuflag BMI2 for Intel MULX 2015-04-07 10:21:26 +09:00
Takashi Kojo d8a6d9cffc runtime cpuflag for Intel MULX, cleaned in tfm.c 2015-04-06 10:34:07 +09:00
Takashi Kojo 3a372aebe3 Merge commit 'd67a031132b87fc01f0808f161eda0e3101dbba7' into IntelAsm 2015-04-06 10:22:33 +09:00
Takashi Kojo ebedd64c5f Merge commit 'b9aa7621e716267f310aec0010c5240270b75cce' into IntelAsm 2015-04-06 10:21:54 +09:00
Jacob Barthelmeh 10f853ae4d adjustment to chacha for big endian 2015-04-03 12:19:40 -06:00
toddouska 7552764fbb turn off chacha on big endian 2015-04-02 11:34:17 -07:00
toddouska d2c816f322 fix github issue #63, intelasm checkin broke MMCAU sha256 2015-04-02 10:52:58 -07:00
toddouska a54c916c8f fix chacha on bigendian, touchups 2015-04-02 09:40:22 -07:00
Takashi Kojo b9aa7621e7 Intel MULX run time check in tfm.c 2015-04-02 15:42:38 +09:00
Vikram Adiga ad29c262d4 use Seconds APIs instead of MYTIME APIs for TI-RTOS 2015-04-01 16:51:54 -07:00
John Safranek 50e829ea79 when keeping peer cert, alt names were getting lost for the peer name check 2015-04-01 15:36:55 -07:00
Chris Conlon 1d4187e168 add local struct tm for XGMTIME with TIME_OVERRIDES, fixes issue #55 2015-04-01 10:02:02 -06:00
Takashi Kojo 3aeedcf092 fixed --enable-debug issue on Intel MULX, asm.c 2015-04-01 16:19:29 +09:00
toddouska 5d4c4d36e5 Merge branch 'IntelAVX' of https://github.com/kojo1/wolfssl into kojo-intel 2015-03-30 11:07:11 -07:00
Takashi Kojo 6243c6244a fixed ftm/Intel MULX -O0 option, register usage 2015-03-30 14:49:53 +09:00
Takashi Kojo a895a606e7 sha256.c, eliminate platform dependent code. 2015-03-30 07:55:05 +09:00
toddouska fc4e0dfd6d Merge branch 'IntelAVX' of https://github.com/kojo1/wolfssl into kojo-intel 2015-03-29 09:48:13 -07:00
Takashi Kojo 57d766f1eb fixed ftm/MULX crash with --enable-debug, missing register def in inline asm destroying registers 2015-03-29 19:50:32 +09:00
Takashi Kojo bd5fc1712f fixed sha256/AVX1 crash with --enable-debug: missing register def in inline asm destroy register
rorx removed when non-AVX2 build . cleaned set_Transform
2015-03-29 19:39:03 +09:00
Takashi Kojo a83e85b91e Intel mulx/adcx/adox 2015-03-29 10:20:30 +09:00
toddouska 3b8009bfd4 Merge branch 'IntelAVX' of https://github.com/kojo1/wolfssl into kojo-intel 2015-03-27 15:41:02 -07:00
toddouska 495fbe087e allow dh to be used w/o certs and asn 2015-03-27 14:28:05 -07:00
toddouska d655fb9d74 remove rc4 from default build 2015-03-27 10:17:22 -07:00
toddouska ac4b6af823 make attrib align compiler neutral for sha256 2015-03-27 09:40:53 -07:00
Takashi Kojo ef6e08dc01 static to static const in sha256/512.c 2015-03-27 20:19:43 +09:00
toddouska 9adbf41baa Merge branch 'master' of github.com:wolfssl/wolfssl 2015-03-26 14:28:16 -07:00
toddouska 2935234484 Merge branch 'kojo-intel' 2015-03-26 14:27:12 -07:00
toddouska 22afce8609 fixup intel avx request 2015-03-26 14:26:25 -07:00
Chris Conlon b5cac58845 fix pwdbased + NO_MD5 build 2015-03-26 11:50:15 -06:00
Jacob Barthelmeh 699aae25a0 remove extra comments 2015-03-25 18:09:06 -06:00
Takashi Kojo 9ddf775afa Intel RdSeed, no Rand with hash DRBG 2015-03-26 09:08:02 +09:00
Takashi Kojo 3c55971ffa Removed Intel RD from Hash DRBG 2015-03-25 18:31:08 +09:00
Takashi Kojo 994ffa96e0 sha256/512 removed static values for thread safe 2015-03-25 18:26:46 +09:00
toddouska 8f6d7a1ce7 rename ecc25519 to curve25519, less confusing with ed25519 now in play too 2015-03-24 11:56:40 -07:00
Takashi Kojo 28109b01f7 Intel rdrand/rdseed: fixed error check, separated rdrand and rdseed 2015-03-24 15:13:11 +09:00
Takashi Kojo 572214ebb4 cpuid_flags, thread safe in sha256.c/sha512.c 2015-03-24 06:24:09 +09:00
toddouska 66a65f84bd add a few ForceZeros to ecc fp 2015-03-23 11:44:33 -07:00
toddouska b841bc66c3 fix github issue #43, ecc_point uses DYNAMIC_TYPE ECC instead of BIGINT 2015-03-23 11:23:31 -07:00
Takashi Kojo 7e3c310ec9 random.c, runtime switch between Intel RD and software version 2015-03-23 19:40:35 +09:00
Takashi Kojo 2a2bf81c15 Merge branch 'master' of https://github.com/wolfSSL/wolfssl into IntelAVX 2015-03-23 18:43:01 +09:00
John Safranek 9f2454fc78 Added a noop function wc_FreeRng() for when not using the HashDRBG to keep
the calls to InitRng and FreeRng simple and balanced.
2015-03-20 14:19:35 -07:00
toddouska 478a8bb059 adjust ./configure format, change ed sign/verify to msg from hash 2015-03-19 12:48:32 -07:00
Jacob Barthelmeh d89d524570 initial ed25519 implementation 2015-03-19 11:40:41 -06:00
toddouska 8e82806c01 Merge branch 'master' of github.com:wolfssl/wolfssl 2015-03-18 15:48:22 -07:00
toddouska 555eb66292 fix github issue #40, export Base64_Decode, allow user to export Base64_Encode w/o other options 2015-03-18 15:47:19 -07:00
Chris Conlon 1d4cc928c6 fix Freescale MQX gmtime, cert generation 2015-03-18 16:15:56 -06:00
toddouska f398b20bcc have ecc SetCurve() and CheckCurve() obey user ecc choices 2015-03-18 13:52:21 -07:00
toddouska 0316dd2ef6 fix github issue #35, allow user to pick ecc curves with ECC_USER_CURVES and separate HAVE_ECCxxx defines 2015-03-18 13:36:07 -07:00
Chris Conlon 913240f6e4 add comments to RSA funcs, fix 80 char line limits 2015-03-18 10:06:48 -06:00
toddouska 24ad168acf put memset back before ecdsa sig decode for failure case 2015-03-17 14:25:57 -07:00
Takashi Kojo 16f0b603c3 a comment line cleaned 2015-03-17 21:56:12 +09:00
Takashi Kojo 7d6f169e29 random.c for Intel rdseed/rdrand 2015-03-17 21:48:59 +09:00
Takashi Kojo 77145a1f3e eliminate unsed macro in sha256.c 2015-03-17 21:46:57 +09:00
Takashi Kojo 78375db73b sha256/384/512 for Intel AVX1/2 2015-03-17 21:19:31 +09:00
toddouska 023f44bacf fix github issue #31, allow time overrides for all time uses 2015-03-13 12:44:25 -07:00
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
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
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
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 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 a26630eec0 remove unused ecc_timing variables 2015-01-28 10:32:12 -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
kaleb-himes 402bbe0321 32 bit implicit cast 2015-01-20 13:44:35 -07:00
Jacob Barthelmeh 859c22f2c2 update to asn compatibility 2015-01-19 21:18:35 -07:00
Moisés Guimarães 9e667c15c7 fix tolower typecast on CYGWIN, gcc-arm-none-eabi (gnuarmeclipse toolchain) and possible future ports. 2015-01-19 14:53:54 -03:00
kaleb-himes 1ebaf41808 random.c updated, conflict with TIRTOS 2015-01-09 16:01:22 -07:00
Jacob Barthelmeh d366599285 adding comment to header and _fips to c files 2015-01-08 10:42:01 -07:00
kaleb-himes a389620a29 Copyright (C) updates 2015-01-08 09:39:04 -07:00
Jacob Barthelmeh 02f16b9232 going through wolfcrypt 2015-01-07 13:36:11 -07:00
kaleb-himes 639637278d CYASSL -> WOLFSSL macros 2015-01-07 13:17:57 -07:00
Jacob Barthelmeh 95aad35e41 prunning on ctaocrypt files 2015-01-06 22:23:20 -07:00
Jacob Barthelmeh 6f17e5ecd0 prune ctaocrypt, alter cyassl headers and catch wolfssl rsa header 2015-01-06 14:26:13 -07:00
Jacob Barthelmeh 8315e76f32 update to function calls in ecc c file 2015-01-06 13:43:46 -07:00
Jacob Barthelmeh 42f3ec73eb ripemd debug 2015-01-06 10:36:35 -07:00
Jacob Barthelmeh bc48c83147 blake2 debug and settings refactor 2015-01-06 10:16:56 -07:00
Jacob Barthelmeh 9e2ae79c8a include in tfm and compatability for random and sha256 2015-01-05 16:36:24 -07:00
Jacob Barthelmeh e204c41768 Merge branch 'master' of https://github.com/kaleb-himes/cyassl 2015-01-05 13:42:22 -07:00
Jacob Barthelmeh 5d377b7bc5 for make dist and also aes compatibility 2015-01-05 13:40:26 -07:00
kaleb-himes e09d14f6f8 remove wc_ from non-public functions 2015-01-05 10:50:33 -07:00
kaleb-himes 15f021c074 --enable-bump fixed 2015-01-05 10:41:22 -07:00
kaleb-himes 4ba12c86cb fastmath, maxfragment, md5, iopool, certreq, certgen 2015-01-05 09:53:00 -07:00
Jacob Barthelmeh accfaf17af update to comment headers 2015-01-05 09:48:43 -07:00
Jacob Barthelmeh 966ca9c97e clean up comments on c files and fix duplicate in chacah header 2015-01-04 23:26:26 -07:00
Jacob Barthelmeh e6ebbf4fc2 pre-commit pass and update to name change files 2015-01-03 23:33:14 -07:00
Jacob Barthelmeh 2520973b73 update to c files for name change and pwdbased along with debugging src function calls 2015-01-03 19:09:48 -07:00
Jacob Barthelmeh f64d76257e readjust c files, autoconf, and some header files 2015-01-02 14:56:58 -07:00
Jacob Barthelmeh b91934f065 change to header files and update of function calls in src folder 2015-01-01 14:48:33 -07:00
Jacob Barthelmeh 5365bdb06c debugging on name change 2015-01-01 07:33:07 -07:00
kaleb-himes 98fa85ed83 Merge branch 'master' of https://github.com/kaleb-himes/cyassl 2014-12-31 17:03:33 -07:00
kaleb-himes aa08c17dc1 sha.c updated 2014-12-31 17:03:07 -07:00
Jacob Barthelmeh 38e129fd24 cleaning up some cyassl 2014-12-31 17:01:27 -07:00
Jacob Barthelmeh e3c82842a5 rsa des3 random : update 2014-12-31 15:31:50 -07:00
Jacob Barthelmeh f81ee9e4d3 addition to aes and alteration to md files 2014-12-31 13:54:57 -07:00
Jacob Barthelmeh 78e7ffdfa9 rm old asn.c and adjust function calls in new asn.c 2014-12-31 10:42:03 -07:00
Jacob Barthelmeh 3b49b72436 debugging on asn and internal.c 2014-12-30 15:14:27 -07:00
kaleb-himes 0d4a65cd6f pwdbased updated 2014-12-30 14:41:49 -07:00
Jacob Barthelmeh 7a3fdbc07f debugging for test script 2014-12-30 13:50:40 -07:00
Jacob Barthelmeh 8594ccf2df working on commit tests 2014-12-30 11:00:18 -07:00
Jacob Barthelmeh 5eef118ff5 test and debug of poly-chacha suites 2014-12-30 10:30:54 -07:00
Jacob Barthelmeh 174e2b23c2 ecc check and adjustment to visibility 2014-12-29 16:38:13 -07:00
Jacob Barthelmeh 894b888291 update to misc.c integer.c and tfm.c 2014-12-29 12:59:14 -07:00
kaleb-himes edf53a1ed0 new changes 2014-12-29 10:27:03 -07:00
Jacob Barthelmeh 279f149828 adjustments to reverse compatibility 2014-12-19 16:31:01 -07:00
Jacob Barthelmeh 77f167790d progress on name change 2014-12-19 15:43:19 -07:00
Jacob Barthelmeh 5107c6c12b debugging linking error 2014-12-19 15:30:07 -07:00
Kaleb Himes c97db6ba6e src updated, CTaoCrypt -> wc_ 2014-12-19 11:27:01 -07:00
Jacob Barthelmeh 42e5c8fb35 sync up 2014-12-19 10:47:38 -07:00
Kaleb Himes d6f37bd34f shell files for autotools 2014-12-19 10:19:29 -07:00
Jacob Barthelmeh a5529b124d moving over more files 2014-12-19 09:56:51 -07:00
Kaleb Himes b70f0938d0 include.am updates 2014-12-19 09:06:27 -07:00
Jacob Barthelmeh d958a2f3d6 close to build test with --disable-examples option 2014-12-18 15:40:09 -07:00
Jacob Barthelmeh e6a629118c api calls to crypt library in portibality layer 2014-12-18 14:23:33 -07:00
Jacob Barthelmeh 50eee6afdf wolf c files for des, hmac, random, and rsa 2014-12-18 11:10:55 -07:00
Jacob Barthelmeh 664a40844c c files for pkcs, poly, rabbit and ripemd 2014-12-17 15:47:00 -07:00
Jacob Barthelmeh 6e1a0befdc md's c files 2014-12-17 14:57:56 -07:00
Jacob Barthelmeh 473d1d18a6 chacha, dh, dsa, hc128 c files 2014-12-17 14:37:13 -07:00
Kaleb Himes 0957d275b3 latest 2014-12-17 13:55:34 -07:00
Jacob Barthelmeh ea3bf1649d in process of shiffting many files 2014-12-17 10:59:27 -07:00
Jacob Barthelmeh 881c0b941a progress on name change, arc4, aes, camilea 2014-12-17 10:28:35 -07:00
Jacob Barthelmeh 813ad2e102 name change progress 2014-12-17 09:58:11 -07:00