• 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
    Signed-off-by: default avatarSimo Sorce <simo@redhat.com>
xts.c 6.3 KB