Commit Graph

8209 Commits (devin/1739920896-esp32-fixes)

Author SHA1 Message Date
lchristina26 9397b9e10f move MBED GenerateSeed() due to duplicated code 2015-08-06 16:40:36 -06:00
Jacob Barthelmeh 590f3e1ca0 Merge pull request #113 from lfcrypto/wolfssl
add check of ret value
2015-08-06 09:01:12 -07:00
Ludovic FLAMENT d050c10581 add support for curve 25519 and Ed25519 in OpenSSH
refactor curve25519 and Ed25519 code
fix warning in PEM_xxx_mem_xxx functions
2015-08-06 08:51:41 -07:00
toddouska ba83b54616 Merge branch 'master' into srp 2015-08-04 15:49:04 -07:00
kaleb-himes 121a24ba15 update logic for ECC FASTMATH KEY-GEN and COMP-KEY 2015-08-04 15:11:01 -06:00
Moisés Guimarães 690cb14746 makes sure random values are safe. 2015-08-04 15:31:18 -03:00
Moisés Guimarães 12b8445153 adds key generation function callback option. 2015-08-04 13:36:58 -03:00
Moisés Guimarães f31c32bea2 adds docs using doxygen style. 2015-08-04 01:07:24 -03:00
Moisés Guimarães 1d99bd3339 removes u from srp struct. 2015-08-04 01:07:24 -03:00
Moisés Guimarães 53224281d2 adds proof getter and verifier for both sides. 2015-08-04 01:07:24 -03:00
Moisés Guimarães 490d063dec adds key computation.
removes unnecessary fields from the srp struct.
2015-08-04 01:07:24 -03:00
Moisés Guimarães ba0c75011b adds secret computation. 2015-08-04 01:07:24 -03:00
Moisés Guimarães 6ee788277f adds tests to SrpSetPassword(), SrpSetVerifier(), SrpGetVerifier();
adds SrpGenPublic() and SrpSetPrivate() with unit tests;
fixes k with left pad at g;
adds new error SRP_CALL_ORDER_E to force the functions to be called in the right order.
2015-08-04 01:07:24 -03:00
Moisés Guimarães 6d5efccc55 finishes SrpSetPassword(), SrpSetVerifier(), SrpGetVerifier();
updates client_proof during SrpSetParams();
2015-08-04 01:07:24 -03:00
Moisés Guimarães 8b23b86659 Adds hash type directly inside SrpHash and removes temp hash from Srp struct. 2015-08-04 01:07:24 -03:00
Moisés Guimarães 119dd0250e fixes field types in SRP structure;
adds new memory allocation type (DYNAMIC_TYPE_SRP);
improves wc_SrpInit;
adds wc_SrpTerm(), wc_SrpSetUsername(), wc_SrpSetParams(), wc_SrpSetPassword();
2015-08-04 01:07:24 -03:00
Moisés Guimarães dfa956d227 adds wc_SrpInit() with unit tests. 2015-08-04 01:07:24 -03:00
Moisés Guimarães 6d7b5bd2f8 adds srp files to build process. 2015-08-04 01:07:24 -03:00
Moisés Guimarães daf01977a1 adds SRP client and server structures. 2015-08-04 01:07:24 -03:00
toddouska 08959624f2 fix ed25519 with external hash functions 2015-08-03 15:30:07 -07:00
Ludovic FLAMENT 409126a97c add support for curve 25519 and Ed25519 in OpenSSH
refactor curve25519 and Ed25519 code
fix warning in PEM_xxx_mem_xxx functions
2015-08-01 18:28:18 +02:00
toddouska 16b0120028 fix build 267, base 1361 fp ecc w/ no memory 2015-07-31 11:57:35 -07:00
toddouska c14398cb7a fix build 267 case 1197, pwdbases -des3 warning 2015-07-31 11:40:14 -07:00
John Safranek 27371263b7 move variable declaration to beginning of block 2015-07-30 14:47:52 -07:00
toddouska 78cc76b3cd move DES oneshot APIs out of des.[hc] 2015-07-30 12:51:33 -07:00
toddouska 011fdc1103 move AES oneshot calls out of aes.[hc] 2015-07-30 12:42:25 -07:00
toddouska 12ffa1b778 fix small stack with hash changes 2015-07-29 10:43:54 -07:00
toddouska b8fac462cd No oneshot Hash() in FIPS c files anymore 2015-07-28 16:55:58 -07:00
toddouska e97a60c647 move wc_Sha512/384 Hash() outside of sha512.[hc] 2015-07-28 16:41:32 -07:00
toddouska 9d2b711796 add wc_Sha256Hash() outside of sha256.[hc] 2015-07-28 16:34:23 -07:00
toddouska 2f3b7b05ba move wc_ShaHash() outside of sha.[hc] 2015-07-28 16:30:10 -07:00
toddouska 388d023df6 put rsa non public enums back into c file for FIPS 2015-07-28 09:29:47 -07:00
toddouska 8ff692b772 Merge pull request #109 from NickolasLapp/master
Fixed bug when getting PEM encoded sz of cert chain. Add idx check
2015-07-27 15:05:39 -07:00
toddouska 38fb8caec8 restore FIPS des3 build w/o opensslextra 2015-07-27 14:56:26 -07:00
Nickolas Lapp b85637e06b Fixed bug when getting PEM encoded sz. Add idx check 2015-07-27 10:43:49 -06:00
toddouska 4ba57a609c Merge branch 'ludovic' 2015-07-24 15:39:54 -07:00
toddouska 0a975eaff9 fix valgrind warning mp_add_d 2015-07-24 15:34:56 -07:00
Nickolas Lapp 5780f4d5f7 stub notices. edited b64 encode size. err cert depth/sn 2015-07-24 16:30:16 -06:00
toddouska 45ef61e46f fix warnings 2015-07-24 12:43:26 -07:00
Ludovic FLAMENT 9c2a85d9f6 fix compilation for 32 bits OS 2015-07-24 11:17:06 +02:00
Ludovic FLAMENT 8d7d803e58 add wc_DerToPemEx to restore compatibility API with wc_DerToPem 2015-07-24 07:50:29 +02:00
Ludovic FLAMENT 0054fe4a25 Merge branch 'master' of https://github.com/wolfSSL/wolfssl 2015-07-23 14:37:58 +02:00
Ludovic FLAMENT 8951d72f03 Merge branch 'master' of https://github.com/wolfSSL/wolfssl
Fix DSA key generation
2015-07-23 13:24:20 +02:00
John Safranek 4cdece20fb change SetCurve return type to int, as used 2015-07-22 11:52:42 -07:00
John Safranek c169a113ae for Windows build, clean up warnings and a couple variable declarations 2015-07-22 11:20:45 -07:00
Ludovic FLAMENT 349edd40c2 Add support for OpenSSH ssh-keygen tools
refactor existing code
2015-07-22 14:18:07 +02:00
toddouska 922df2cfb3 allow bigger rsa key gen w/o sanity check error on invmod() 2015-07-20 16:08:55 -07:00
JacobBarthelmeh 7d44ed3989 Merge pull request #97 from jschanck-si/libntruencrypt
Use updated drbg ntru functions from stable libntruencrypt api
2015-07-17 14:18:27 -06:00
toddouska 9b81e41856 merge pull request 96 2015-07-16 16:46:37 -07:00
John M. Schanck 53fb9188e7 Use ntru functions from stable libntruencrypt api
ntru_crypto_external_drbg_instantiate has been renamed
to ntru_crypto_drbg_external_instantiate in the 1.0.0
release of libntruencrypt. Made various other small changes
to build against libntruencrypt.
2015-07-16 15:43:50 -04:00
toddouska 5a00e4b72b use full ivSz with ecc encrypt 2015-07-16 10:18:08 -07:00
Nickolas Lapp 96cf16848c Stunnel Base Commit 2015-07-14 14:56:26 -06:00
toddouska acdeb3d536 Merge https://github.com/lfcrypto/wolfssl into ludovic 2015-07-06 17:09:41 -07:00
Jacob Barthelmeh 304982a597 Big Endian System ChaCha20 counter, auto tests added for ChaCha20 counter 2015-07-06 15:29:53 -06:00
Ludovic FLAMENT 702dbcf570 align return code, coding style (tab-> space, line with 80 char), curve_idx validity 2015-07-05 20:10:43 +02:00
toddouska 1a853d277d fix opensslextra w/o ecc ssh 2015-07-03 09:58:42 -07:00
toddouska 9b0c1499c3 fix opensslextra w/ dsa additions 2015-07-03 09:53:48 -07:00
toddouska b183bdc009 fix ALT_ECC_SIZE in ssh mode 2015-07-02 13:48:58 -07:00
toddouska 9452d6cfb4 don't leak on bad verify decoding with extended API 2015-07-01 13:28:10 -07:00
toddouska e164173562 fix null deference potential on new API 2015-07-01 12:51:19 -07:00
toddouska 1d663d3bff merge conflict 2015-07-01 12:24:11 -07:00
John Safranek 8b324b94e9 removed some unused code due to an always true comparison 2015-06-25 11:21:33 -06:00
Takashi Kojo 309aadd3f3 TI-des3.c, type mismatch 2015-06-24 14:12:40 +09:00
Takashi Kojo 1feac72b62 check InitMutex 2015-06-24 11:47:58 +09:00
Takashi Kojo a910daa886 fixed arm-none-eabi-gcc type check on AESIVSet, AESKey1Set 2015-06-24 11:06:38 +09:00
Takashi Kojo c6e2591711 Remove wornings 2015-06-23 17:39:15 +09:00
Takashi Kojo 45a3838433 missed wolfSSL_TI_CCMInit in wc_xxxHash 2015-06-20 10:59:08 +09:00
toddouska 9e7cb81d5a Merge branch 'TI_hash' of https://github.com/kojo1/wolfssl into kojo-ti 2015-06-18 09:05:13 -07:00
Takashi Kojo 7ef85d1894 Add RestorePos 2015-06-18 14:27:15 +09:00
toddouska 55de33f493 Merge branch 'TI_hash' of https://github.com/kojo1/wolfssl into kojo-ti 2015-06-16 11:38:04 -07:00
toddouska 67dc53f84e Merge branch 'master' of github.com:wolfssl/wolfssl 2015-06-16 11:30:14 -07:00
toddouska a62589f3fc add wc_ecc_check_key(), import validate option too 2015-06-16 11:29:27 -07:00
John Safranek 8fa258c657 fix scan-build warning 2015-06-15 17:52:30 -07:00
Takashi Kojo 86a9b1734a TI hash option control in hash.c 2015-06-16 09:30:56 +09:00
John Safranek 5976296a77 removed a comment from random.c 2015-06-15 07:37:05 -07:00
Takashi Kojo a634d0e345 including hash.h in hash.c 2015-06-15 12:28:05 +09:00
Takashi Kojo c2818ed87c DIGEST_SIZE fixed in Sha256GetHash 2015-06-15 09:59:34 +09:00
toddouska 203786dc25 add ecc keygen validate option 2015-06-12 13:11:07 -07:00
Takashi Kojo d9ccc51f58 Fix TI driver API to ROM_xxx 2015-06-09 07:02:21 +09:00
Nickolas Lapp 9f8862888e Fixing bug in wc_ecc_sig_size not handling error code 2015-06-08 14:40:15 -06:00
John Safranek 067f11ff34 Added a known answer test inside the HashDRBG that is called when
creating a new instance of a DRBG, at reseed time.
Added a check that the freed DRBG's state actually gets cleared.
2015-06-05 14:46:48 -07:00
Jacob Barthelmeh e461bc72b8 curve25519 and ed25519 low memory 2015-06-05 15:39:37 -06:00
Takashi Kojo 644f7a4cdb ti-hash.c included in wc_port.c 2015-06-01 14:32:36 +09:00
Moisés Guimarães ed65565390 integer.c: refactoring mp_exptmod_fast to reduce stack usage:
--- variable M moved to the heap (512 bytes saved)
2015-05-28 18:29:17 -03:00
Moisés Guimarães a7a00a4bd5 remove trailing spaces. 2015-05-28 18:29:17 -03:00
John Safranek 77fe4f3a2e Fixes #71. Disable SHA works with TLS, PWDBASED, testing. 2015-05-28 10:25:41 -07:00
Takashi Kojo d67168d539 aes.c cleaned. ti-has.c, ti-aes.c, ti-des3.c are included in each respective algorithm source file. 2015-05-28 20:40:53 +09:00
Takashi Kojo 902799ef75 adding ti hash/crypt to include.am 2015-05-27 19:34:11 +09:00
Takashi Kojo 559404137e moving xxxGetHash to hash.c 2015-05-27 18:37:19 +09:00
Takashi Kojo aaa1fe813a Added aes.c/des3.c 2015-05-22 09:55:49 +09:00
Takashi Kojo ce8b4e0cdc Added ti-hash.c 2015-05-21 18:26:35 +09:00
Takashi Kojo d24c7f070c files cleaned 2015-05-21 18:12:43 +09:00
Takashi Kojo 527013ec1e corrected NL code 2015-05-21 14:16:09 +09:00
Takashi Kojo b5654092ec Added Md5GetHash for BuildCertHashes 2015-05-21 13:42:02 +09:00
Takashi Kojo 1a315fd89e Initial TI crypt/hash 2015-05-21 13:31:02 +09:00
John Safranek dcd6602293 misc.c can now only be included once 2015-05-13 15:10:05 -07:00
John Safranek 4e482a348e wrapped the min() inline functions with better preprocessor checks 2015-05-13 14:53:11 -07:00
John Safranek 0b1ea204b7 cleaned up Windows build warnings 2015-05-12 11:59:07 -07:00
toddouska 513b43baae update CUSTOM_RAND_GENERATE to not include dev random files 2015-05-11 12:03:53 -07:00
toddouska d4982bb988 add dsa verify input check, not used at TLS or default 2015-05-07 15:10:33 -07:00
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