plan9fox/sys/include
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
..
ape libsec: rewrite aex_xts_encrypt()/aes_xts_decrypt() 2017-10-29 21:49:24 +01:00
9p.h lib9p: allow rewinding in 9pfile directories 2017-04-30 01:49:21 +02:00
a.out.h retire the dec alpha port 2016-05-04 16:11:48 +02:00
aml.h aml: define amlintmask and set it according to DSDT revision (64bit / 32bit) 2016-06-05 14:57:38 +02:00
ar.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
auth.h libauth: fix authrpc buffer overflow (import from sources) 2012-08-02 22:22:05 +02:00
authsrv.h libauthsrv: ANAMELEN -> PASSWDLEN 2016-08-05 19:09:42 +02:00
avl.h replica: use libavl for avl tree implementation 2017-04-22 14:28:02 -05:00
bin.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
bio.h bio: add support for custom I/O handler via Biofn 2017-05-04 17:42:12 +00:00
bootexec.h libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures for amd64 2015-03-18 19:31:51 +01:00
complete.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
control.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ctype.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cursor.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
disk.h Add alignment hints for e512 ATA drives. 2012-09-09 17:22:12 +12:00
draw.h libdraw: get rid of _drawdebug variable 2017-04-29 21:03:52 +02:00
event.h libdraw: added enter() and eenter() functions 2011-10-31 19:41:48 +01:00
fcall.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fis.h Add alignment hints for e512 ATA drives. 2012-09-09 17:22:12 +12:00
flate.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
frame.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
geometry.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
html.h libhtml: fix potential linked list corruption 2013-09-05 00:55:58 +02:00
httpd.h libhttpd: declare hvprint 2015-05-20 15:09:34 -07:00
ip.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
json.h libjson: added printing support (thanks spew) 2015-12-22 18:12:56 +01:00
keyboard.h rio: add ^B control sequence to move cursor to output point 2013-08-04 06:45:58 +02:00
libc.h libc: improve alignment of QLp structure on amd64, cosmetics 2017-10-28 18:53:27 +02:00
libsec.h libsec: rewrite aex_xts_encrypt()/aes_xts_decrypt() 2017-10-29 21:49:24 +01:00
mach.h libmach: support disassembling from memory 2017-08-24 13:02:27 +00:00
memdraw.h libmemdraw/libmemlayer: get rid of drawdebug prints 2017-04-29 21:10:28 +02:00
memlayer.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mouse.h libdraw: added enter() and eenter() functions 2011-10-31 19:41:48 +01:00
mp.h mp.h: add mpasr 2016-08-28 16:05:22 +02:00
ndb.h ndb/cs: fix use after free caused by flush/clunk happening before dns lookup finishes 2012-03-23 04:02:34 +01:00
nfs3.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
plumb.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pool.h libc: add poolisoverlap() and definitions for Pool *secrmem 2016-08-27 20:23:55 +02:00
rdbg.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
regexp.h better memory management of threads (thanks knuth) 2016-04-27 17:36:43 -05:00
scribble.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
stdio.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
String.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sunrpc.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
thread.h libthread: get rid of tprivalloc()/tprivfree()/tprivdata() and _workerdata() (thanks qrstuv) 2015-09-06 23:25:14 +02:00
tos.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
trace.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
venti.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00