394 Commits

Author SHA1 Message Date
toddouska
56af895c68 make sure pubkey in ecc private key has size 2015-10-14 10:48:37 -07:00
David Garske
67861bb222 Added crypto hardware mutex capabilities to wolfcrypt/wc_port. Added optional define "WOLFSSL_CRYPT_HW_MUTEX" to override use of hardware mutex. Enabled hardware mutex protection for Freescale MMCAU. Cleanup of the AES FREESCALE_MMCAU implementation to use wc_AesEncrypt/wc_AesDecrypt wrappers. Fixes #154. 2015-10-13 12:36:24 -07:00
Chris Conlon
7e5be2f313 fix resource cleanup in testsuite and wolfcrypt test 2015-10-09 10:57:55 -06:00
David Garske
16ba3138a1 Added support for the Rowley CrossWorks for ARM IDE. Added new "WOLFSSL_ROWLEY_ARM" setting define. Added a sample solution (wolfssl.hzp) for building the WolfSSL library and sample test/benchmark applications. The sample applications are written for the Freescale Kinetis K64, but easily be customized for any Kinetis or further extended to support other ARM micro-controllers. 2015-10-06 10:45:46 -07:00
toddouska
ad51d4ba09 make sure fast invmod lowers result in too big case 2015-10-02 15:38:22 -07:00
Jacob Barthelmeh
10276944d3 return value on AES CCM encrypt 2015-10-02 11:40:47 -06:00
Jacob Barthelmeh
dd262fe939 fix on AES CCM nonce size 2015-10-01 17:42:03 -06:00
toddouska
b403036c77 Merge branch 'FreeRTOS_TCP' of https://github.com/kojo1/wolfssl into freertos-tcp 2015-09-28 16:13:21 -07:00
toddouska
28912621ec switch idea invmod too big to subtraction 2015-09-28 15:24:32 -07:00
toddouska
292e05dc75 switch memset / memcpy to XMEM in src and wolfcrypt/src proper 2015-09-28 11:37:00 -07:00
toddouska
cab37ef24e Merge https://github.com/lfcrypto/wolfssl into idea 2015-09-28 09:32:55 -07:00
Ludovic FLAMENT
c7193672a5 fix IDEA modular inverse, add CBC tests with random values 2015-09-27 15:05:01 +02:00
Takashi Kojo
0a530c1b70 #pragma worning for Visual Studio 2015-09-26 08:49:03 +09:00
Takashi Kojo
f450ac0684 settings.h: GenSeed for test only option 2015-09-26 08:03:49 +09:00
toddouska
8c01c8d8e1 Merge branch 'master' of https://github.com/lfcrypto/wolfssl into idea 2015-09-25 15:42:31 -07:00
Ludovic FLAMENT
71576aef14 fix bad computed values 2015-09-25 23:52:08 +02:00
Takashi Kojo
0c95a5e940 Adding FreeRTOS TCP support, FREERTOS_TCP option 2015-09-25 10:51:35 +09:00
Ludovic FLAMENT
ae6b4be135 fix idea_mult
move reg and tmp buffer to word32
2015-09-24 22:55:11 +02:00
toddouska
d669fc28c2 add idea benchmark, cleanup 2015-09-23 14:42:48 -07:00
toddouska
c4e1bdcb29 Merge branch 'master' of https://github.com/lfcrypto/wolfssl into idea 2015-09-23 12:03:58 -07:00
toddouska
31439e2baa remove unneeded tmp from plain DES cbc decrypt 2015-09-23 11:01:22 -07:00
Ludovic FLAMENT
f68400da40 add IDEA cipher (ECB and CBC mode)
add support of SSL_RSA_WITH_IDEA_CBC_SHA cipher suite (SSLv3, TLS v1.0 and TLSv1.1)
2015-09-23 16:16:39 +02:00
toddouska
91fdc67571 fix cert_ext statics not used with sep 2015-09-14 13:25:15 -07:00
toddouska
de04565c1e fix cert_ext test memory leak 2015-09-14 13:15:53 -07:00
Ludovic FLAMENT
10165e966c remove OPENSSL_EXTRA requirement 2015-09-14 21:14:01 +02:00
Ludovic FLAMENT
0ecd6435e9 remove CERT_EXT from enable-bump
cortex test are only done if openssl extra is set
2015-09-14 18:45:14 +02:00
Ludovic FLAMENT
08d1f33d30 remove snprintf
use strtok thread safe version
add output size for sanity checks in some functions
2015-09-12 23:17:53 +02:00
toddouska
de64092a70 Merge branch 'master' of github.com:wolfssl/wolfssl 2015-09-11 15:53:26 -07:00
toddouska
989f5ffb24 handle gmtime failures 2015-09-11 15:49:55 -07:00
toddouska
5654d4beee fix no_filesystem with certext 2015-09-11 14:04:40 -07:00
toddouska
21cf0e437e add --enable-cryptonly build option 2015-09-10 16:24:25 -07:00
toddouska
108679970a allow cert_ext to work w/o openssl extra 2015-09-08 16:44:13 -07:00
Jacob Barthelmeh
10ad789c6f set inital value in NTRU rsa_test 2015-09-08 10:27:44 -06:00
Ludovic FLAMENT
25f24ed34f fix to build on Fedora 32bits and Windows 2015-09-08 08:49:29 +02:00
Ludovic FLAMENT
b685dfb2e7 Merge branch 'master' of https://github.com/wolfSSL/wolfssl 2015-09-07 10:23:46 +02:00
Ludovic FLAMENT
d2ea6f7ef0 Add support for :
- PEM public key loading
  - set/get KeyUsage in CSR and X.509
  - set/get SKID in CSR and X.509
  - set/get AKID in X.509
  - set/get two Certificate Policies OID in X.509
2015-09-07 09:51:21 +02:00
Moisés Guimarães
12bf9b4430 fixes conflict with reserver names used as variable names;
adds NOT_COMPILED_IN error when trying to use SRP with a hash not compiled in.
2015-09-03 12:06:56 -03:00
Takashi Kojo
aaaebf6213 pkcs7 rolling back static values to auto 2015-09-02 08:59:04 +09:00
Chris Conlon
be5ac590b7 Freescale: Add KSDK FreeRTOS build, using fastmath 2015-09-01 15:37:11 -06:00
toddouska
ebea6145f6 change generice define to more specific for pkcs7 digest size 2015-09-01 13:33:26 -07:00
toddouska
31500d0d12 Merge branch 'MDK5' of https://github.com/kojo1/wolfssl into kojo-mdk5 2015-09-01 11:35:58 -07:00
toddouska
928d2b7caa add build optional skip crl next date if missing 2015-08-31 17:02:15 -07:00
toddouska
a56a8a22e5 add idrect dev time 2015-08-31 15:02:41 -07:00
toddouska
f8445193a4 add idirect generate seed 2015-08-31 13:55:56 -07:00
toddouska
1368ae1fb1 add SHA512 signature creation 2015-08-31 13:51:52 -07:00
toddouska
756cff4cb4 add Rsa Public Key To Der, non FIPS mode 2015-08-31 13:29:22 -07:00
Takashi Kojo
18383d286a fixed uITRON, uTKernel option 2015-08-30 10:25:09 +09:00
Takashi Kojo
dc68832dba TIRTOS Semaphore_create error check 2015-08-30 08:36:33 +09:00
Takashi Kojo
122b2e9753 pkcs7: rolling back to static values 2015-08-29 22:02:23 +09:00
Takashi Kojo
f5ee6d616c Merge remote-tracking branch 'origin/MDK5' into MDK5 2015-08-29 21:24:44 +09:00