boringssl/crypto
Adam Langley 09feb0f3d9 Move C++ helpers into |bssl| namespace.
We currently have the situation where the |tool| and |bssl_shim| code
includes scoped_types.h from crypto/test and ssl/test. That's weird and
shouldn't happen. Also, our C++ consumers might quite like to have
access to the scoped types.

Thus this change moves some of the template code to base.h and puts it
all in a |bssl| namespace to prepare for scattering these types into
their respective headers. In order that all the existing test code be
able to access these types, it's all moved into the same namespace.

Change-Id: I3207e29474dc5fcc344ace43119df26dae04eabb
Reviewed-on: https://boringssl-review.googlesource.com/8730
Reviewed-by: David Benjamin <davidben@google.com>
2016-07-11 23:04:52 +00:00
..
aes Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
asn1 Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
base64 Replace base64 decoding. 2016-05-26 17:59:10 +00:00
bio Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
bn Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
buf Add BUF_MEM_reserve. 2016-05-18 19:09:06 +00:00
bytestring Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
chacha Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
cipher Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
cmac Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
conf Add missing internal includes. 2016-03-20 16:38:54 +00:00
curve25519 Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
des Use the straight-forward ROTATE macro. 2015-12-16 19:57:31 +00:00
dh Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
digest Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
dsa Don't rely on BN_FLG_CONSTTIME in the DSA code. 2016-06-20 17:17:41 +00:00
ec Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
ecdh Clean up |ECDH_compute_key|. 2015-10-27 17:00:25 +00:00
ecdsa Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
engine Unwind DH_METHOD and DSA_METHOD. 2015-11-03 22:54:36 +00:00
err Move the Digest/Sign split for SignatureAlgorithms to a lower level. 2016-07-01 19:01:33 +00:00
evp Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
hkdf Fix HKDF leak. 2016-05-20 15:42:01 +00:00
hmac Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +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 Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
modes Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
newhope Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +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 Sync x86 perlasm drivers with upstream master. 2016-06-27 22:00:51 +00:00
pkcs8 Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
poly1305 Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
rand Define RAND_cleanup in one place only 2016-07-11 17:02:45 +00:00
rc4 Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
rsa Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
sha Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
stack Fix stack macro const-ness. 2016-05-13 18:24:57 +00:00
test Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
x509 Move C++ helpers into |bssl| namespace. 2016-07-11 23:04:52 +00:00
x509v3 Remove ASN1_parse and ASN1_parse_dump. 2016-06-14 17:39:17 +00:00
CMakeLists.txt Switch perlasm calling convention. 2016-06-27 21:59:26 +00:00
constant_time_test.c Update constant-time operations. 2014-11-10 13:48:30 -08:00
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 Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +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 compatibility 'inline' define. 2016-06-27 22:16:03 +00:00
mem.c Include intrin.h under cover of warning pragmas. 2016-06-16 16:12:32 +00:00
refcount_c11.c Cast refcounts to _Atomic before use. 2015-05-20 13:39:22 -07:00
refcount_lock.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +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 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 Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
thread_win.c Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
thread.c Remove a bunch of unnecessary includes. 2016-06-28 20:31:14 +00:00
time_support.c Remove some mingw support cruft. 2016-01-25 23:05:45 +00:00