boringssl/crypto/fipsmodule/bn
David Benjamin 9d4e06e6bc Switch some pointer casts to memcpy.
This isn't all of our pointer games by far, but for any code which
doesn't run on armv6, memcpy and pointer cast compile to the same code.
For code with does care about armv6 (do we care?), it'll need a bit more
work. armv6 makes memcpy into a function call.

Ironically, the one platform where C needs its alignment rules is the
one platform that makes it hard to honor C's alignment rules.

Change-Id: Ib9775aa4d9df9381995df8698bd11eb260aac58c
Reviewed-on: https://boringssl-review.googlesource.com/17707
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-07-11 02:02:41 +00:00
..
asm Sync ARM assembly up to 609b0852e4d50251857dbbac3141ba042e35a9ae. 2017-06-13 17:47:20 +00:00
add.c
bn_test.cc Convert bn_test to GTest. 2017-06-05 21:45:07 +00:00
bn_tests.txt
bn.c
bytes.c
check_bn_tests.go
cmp.c
ctx.c
div.c
exponentiation.c Switch some pointer casts to memcpy. 2017-07-11 02:02:41 +00:00
gcd.c
generic.c
internal.h
jacobi.c
montgomery_inv.c
montgomery.c
mul.c
prime.c
random.c Switch BN_generate_dsa_nonce's hash back to SHA-512/256. 2017-05-08 22:00:48 +00:00
rsaz_exp.c
rsaz_exp.h
shift.c
sqrt.c