plan9fox/sys/include
cinap_lenrek 254031cf70 libsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()
chacha20 comes in two variants: ietf rfc7539, using 96 bit iv and 32 bit counter
and draft-agl-tls-chacha20poly1305 using 64 bit iv and a 64 bit counter. so
setupChachastate() now takes a ivlen argument which sets the mode.

add ccpoly_encrypt()/ccpoly_decrypt() routines.

to implement timing safe ccpoly_decrypt(), a constant time memcmp was needed, so
adding tsmemcmp() to libsec.
2015-11-26 15:25:10 +01:00
..
ape 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
9p.h merge 2015-10-15 13:22:48 +02:00
a.out.h libmach: add arm64 constants (import from sources) 2012-08-02 22:23:58 +02:00
aml.h libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch) 2013-09-07 14:40:24 +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 introduce AES key into nvram and keyfs 2015-08-21 02:43:31 +02:00
avl.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
bin.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
bio.h bio: add Bfdopen() from plan9port 2014-12-14 20:21:42 +01: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 remove drawlsetrefresh and convM2Tnoenc: undefined functions 2015-06-09 18:25:09 +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 make libjson from /sys/src/cmd/btc/json.c 2013-10-27 15:44:33 -04: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: remove privfree(), simplify privalloc() 2015-09-06 20:43:05 +02:00
libsec.h libsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp() 2015-11-26 15:25:10 +01:00
mach.h libmach: add arm64 constants (import from sources) 2012-08-02 22:23:58 +02:00
memdraw.h draw: fix drawing of replicated source image on memlayer with a clip rectangle 2013-12-09 03:35:01 +01: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 libmp: initial attempt at constant time code, faster reductions for special primes (for ecc) 2015-11-21 09:39:59 +01: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
oventi.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 pool: declare pooldump in pool.h. the manual says it is public. 2014-06-09 12:17:45 -07:00
rdbg.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
regexp.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03: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