summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-03-31Add support for SPARC T4 DES opcode.Andy Polyakov
2013-03-31des_enc.m4: add missing #include.Andy Polyakov
Submitted by: David Miller
2013-03-29Add AES-NI GCM stitch.Andy Polyakov
2013-03-29aesni-x86_64.pl: fix typo and optimize small block performance.Andy Polyakov
2013-03-28Call RAND_cleanup in openssl application.Dr. Stephen Henson
(cherry picked from commit 944bc29f9004cf8851427ebfa83ee70b8399da57)
2013-03-28Enable TLS 1.2 ciphers in DTLS 1.2.Dr. Stephen Henson
Port TLS 1.2 GCM code to DTLS. Enable use of TLS 1.2 only ciphers when in DTLS 1.2 mode too.
2013-03-28Update fixed DH requirements.Dr. Stephen Henson
The relaxed signing requirements for fixed DH certificates apply to DTLS 1.2 too.
2013-03-28DTLS 1.2 cached record support.Dr. Stephen Henson
Add DTLS1.2 support for cached records when computing handshake macs instead of the MD5+SHA1 case for DTLS < 1.2 (this is a port of the equivalent TLS 1.2 code to DTLS).
2013-03-26Make binary curve ASN.1 work in FIPS mode.Matt Caswell
Don't check for binary curves by checking methods: the values will be different in FIPS mode as they are redirected to the validated module version.
2013-03-26Provisional DTLS 1.2 support.Dr. Stephen Henson
Add correct flags for DTLS 1.2, update s_server and s_client to handle DTLS 1.2 methods. Currently no support for version negotiation: i.e. if client/server selects DTLS 1.2 it is that or nothing.
2013-03-26Remove versions test from dtls1_buffer_messageDr. Stephen Henson
Since this is always called from DTLS code it is safe to assume the header length should be the DTLS value. This avoids the need to check the version number and should work with any version of DTLS (not just 1.0).
2013-03-26Extend DTLS method macros.Dr. Stephen Henson
Extend DTLS method creation macros to support version numbers and encryption methods. Update existing code.
2013-03-26Enable various DTLS extensions.Dr. Stephen Henson
Some TLS extensions were disabled for DTLS. Possibly because they caused problems with the old duplicated code. Enable them again.
2013-03-26aesni-x86_64.pl: optimize CTR even further.Andy Polyakov
Based on suggestions from Shay Gueron and Vlad Krasnov. PR: 3021
2013-03-24ghash-x86_64.pl: add AVX code path.Andy Polyakov
2013-03-19aesni-x86_64.pl: optimize CTR even further.Andy Polyakov
2013-03-19ghash-x86_64.pl: minor optimization.Andy Polyakov
2013-03-19Disable compression for DTLS.Dr. Stephen Henson
The only standard compression method is stateful and is incompatible with DTLS.
2013-03-19Typo.Dr. Stephen Henson
2013-03-18e_aes_cbc_hmac_sha1.c: fix rare bad record mac on AES-NI plaforms.Andy Polyakov
PR: 3002
2013-03-18Use enc_flags when deciding protocol variations.Dr. Stephen Henson
Use the enc_flags field to determine whether we should use explicit IV, signature algorithms or SHA256 default PRF instead of hard coding which versions support each requirement.
2013-03-18Use appropriate versions of SSL3_ENC_METHODDr. Stephen Henson
2013-03-18DTLS revision.Dr. Stephen Henson
Revise DTLS code. There was a *lot* of code duplication in the DTLS code that generates records. This makes it harder to maintain and sometimes a TLS update is omitted by accident from the DTLS code. Specifically almost all of the record generation functions have code like this: some_pointer = buffer + HANDSHAKE_HEADER_LENGTH; ... Record creation stuff ... set_handshake_header(ssl, SSL_MT_SOMETHING, message_len); ... write_handshake_message(ssl); Where the "Record creation stuff" is identical between SSL/TLS and DTLS or in some cases has very minor differences. By adding a few fields to SSL3_ENC to include the header length, some flags and function pointers for handshake header setting and handshake writing the code can cope with both cases. Note: although this passes "make test" and some simple DTLS tests there may be some minor differences in the DTLS code that have to be accounted for.
2013-03-18Avoid unnecessary fragmentation.Michael Tuexen
2013-03-18Encode INTEGER correctly.Dr. Stephen Henson
If an ASN1_INTEGER structure is allocated but not explicitly set encode it as zero: don't generate an invalid zero length INTEGER. (cherry picked from commit 1643edc63c3e15b6db5a15a728bc288f2cc2bbc7)
2013-03-18Typo.Dr. Stephen Henson
(cherry picked from commit 1546fb780bc11556a18d70c5fb29af4a9d5beaff)
2013-03-11DTLS trace support.Dr. Stephen Henson
Add DTLS record header parsing, different client hello format and add HelloVerifyRequest message type. Add code to d1_pkt.c to send message headers to the message callback.
2013-03-06evptests.txt: additional GCM test vectors.Andy Polyakov
2013-03-06GCM and CCM test supportDr. Stephen Henson
Add code to support GCM an CCM modes in evp_test. On encrypt this will compare the expected ciphertext and tag. On decrypt it will compare the expected plaintext: tag comparison is done internally. Add a simple CCM test case and convert all tests from crypto/modes/gcm128.c
2013-03-06Add CCM ciphers to tables.Dr. Stephen Henson
2013-03-06ghash-x86_64.pl: fix length handling bug.Andy Polyakov
Thanks to Shay Gueron & Vlad Krasnov for report.
2013-03-05typoDr. Stephen Henson
2013-03-05Initial CCM code.Dr. Stephen Henson
Simple example of CCM code use: translated from the FIPS self tests.
2013-03-05Use CFLAG for LFLAGS instead of the nonexistent CFLAGS.Ben Laurie
2013-03-05Ignore mk1mf.pl output directories.Ben Laurie
2013-03-04Remove unused variable.Ben Laurie
2013-03-04Actually comment out the cpuid asm!Ben Laurie
2013-03-04Merge branch 'master' of openssl.net:opensslBen Laurie
Conflicts: util/mk1mf.pl
2013-03-04Fix WIN32 build.Dr. Stephen Henson
Make assembly language handling conditional on the "copy" platform as Windows does its own thing here.
2013-03-04x86cpuid.pl: make it work with older CPUs.Andy Polyakov
PR: 3005
2013-03-04Only copy headers if they've changed.Ben Laurie
2013-03-04Don't make CPUID stuff twice.Ben Laurie
2013-03-04Handle assembler files.Ben Laurie
2013-03-04Missing MINFO generation.Ben Laurie
2013-03-04Override local vars for MINFO build.Ben Laurie
2013-03-04Allow variables to be overridden on the command line.Ben Laurie
2013-03-04Take the first definition of a variable.Ben Laurie
2013-03-04Use "copy" instead of "auto".Ben Laurie
2013-03-04Remove pointless diagnostic.Ben Laurie
2013-03-04Preserve the C compiler.Ben Laurie