• Simo Sorce's avatar
    Recode xts_shift based on endianess · 794d2169
    Simo Sorce authored
    This creates two implementations of xts_shift, one for little endian and
    one for big endian. This way we avoid copies to additional variables and
    inefficient byteswapping on platforms that do not have dedicated
    instructions.
    Signed-off-by: default avatarSimo Sorce <simo@redhat.com>
    794d2169
xts.c 6.3 KB