boringssl/crypto/cipher
David Benjamin a4ddb6e212 Remove unnecessary constant-time operation.
j and md_size are public values, so this can just be done directly. (If
they weren't, we'd have worse problems.) This makes the loop look the
same as the rotation loop below.

Change-Id: Ic75550ad4e40b2015668cb12c26ca2d20bd285b6
Reviewed-on: https://boringssl-review.googlesource.com/12474
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-12-01 21:54:45 +00:00
..
test Replace keywrap AEADs with upstream's APIs. 2016-10-04 01:37:31 +00:00
aead_test.cc Replace keywrap AEADs with upstream's APIs. 2016-10-04 01:37:31 +00:00
aead.c Add EVP_AEAD_CTX_aead. 2016-09-17 01:06:40 +00:00
cipher_test.cc Fold stack-allocated types into headers. 2016-09-07 21:50:05 +00:00
cipher.c Fix encrypt overflow 2016-05-03 16:43:12 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Replace keywrap AEADs with upstream's APIs. 2016-10-04 01:37:31 +00:00
e_chacha20poly1305.c Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
e_des.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
e_null.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
e_rc2.c Fix up macros. 2016-10-18 18:28:23 +00:00
e_rc4.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
e_ssl3.c Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
e_tls.c Clarify the scope & initialization of |data_len| in |aead_tls_open|. 2016-10-28 16:44:39 +00:00
internal.h Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
tls_cbc.c Remove unnecessary constant-time operation. 2016-12-01 21:54:45 +00:00