Change buf_cpy and buf_xor* functions to use buf_put/buf_get helpers
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 5 Nov 2018 18:42:58 +0000 (20:42 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 5 Nov 2018 18:42:58 +0000 (20:42 +0200)
commit0068d41d9304ebcdb2caba1fa8848925e2bfaac7
tree8417dd92d25a410a791cc7d4f09dd958f273eca9
parent30e783ec487466132324673f197d36b85a91b060
Change buf_cpy and buf_xor* functions to use buf_put/buf_get helpers

* cipher/bufhelp.h (BUFHELP_FAST_UNALIGNED_ACCESS)
(bufhelp_int_s, buf_xor_1): Remove.
(buf_cpy, buf_xor, buf_xor_2dst, buf_xor_n_copy_2): Use
buf_put/buf_get helpers to handle unaligned memory accesses.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/bufhelp.h