John Safranek
7b4cf370d0
In test: Cert req now signed by correct key. Removed loading of CA key.
2014-01-08 11:47:59 -08:00
John Safranek
f0a7d94c48
Cert Request
...
1. Added setting the request's version.
2. Added certreq test code to the ctaocrypt test.
3. Added the certreq test outputs to gitignore.
2014-01-08 10:57:46 -08:00
John Safranek
4de6a6d902
Cert Request
...
1. Added function to make simple DER format cert reqs.
2. Added cert req type to DerToPem.
2014-01-07 17:25:46 -08:00
toddouska
d6ad10f027
add USE_SLOW_SHA2 for sha384 and sha512, over twice as small code but over 50% slower too
2014-01-03 12:32:14 -08:00
toddouska
9d0e991e41
fix 32bit no asm combos
2014-01-02 16:58:54 -08:00
Chris Conlon
99ac08cf3d
lower case mp_sqr() parameters, missed in previous commit
2014-01-02 13:37:11 -07:00
Chris Conlon
9f4ea7d059
update TYTO settings, FREESCALE_MMCAU AES check for NULL
2014-01-02 13:13:18 -07:00
Chris Conlon
7cc9ab3d6f
use lower case variables, prevent conflict with some toolchain defines
2014-01-02 13:11:27 -07:00
John Safranek
7b04b7ab84
DTLS IO and cookie callbacks are IPv4/IPv6 agnostic.
2013-12-30 10:39:12 -08:00
John Safranek
420ca9e6e3
Merge branch 'ocsp'
2013-12-27 16:14:47 -08:00
John Safranek
896b16a7df
Fixed off-by-one error in OCSP
2013-12-27 16:13:52 -08:00
John Safranek
d46c68ba10
Moved OCSP into the CertManager like the CRL.
2013-12-27 12:11:47 -08:00
Moisés Guimarães
3e24a446b9
fixing SNI_GetFromBuffer return code on success.
2013-12-24 15:34:17 -03:00
John Safranek
4ce2e59adf
For Atomic user:
...
1. Added a getter for the session's IV size.
2. The HMAC size getter should return 0 for AEAD ciphers
and the hash length for the others.
2013-12-23 22:32:08 -08:00
John Safranek
14aa114854
Trimmed unused includes and defines from OCSP source.
2013-12-23 14:33:44 -08:00
Chris Conlon
64912b37f6
adjust key buffer length when using ToTraditional() or ToTraditionalEnc()
2013-12-23 14:07:58 -07:00
toddouska
29c41da818
do size check on user password input
2013-12-23 12:24:03 -08:00
toddouska
3c706b4645
only set up tmp ctx if using password
2013-12-23 12:15:55 -08:00
toddouska
db71460bb8
add password functionality to CyaSSL_KeyPemToDer()
2013-12-23 12:07:20 -08:00
toddouska
0ee34c961e
make sure passwd_cb called before load private key in server example
2013-12-23 11:19:21 -08:00
toddouska
dff54942a2
xcode5 paths for examples
2013-12-19 15:23:57 -08:00
rofl0r
a36c18c27f
implement CyaSSL_ERR_reason_error_string
...
this has several advantages:
- we can provide a replacement for openssl's ERR_reason_error_string,
which makes porting simpler,
- code shrink due to removal of excessive strcpy call
- all error strings are const anyway so there's no point to force the
user to supply storage for them and copying them around.
2013-12-19 19:40:48 +01:00
toddouska
7a19cc377f
Merge branch 'master' of github.com:cyassl/cyassl
2013-12-18 16:18:07 -08:00
toddouska
ea5b7ca9d1
allow testsuite to run in xcode 5 if custom build location
2013-12-18 16:16:35 -08:00
John Safranek
4ffc92a4d6
Use OCSP override URL enable in both example client and server.
2013-12-18 12:34:40 -08:00
John Safranek
75e6ac534e
Force Cygwin to use function tolower() rather than macro version
2013-12-18 10:58:10 -08:00
John Safranek
fe4f10418f
OCSP lookups are IPv4/IPv6 agnostic.
2013-12-17 18:30:42 -08:00
John Safranek
003446a5cd
Using OCSP override URL should enable OCSP url overriding.
2013-12-17 18:26:29 -08:00
Chris Conlon
6c43a008ab
update README
2013-12-17 16:33:56 -07:00
Chris Conlon
8c8a1b0db8
add Freescale K60 mmCAU AES, DES, 3DES support
2013-12-17 16:29:21 -07:00
Chris Conlon
c466fac597
add Freescale K60 mmCAU MD5, SHA, SHA256 support
2013-12-17 16:28:08 -07:00
toddouska
9db9f52c9c
don't install internal.h, not for public consumption
2013-12-16 15:24:02 -08:00
Moisés Guimarães
ffd58e27ef
removing deprecated TRUNCATED_HMAC_SIZE
2013-12-12 21:05:31 -03:00
toddouska
5efbf98f31
separate sniffer / snifftest ./configure build
2013-12-12 14:20:56 -08:00
John Safranek
9d6182d279
Merge branch 'master' of github.com:cyassl/cyassl
2013-12-12 11:06:21 -08:00
John Safranek
26a26fa19d
1. Fixed a build warning.
...
2. Fixed an initialization bug when decoding old-style client hellos.
2013-12-12 10:45:19 -08:00
Chris Conlon
5909f5c2c0
Merge branch 'master' of github.com:cyassl/cyassl
2013-12-11 16:20:43 -08:00
Chris Conlon
8c7f5817ac
NO_FILESYSTEM fix for CyaSSL_X509_load_certificate_file
2013-12-11 16:19:09 -08:00
toddouska
ba95c33ed4
more clang warnings
2013-12-11 15:47:40 -08:00
toddouska
e5b0000ee4
switch enable-sniffer w/o libpcap to error out again
2013-12-11 14:59:46 -08:00
toddouska
b41d09b1a2
fix newer clang warnings
2013-12-11 12:03:09 -08:00
toddouska
9e56ad262c
fix snifftest pcap frees on file mode, close TraceFile on ssl_Free
2013-12-10 16:17:43 -08:00
John Safranek
0d85a85d59
Bumped version for point release.
2013-12-10 12:05:55 -08:00
toddouska
3051c8e900
make sure Arrays elemets all set to 0
2013-12-09 18:21:43 -08:00
toddouska
276a9c871e
eccfp warning fix
2013-12-06 08:58:06 -08:00
John Safranek
9fe165e8f8
1. Added a couple missing checks for NULL pointers in DTLS code.
...
2. Fixed compiler warning under Windows.
3. DTLS sliding window packet filter.
2013-12-03 15:11:00 -08:00
Chris Conlon
fc97174fb8
tie Microchip files into autoconf system
2013-12-02 15:31:48 -07:00
toddouska
986e2b5694
Merge branch 'master' of github.com:cyassl/cyassl
2013-12-02 12:07:17 -08:00
toddouska
cf545ca692
fix mcapi test on unix
2013-12-02 12:04:22 -08:00
Moisés Guimarães
0c1e02ddd0
added truncated_hmac handing on SanityCheckCipherText, VerifyMac and BuildMessage
2013-12-02 16:19:52 -03:00