John Safranek
b60a61fa94
DHE-PSK cipher suites
...
1. fixed the AES-CCM-16 suites
2. added DHE-PSK as a key-exchange algorithm type
3. Added infrastructure for new suites:
* TLS_DHE_PSK_WITH_AES_128_GCM_SHA256
* TLS_DHE_PSK_WITH_AES_256_GCM_SHA384
* TLS_DHE_PSK_WITH_AES_128_CBC_SHA256
* TLS_DHE_PSK_WITH_AES_256_CBC_SHA384
* TLS_DHE_PSK_WITH_NULL_SHA256
* TLS_DHE_PSK_WITH_NULL_SHA384
* TLS_DHE_PSK_WITH_AES_128_CCM
* TLS_DHE_PSK_WITH_AES_256_CCM
4. added test cases for new suites
5. set DHE parameters on test server when using PSK and a custom cipher
suite list
6. updated half premaster key size
2014-05-30 11:26:48 -07:00
toddouska
4c9fa39d34
fix icc aesni warning where claims to be gcc
2014-05-28 17:48:08 -07:00
toddouska
e11dd9803a
fix icc v14 warnings
2014-05-28 17:36:21 -07:00
Chris Conlon
fe88e925cd
update MPLABX generated project files, formatting
2014-05-28 10:30:47 -06:00
Chris Conlon
7e13e414cb
rename port.c/.h to wc_port.c/.h to prevent FreeRTOS conflicts
2014-05-28 10:28:01 -06:00
Moisés Guimarães
263d3439d9
DecodedCert:
...
* add structure fields to persist encoding format of subject parts;
* set default encoding formats at InitDecodedCert;
* retrieve encoding format from buffer at GetName;
* copy encoding format from DecodedCert to CertName at SetNameFromCert.
2014-05-23 15:48:50 -03:00
Moisés Guimarães
e517459f89
CertName:
...
* add structure fields to persist encoding format;
* set default encoding formats at InitCert;
* add function to retrieve encoding format of a specific field based on it's id.
2014-05-23 11:11:46 -03:00
toddouska
3fa50ca3ea
fix intel syntax comment
2014-05-20 17:17:35 -07:00
toddouska
15d3d3f790
fix visual studio 64 warnings
2014-05-20 14:31:26 -07:00
John Safranek
b46b8516ae
Merge branch 'master' of github.com:cyassl/cyassl
2014-05-20 14:11:58 -07:00
John Safranek
12841e6093
fix integration bugs with new suites
2014-05-20 14:07:08 -07:00
toddouska
3d803653c6
add visual studio 64 project files to autoconf, fix distclcean
2014-05-20 13:45:11 -07:00
toddouska
8ac8e0f687
forgot one vcxproj
2014-05-20 13:30:57 -07:00
toddouska
0d2471b2f7
Merge branch 'master' of https://github.com/cyassl/cyassl
2014-05-20 13:27:29 -07:00
toddouska
744590c868
add visual studio 64bit solution for vs2012+ with custom build step for aesni
2014-05-20 13:27:03 -07:00
toddouska
eed5360155
fix volatile registers rdi,rsi by saving to rax,r11 and restore
2014-05-20 13:25:28 -07:00
John Safranek
b889191992
Merge branch 'master' of github.com:cyassl/cyassl
2014-05-19 21:52:00 -07:00
John Safranek
74712b4e71
1. Added the following cipher suites:
...
* TLS_PSK_WITH_AES_128_GCM_SHA256
* TLS_PSK_WITH_AES_256_GCM_SHA384
* TLS_PSK_WITH_AES_256_CBC_SHA384
* TLS_PSK_WITH_NULL_SHA384
2. Fixed CyaSSL_CIPHER_get_name() for AES-CCM cipher suites.
2014-05-19 21:44:04 -07:00
toddouska
842ff6f24d
Merge branch 'master' of github.com:cyassl/cyassl
2014-05-19 17:08:27 -07:00
toddouska
df81401cf0
add debugging output to benchmark
2014-05-19 17:06:56 -07:00
John Safranek
7a5dd55eb9
Merge branch 'dtls'
2014-05-19 14:44:11 -07:00
toddouska
ac73e1b508
fix visual studio cpuid arg warning
2014-05-19 14:33:15 -07:00
toddouska
b9d9371aed
add aesni intel asm syntax for aesni, abstract cpuid and asm linkage better for msvc
2014-05-19 13:55:42 -07:00
John Safranek
da5b042d21
AEAD additional data for encrypt and decrypt should be AEAD_AUTH_DATA_SZ
2014-05-19 09:14:10 -07:00
John Safranek
4a511fe36d
Added epoch to sequence number for AES-GCM with DTLS encrypt/decrypt.
2014-05-19 09:14:10 -07:00
Moisés Guimarães
6e5f800555
change behavior when OPTIONAL field keyIdentifier is not present. Not erring out.
2014-05-17 16:03:39 -03:00
John Safranek
628e7b4d72
adjust SendData() output buffer check for DTLS header size
2014-05-15 15:55:32 -07:00
toddouska
2bc066a116
change first output line to cyassl/options gen
2014-05-15 10:39:54 -07:00
John Safranek
5ab2ccfa96
Added FIPS wrappers for the DRBG and improved CTaoCrypt test.
2014-05-14 15:25:55 -07:00
toddouska
ce39ef62ef
update const error strings for newly added ones
2014-05-14 15:05:20 -07:00
toddouska
519820133d
Merge branch 'const_errorstrings' of https://github.com/rofl0r/cyassl into errstr
2014-05-14 14:51:40 -07:00
toddouska
c90c90557b
make sure logging available in all des3 build cases
2014-05-14 09:22:09 -07:00
toddouska
aa5234ae0e
fix des return values for ecb and plain cbc, allow errors
2014-05-13 16:04:52 -07:00
toddouska
0a8804b3f8
add freescale mmcau hardware crypto alignment requirement, error out if not met
2014-05-13 15:51:35 -07:00
toddouska
7f938f3bdf
Merge pull request #80 from kojo1/MDK5
...
MDK5 sw pack 3.0.0
2014-05-12 14:01:42 -07:00
toddouska
8c9c257921
Merge pull request #79 from kojo1/IAR
...
sample projects for IAR EWARM
Why is SINGLE_THREADED assumed for IAR with ARM?
2014-05-12 13:28:02 -07:00
Moisés Guimarães
cffcf3512c
Making small stack usage disabled by default
2014-05-12 08:38:35 -03:00
Takashi Kojo
746ab39367
Remove license.txt
2014-05-12 08:58:09 +09:00
Takashi Kojo
fe94cca3d5
Add settings.h to projects
2014-05-12 08:57:38 +09:00
toddouska
7fcaa03436
Merge pull request #75 from kojo1/ColdFire
...
ColdFire SEC, PIC32 updates
2014-05-09 14:41:40 -07:00
toddouska
77aa8a86eb
remove extra spaces from comments
2014-05-09 11:57:41 -07:00
toddouska
e57d5d1d2f
Merge branch 'master' of github.com:cyassl/cyassl
2014-05-08 10:27:54 -07:00
toddouska
abbfcde0dc
add fips in core first/last files for code/data hashing
2014-05-08 10:26:31 -07:00
John Safranek
72e9ea8e4b
added Hash DRBG as configure option
2014-05-07 11:54:12 -07:00
John Safranek
ac18ce03df
DRBG Update
...
1. picked better values for entropy and nonce sizes based on
security strength
2. changed output block length to be the SHA-256 digest size
3. use constant drbgReseed when reseeding
4. renamed the "drgb" type constants from "dbrg"
5. removed the small stack change due to buffer size changes
6. internal helper function Hash_DRBG_Instantiate now also
takes a pointer to a nonce and a personalization string
7. the InitRng gathers enough bits from GenerateSeed() to
supply the entropy input and a nonce
8. lowered the reseed interval to 1 million
2014-05-06 14:05:52 -07:00
Takashi Kojo
371d2efa2c
remove SWO.ini files
2014-05-06 21:03:10 +09:00
Takashi Kojo
cdf8ab295c
current_time, generic to CortexM
2014-05-06 11:16:43 +09:00
John Safranek
d6b98c1fab
moved OCSP config code outside NO_FILESYSTEM fence
2014-05-05 16:13:08 -07:00
John Safranek
ec13f65ef0
made OCSP callback not dependent on stdio
2014-05-05 16:11:02 -07:00
Takashi Kojo
6ac7b056ee
Pic benchmark, clock config
2014-05-05 16:41:07 +09:00