boringssl/crypto/fipsmodule/ec
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 p256-x86_64-asm.pl: minor sqr_montx cleanup. 2017-06-05 18:37:55 +00:00
ec_key.c Don't draw entropy during FIPS power-on tests. 2017-06-13 20:27:48 +00:00
ec_montgomery.c Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
ec_test.cc Convert example_mul to GTest. 2017-07-10 19:28:29 +00:00
ec.c Remove some unnecessary indirections. 2017-06-21 21:29:38 +00:00
internal.h Remove some unnecessary indirections. 2017-06-21 21:29:38 +00:00
oct.c Tidy up FIPS module dependencies. 2017-05-05 23:10:24 +00:00
p224-64.c Switch some pointer casts to memcpy. 2017-07-11 02:02:41 +00:00
p256-64.c Switch some pointer casts to memcpy. 2017-07-11 02:02:41 +00:00
p256-x86_64_test.cc Convert p256-x86_64_test to GTest. 2017-06-09 18:50:56 +00:00
p256-x86_64_tests.txt Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
p256-x86_64-table.h Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
p256-x86_64.c Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
p256-x86_64.h Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
simple.c Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
util-64.c Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00
wnaf.c Move ec/ and ecdsa/ into fipsmodule/ 2017-05-04 20:27:23 +00:00