boringssl/crypto
Brian Smith 7cae9f5b6c Use |alignas| for alignment.
MSVC doesn't have stdalign.h and so doesn't support |alignas| in C
code. Define |alignas(x)| as a synonym for |__decltype(align(x))|
instead for it.

This also fixes -Wcast-qual warnings in rsaz_exp.c.

Change-Id: Ifce9031724cb93f5a4aa1f567e7af61b272df9d5
Reviewed-on: https://boringssl-review.googlesource.com/6924
Reviewed-by: Adam Langley <agl@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
2016-01-25 23:05:04 +00:00
..
aes
asn1 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
base64
bio
bn Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
buf
bytestring Rewrite ssl3_send_server_key_exchange to use CBB. 2015-12-22 17:23:58 +00:00
chacha Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
cipher Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
cmac
conf
curve25519 Rename the curve25519 precomputed tables. 2016-01-15 19:51:05 +00:00
des Use the straight-forward ROTATE macro. 2015-12-16 19:57:31 +00:00
dh
digest Fix build. 2015-12-16 21:26:12 +00:00
dsa Fix memory leak in DSA redo case. 2015-12-16 21:17:09 +00:00
ec Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
ecdh
ecdsa Remove a trailing ^M (DOS newline). 2016-01-16 04:08:14 +00:00
engine
err Remove ASN1_R_MALLOC_FAILURE. 2015-12-22 00:12:24 +00:00
evp Update comments to better document in-place semantics. 2016-01-19 17:01:37 +00:00
hkdf
hmac
lhash
md4 Make HOST_l2c return void. 2015-12-16 20:02:37 +00:00
md5 Make HOST_l2c return void. 2015-12-16 20:02:37 +00:00
modes Fix trivial -Wcast-qual violations. 2016-01-21 21:06:02 +00:00
obj Allocate a NID for X25519. 2015-12-22 18:56:53 +00:00
pem OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
perlasm Fix arm perlasm trailing newline. 2016-01-19 16:35:20 +00:00
pkcs8
poly1305 Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
rand
rc4 Remove the stitched RC4-MD5 code and use the generic one. 2015-12-16 23:57:42 +00:00
rsa Remove unnecessary assignment of |e| in |rsa_setup_blinding|. 2016-01-23 17:08:23 +00:00
sha Remove asm __asm__ define. 2015-12-16 20:03:17 +00:00
stack
test Define |OPENSSL_PRINTF_FORMAT_FUNC| for format string annotations. 2016-01-21 20:58:51 +00:00
x509 Fix build of x509_test. 2016-01-20 23:08:03 +00:00
x509v3 OpenSSL reformat x509/, x509v3/, pem/ and asn1/. 2016-01-19 17:01:51 +00:00
CMakeLists.txt
constant_time_test.c
cpu-arm-asm.S
cpu-arm.c
cpu-intel.c Fix |sscanf| format string in cpu-intel.c. 2016-01-21 20:59:35 +00:00
crypto.c
directory_posix.c
directory_win.c
directory.h
ex_data.c
internal.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
mem.c
refcount_c11.c
refcount_lock.c
refcount_test.c
thread_none.c
thread_pthread.c
thread_test.c
thread_win.c
thread.c
time_support.c