plan9fox/sys/include/ape
cinap_lenrek c021390e21 libsec: rewrite aex_xts_encrypt()/aes_xts_decrypt()
the previous implementation was not portable at all, assuming
little endian in gf_mulx() and that one can cast unaligned
pointers to ulong in xor128(). also the error code is likely
to be ignored, so better abort() when the length is not a
multiple of the AES block size.

we also pass in full AESstate structures now instead of
the expanded key longs, so that we do not need to hardcode
the number of rounds. this allows each indiviaul keys to
be bigger than 128 bit.
2017-10-29 21:49:24 +01:00
..
arpa
netinet
sys
ar.h
assert.h
auth.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
bio.h update ape/bio.h (thanks jpm) 2017-05-06 14:33:52 +00:00
bsd.h
bzlib.h
ctype.h
cursor.h
dirent.h ape: add d_stat struct in dirent struct allowing the avoidance of stats 2016-08-28 03:39:49 +02:00
draw.h libdraw: get rid of _drawdebug variable 2017-04-29 21:03:52 +02:00
errno.h
error.h
event.h
fcntl.h
fmt.h
grp.h
inttypes.h ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h 2015-07-13 02:36:48 +02:00
keyboard.h
lib9.h
libl.h
libnet.h
libsec.h libsec: rewrite aex_xts_encrypt()/aes_xts_decrypt() 2017-10-29 21:49:24 +01:00
libv.h
limits.h ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h 2015-07-13 02:36:48 +02:00
locale.h
lock.h
mouse.h
mp.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
netdb.h
Plan9libnet.h
pwd.h
qlock.h libc: improve alignment of QLp structure on amd64, cosmetics 2017-10-28 18:53:27 +02:00
select.h
setjmp.h
signal.h
stddef.h
stdint.h ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h 2015-07-13 02:36:48 +02:00
stdio.h
stdlib.h ape: set MB_CUR_MAX to 4 in stdlib.h for 21-bit runes (thanks erik quanstro) 2015-09-29 15:17:21 +02:00
string.h
termios.h
time.h ape: implement altzone for tzset() 2015-08-04 02:01:41 +02:00
u.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
unistd.h
utf.h
utime.h
zlib.h