boringssl/crypto
David Benjamin 2e8ba2d25d Use one C99-style for loop.
Switch one for loop to the new spelling as a canary. All our compilers seem to
support it fine, except GCC needs to be told to build with -std=c99. (And, upon
doing so, it'll require _XOPEN_SOURCE=700 for pthread_rwlock_t.)

We'll let this sit for a bit until it's gotten into downstreams without issue
and then open the floodgates.

BUG=47

Change-Id: I1c69d4b2df8206e0b55f30aa59b5874d82fca893
Reviewed-on: https://boringssl-review.googlesource.com/8235
Reviewed-by: Adam Langley <agl@google.com>
2016-06-09 21:27:54 +00:00
..
aes Switch all 'num' parameters in crypto/modes to unsigned. 2016-04-19 17:56:25 +00:00
asn1 Fix some missing inits 2016-06-07 22:05:10 +00:00
base64 Replace base64 decoding. 2016-05-26 17:59:10 +00:00
bio Add BIO_set_conn_int_port. 2016-06-06 14:49:09 +00:00
bn Fix BN_mod_word bug. 2016-06-09 19:05:31 +00:00
buf Add BUF_MEM_reserve. 2016-05-18 19:09:06 +00:00
bytestring Make tls_open_record always in-place. 2016-06-08 18:39:07 +00:00
chacha Revert "Import chacha-x86.pl fix." 2016-06-09 19:49:12 +00:00
cipher Require in == out for in-place encryption. 2016-06-09 19:49:03 +00:00
cmac Fix some malloc test failures. 2016-03-28 17:17:32 +00:00
conf Add missing internal includes. 2016-03-20 16:38:54 +00:00
curve25519 Add missing copyright header. 2016-06-08 20:13:46 +00:00
des Use the straight-forward ROTATE macro. 2015-12-16 19:57:31 +00:00
dh Call |BN_mod_exp_mont_consttime| in crypto/dh. 2016-05-11 22:34:19 +00:00
digest Revert md_len removal from SHA256_CTX and SHA512_CTX. 2016-04-27 19:01:23 +00:00
dsa Fix DSA, preserve BN_FLG_CONSTTIME 2016-06-07 19:29:18 +00:00
ec Use different bit tricks to extend the LSB. 2016-04-25 23:05:20 +00:00
ecdh Clean up |ECDH_compute_key|. 2015-10-27 17:00:25 +00:00
ecdsa Drop support for engines-provided signature verification. 2016-04-18 20:40:17 +00:00
engine Unwind DH_METHOD and DSA_METHOD. 2015-11-03 22:54:36 +00:00
err Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
evp Add a no-op OpenSSL_add_all_algorithms_conf. 2016-06-06 15:58:02 +00:00
hkdf Fix HKDF leak. 2016-05-20 15:42:01 +00:00
hmac Reimplement PKCS#12 key derivation. 2016-04-19 18:16:38 +00:00
lhash Use non-deprecated methods on windows. 2016-05-19 20:30:50 +00:00
md4 Revert md_len removal from SHA256_CTX and SHA512_CTX. 2016-04-27 19:01:23 +00:00
md5 Revert md_len removal from SHA256_CTX and SHA512_CTX. 2016-04-27 19:01:23 +00:00
modes Start assuming MSVC 2015. 2016-05-02 19:46:25 +00:00
newhope Be consistent about 𝑥_tests.txt 2016-06-06 15:57:46 +00:00
obj Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
pem Reject inappropriate private key encryption ciphers. 2016-05-03 16:30:08 +00:00
perlasm perlasm/x86_64-xlate.pl: handle binary constants early. 2016-03-17 18:23:40 +00:00
pkcs8 Add standalone PKCS#8 and SPKI fuzzers. 2016-04-25 21:57:28 +00:00
poly1305 Be consistent about 𝑥_tests.txt 2016-06-06 15:57:46 +00:00
rand Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
rc4 Remove RC4_options from rc4-586.pl. 2016-04-22 21:14:11 +00:00
rsa Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
sha Revert md_len removal from SHA256_CTX and SHA512_CTX. 2016-04-27 19:01:23 +00:00
stack Fix stack macro const-ness. 2016-05-13 18:24:57 +00:00
test newhope: improve test vectors. 2016-06-02 19:28:00 +00:00
x509 Ensure verify error is set when X509_verify_cert() fails. 2016-06-09 17:29:39 +00:00
x509v3 Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
CMakeLists.txt Banish SSL_add_dir_cert_subjects_to_stack and OPENSSL_DIR_CTX to decrepit. 2016-04-27 18:40:25 +00:00
constant_time_test.c
cpu-aarch64-linux.c Rewrite ARM feature detection. 2016-03-26 04:54:44 +00:00
cpu-arm-linux.c Make CRYPTO_is_NEON_capable aware of the buggy CPU. 2016-04-28 16:42:21 +00:00
cpu-arm.c Rewrite ARM feature detection. 2016-03-26 04:54:44 +00:00
cpu-intel.c Add missing internal includes. 2016-03-20 16:38:54 +00:00
crypto.c Add CRYPTO_has_asm. 2016-05-17 19:03:31 +00:00
ex_data.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
internal.h Remove in-place TLS record assembly for now. 2016-06-09 19:47:44 +00:00
mem.c Use one C99-style for loop. 2016-06-09 21:27:54 +00:00
refcount_c11.c
refcount_lock.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
refcount_test.c
thread_none.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
thread_pthread.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
thread_test.c Use nanosleep instead of usleep. 2016-04-19 21:54:26 +00:00
thread_win.c Switch Windows CRYPTO_MUTEX implementation to SRWLOCK. 2016-05-31 21:11:36 +00:00
thread.c Add some getters for the old lock callbacks. 2016-06-06 14:51:36 +00:00
time_support.c Remove some mingw support cruft. 2016-01-25 23:05:45 +00:00