boringssl/crypto
David Benjamin d822ed811a Make CBB_len return a length, not remaining.
It switched from CBB_remaining to CBB_len partway through review, but
the semantics are still CBB_remaining. Using CBB_len allows the
len_before/len_after logic to continue working even if, in the future,
handshake messages are built on a non-fixed CBB.

Change-Id: Id466bb341a14dbbafcdb26e4c940a04181f2787d
Reviewed-on: https://boringssl-review.googlesource.com/5371
Reviewed-by: Adam Langley <agl@google.com>
2015-07-09 19:20:09 +00:00
..
aes Add tests for low-level AES functions. 2015-07-01 21:37:57 +00:00
asn1 Convert reference counts in crypto/ 2015-05-20 19:15:26 +00:00
base64 Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
bio Demand for newer POSIX macro 2015-07-06 22:41:16 +00:00
bn Add crypto/bytestring-based BIGNUM DER functions. 2015-07-07 00:47:39 +00:00
buf
bytestring Make CBB_len return a length, not remaining. 2015-07-09 19:20:09 +00:00
chacha Emit #if guards for ARM assembly files. 2015-06-23 21:00:32 +00:00
cipher Call ERR_clear_error after functions that are expected to fail. 2015-07-01 21:47:44 +00:00
cmac Add support for CMAC (RFC 4493). 2015-05-07 21:13:41 +00:00
conf
des Restore |DES_ede3_cfb_encrypt| and |DES_ede3_cfb64_encrypt| from OpenSSL at ce7e647b. 2015-06-24 01:33:31 +00:00
dh Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
digest Remove EVP_PKEY_HMAC. 2015-06-25 00:03:02 +00:00
dsa Fix some malloc test crashs. 2015-05-21 18:00:10 +00:00
ec Fix some malloc test crashs. 2015-05-21 18:00:10 +00:00
ecdh
ecdsa Fix my screwup in review. 2015-07-06 19:35:44 -07:00
engine
err Parse RSAPrivateKey with CBS. 2015-07-07 22:50:53 +00:00
evp Parse RSAPrivateKey with CBS. 2015-07-07 22:50:53 +00:00
hkdf Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
hmac Remove EVP_PKEY_HMAC. 2015-06-25 00:03:02 +00:00
lhash Fix some malloc test crashs. 2015-05-21 18:00:10 +00:00
md4 Fix integer types in low-level hash functions. 2015-06-01 22:12:21 +00:00
md5 Fix integer types in low-level hash functions. 2015-06-01 22:12:21 +00:00
modes Add some comments and tweak assertions for cbc.c. 2015-05-27 21:48:36 +00:00
obj Tidy up overflows in obj_cmp. 2015-05-28 17:22:19 +00:00
pem pem_lib: make |cipher_by_name| recognize some more ciphers. 2015-06-18 23:04:46 +00:00
perlasm Emit #if guards for ARM assembly files. 2015-06-23 21:00:32 +00:00
pkcs8 Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
poly1305 Fix ARM Clang build. 2015-05-05 00:24:59 +00:00
rand Include openssl/chacha.h rather than duplicate the prototype. 2015-07-01 19:35:56 +00:00
rc4 Mind the end of the buffer in aligned case of generic RC4 implementation. 2015-05-12 19:31:09 +00:00
rsa Remove RSA_OAEP_PARAMS. 2015-07-07 22:51:11 +00:00
sha Fix compilation of sha256-armv4.S when using -march=armv6 2015-06-02 18:15:37 +00:00
stack Remove unnecessary NULL checks, part 4. 2015-05-04 23:13:12 +00:00
test Raise SIGTRAP rather than abort on failure. 2015-06-16 18:25:30 +00:00
x509 Parse RSAPrivateKey with CBS. 2015-07-07 22:50:53 +00:00
x509v3 Rename tabtest.c and v3nametest.c 2015-06-16 18:07:27 +00:00
arm_arch.h
CMakeLists.txt Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
constant_time_test.c
cpu-arm-asm.S
cpu-arm.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
cpu-intel.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
cpu-x86_64-asm.pl
cpu-x86-asm.pl
crypto.c Fix |SSLeay|. 2015-05-20 17:44:44 +00:00
directory_posix.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
directory_win.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
directory.h
ex_data.c Remove unnecessary NULL checks, part 3. 2015-05-04 23:12:04 +00:00
header_removed.h
internal.h Have consumers supply OPENSSL_C11_ATOMIC. 2015-05-27 19:21:59 +00:00
mem.c
refcount_c11.c Cast refcounts to _Atomic before use. 2015-05-20 13:39:22 -07:00
refcount_lock.c Add infrastructure for reference counts. 2015-05-20 19:14:59 +00:00
refcount_test.c Specify argc and argv arguments to refcount_test:main. 2015-05-20 13:49:41 -07:00
thread_none.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
thread_pthread.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
thread_test.c Use the correct case for Windows headers. 2015-06-09 21:38:04 +00:00
thread_win.c Support Trusty, an embedded platform. 2015-05-08 18:34:55 +00:00
thread.c Remove leftovers of the old-style locks. 2015-05-20 19:18:44 +00:00
time_support.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00