Change buf_cpy and buf_xor* functions to use buf_put/buf_get helpers

Authored by jukivili on Nov 5 2018, 7:42 PM.

Description

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>

Details

Committed
jukiviliNov 5 2018, 7:42 PM
Parents
rC30e783ec4874: rijndael: fix unused parameter warning
Branches
Unknown
Tags
Unknown