openssl/crypto
Emilia Kasper 9a9b0c0401 Constant-time utilities
Pull constant-time methods out to a separate header, add tests.

Reviewed-by: Bodo Moeller <bodo@openssl.org>
(cherry picked from commit 5a3d21c058)

Conflicts:
	ssl/s3_cbc.c
	test/Makefile
2014-08-28 16:26:01 +02:00
..
aes Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
asn1 RT2400: ASN1_STRING_to_UTF8 missing initializer 2014-08-27 22:59:40 -04:00
bf
bio Fix memory leak in BIO_free if there is no destroy function. 2014-07-09 23:32:18 +01:00
bn bn/asm/rsaz-*.pl: allow spaces in Perl path name. 2014-08-21 00:19:24 +02:00
buffer Check length first in BUF_strnlen(). 2014-05-22 10:12:10 +01:00
camellia camellia/asm/cmll-x86_64.pl: fix symptomless bugs (update from master). 2014-02-01 23:14:33 +01:00
cast Please Clang's sanitizer. 2014-07-09 22:45:38 +02:00
cmac oops, macro not present in OpenSSL 1.0.2 2012-04-11 15:10:48 +00:00
cms Don't clean up uninitialised EVP_CIPHER_CTX on error (CID 483259). 2014-07-10 17:49:53 +01:00
comp
conf Prevent infinite loop loading config files. 2014-07-07 13:54:11 +01:00
des SPARC T4 assembly pack: treat zero input length in CBC. 2014-03-07 10:48:51 +01:00
dh dh_check.c: check BN_CTX_get's return value. 2014-03-06 14:21:17 +01:00
dsa RT3061: Don't SEGFAULT when trying to export a public DSA key as a private key. 2014-08-22 15:21:12 +02:00
dso Fix a wrong parameter count ERR_add_error_data 2014-05-19 22:15:27 +01:00
ec Explicitly check for empty ASN.1 strings in d2i_ECPrivateKey 2014-08-27 19:50:15 +02:00
ecdh make update 2013-12-01 23:09:44 +00:00
ecdsa Accessor functions for app_data in ECDSA_METHOD 2014-07-02 00:59:43 +01:00
engine Please Clang's sanitizer, addendum. 2014-07-09 22:45:52 +02:00
err Don't include comp.h if no-comp set. 2013-01-20 01:10:03 +00:00
evp Fix build when BSAES_ASM is defined but VPAES_ASM is not 2014-08-21 15:48:10 +02:00
hmac Experimental multi-implementation support for FIPS capable OpenSSL. 2012-05-13 18:40:12 +00:00
idea Fix typo in ideatest.c 2014-06-28 00:06:32 +01:00
jpake
krb5
lhash
md2
md4 Fix some clang warnings. 2013-01-13 21:06:36 +00:00
md5 md5_locl.h: enable assembly support on SPARC [from master]. 2013-05-20 00:33:09 +02:00
mdc2 Reduce version skew: trivia (I hope). 2012-06-03 22:03:37 +00:00
modes RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
objects Fix OID handling: 2014-08-06 20:41:24 +01:00
ocsp Handle IPv6 addresses in OCSP_parse_url. 2014-06-27 17:31:37 +01:00
pem Sanity check keylength in PVK files. 2014-07-06 00:36:14 +01:00
perlasm Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
pkcs7 Remove ancient obsolete files under pkcs7. 2014-06-27 13:53:23 +01:00
pkcs12 Fix memory leak. 2014-05-29 13:49:50 +01:00
pqueue RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
rand Fix error discrepancy. 2014-08-01 18:42:41 +01:00
rc2 make update 2013-01-15 16:24:07 +00:00
rc4 Please Clang's sanitizer. 2014-07-09 22:45:38 +02:00
rc5 Intel compiler support update from HEAD. 2012-11-28 13:12:09 +00:00
ripemd Fix some clang warnings. 2013-01-13 21:06:36 +00:00
rsa Return smaller of ret and f. 2014-07-05 22:38:17 +01:00
seed Revert "version skew" patches that break FIPS compilation 2012-06-09 23:36:38 +00:00
sha sha1-mb-x86_64.pl: add commentary. 2014-08-21 00:16:32 +02:00
srp Fix SRP buffer overrun vulnerability. 2014-08-06 20:41:24 +01:00
stack RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
store
threads
ts Fix double frees. 2014-04-22 17:00:52 +01:00
txt_db
ui * crypto/ui/ui_lib.c: misplaced brace in switch statement. 2014-07-13 19:13:38 +02:00
whrlpool wp-mmx.pl: ~10% performance improvement. 2014-02-01 22:27:07 +01:00
x509 Update API to use (char *) for email addresses and hostnames 2014-07-07 19:20:34 +10:00
x509v3 Fix use after free bug. 2014-08-15 16:46:14 +01:00
.cvsignore
alphacpuid.pl
arm64cpuid.S Add linux-aarch64 taget. 2014-06-10 23:20:55 +02:00
arm_arch.h Add linux-aarch64 taget. 2014-06-10 23:20:55 +02:00
armcap.c Add linux-aarch64 taget. 2014-06-10 23:20:55 +02:00
armv4cpuid.S ARM assembly pack: get ARMv7 instruction endianness right. 2014-06-10 22:51:15 +02:00
constant_time_locl.h Constant-time utilities 2014-08-28 16:26:01 +02:00
constant_time_test.c Constant-time utilities 2014-08-28 16:26:01 +02:00
cpt_err.c
cryptlib.c Avoid Windows 8 Getversion deprecated errors. 2014-02-25 13:41:53 +00:00
cryptlib.h Reduce version skew: trivia (I hope). 2012-06-03 22:03:37 +00:00
crypto-lib.com Adjust VMS build to Unix build. Most of all, make it so the disabled 2014-06-18 13:43:09 +02:00
crypto.h Add and use a constant-time memcmp. 2013-02-06 13:56:12 +00:00
cversion.c
ebcdic.c
ebcdic.h RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
ex_data.c
fips_err.h
fips_ers.c
ia64cpuid.S
install-crypto.com Adjust VMS build to Unix build. Most of all, make it so the disabled 2014-06-18 13:43:09 +02:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win.c
LPdir_win32.c
LPdir_wince.c
Makefile Constant-time utilities 2014-08-28 16:26:01 +02:00
md32_common.h Please Clang's sanitizer. 2014-07-09 22:45:38 +02:00
mem.c Reduce version skew: trivia (I hope). 2012-06-03 22:03:37 +00:00
mem_clr.c
mem_dbg.c
o_dir.c
o_dir.h
o_dir_test.c
o_fips.c call OPENSSL_init when calling FIPS_mode too 2012-04-20 14:43:14 +00:00
o_init.c
o_str.c Improve WINCE support. 2014-02-01 22:48:56 +01:00
o_str.h
o_time.c Time difference functions. 2013-08-19 21:55:07 +01:00
o_time.h Time difference functions. 2013-08-19 21:55:07 +01:00
opensslconf.h.in
opensslv.h RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
ossl_typ.h RT2308: Add extern "C" { ... } wrapper 2014-08-27 21:45:09 -04:00
pariscid.pl PA-RISC assembler pack: switch to bve in 64-bit builds. 2013-06-30 23:13:23 +02:00
ppc_arch.h Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
ppccap.c Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
ppccpuid.pl Initial POWER8 support from development branch. 2014-07-20 14:36:49 +02:00
s390xcap.c
s390xcpuid.S
sparc_arch.h sparcv9cap.c: update from master. 2013-05-20 00:16:18 +02:00
sparccpuid.S sparcv9cap.c: update from master. 2013-05-20 00:16:18 +02:00
sparcv9cap.c sparcv9cap.c: omit random detection. 2013-12-28 13:32:45 +01:00
symhacks.h Add new VMS hack symbol, update ordinals. 2014-03-02 13:50:06 +00:00
uid.c
vms_rms.h
x86_64cpuid.pl x86[_64]cpuid.pl: add low-level RDSEED. 2014-02-14 17:25:14 +01:00
x86cpuid.pl x86[_64]cpuid.pl: add low-level RDSEED. 2014-02-14 17:25:14 +01:00