summaryrefslogtreecommitdiff
path: root/sys/include
AgeCommit message (Collapse)Author
2016-08-28mp.h: add mpasraiju
2016-08-28ape: add d_stat struct in dirent struct allowing the avoidance of statscinap_lenrek
2016-08-27libc: add poolisoverlap() and definitions for Pool *secrmemcinap_lenrek
2016-08-05libauthsrv: ANAMELEN -> PASSWDLENcinap_lenrek
2016-07-31libauthsrv: export common readcons() routine and introduce PASSWDLEN constantcinap_lenrek
drawterm, factotum, secstore and the auth commands all had ther own implementation of readcons. we want to have one common function for this to avoid the duplication, so putting that in libauthsrv. introduce PASSWDLEN which makes the use more explicit than ANAMELEN.
2016-07-10libsec: add scrypt password based key derivation functioncinap_lenrek
2016-06-05aml: define amlintmask and set it according to DSDT revision (64bit / 32bit)cinap_lenrek
2016-05-04retire the dec alpha portcinap_lenrek
2016-04-28remove ape/regexp.h, remove leftover #pragma lib oldlibregexp.$O from ↵cinap_lenrek
upas/bayes/regexp.h
2016-04-27better memory management of threads (thanks knuth)ben
2016-04-26New libregexp and APE ported to nativeben
2016-04-20libsec: implement elliptic curve group operations in jacobian coordinate systemcinap_lenrek
2016-04-13remove unused liboventicinap_lenrek
2016-04-13libdraw: avoid BPSHORT()/BPLONG() expansion, cleanup loadchar(),cachechars()cinap_lenrek
assigning the expression value to a temporary variable in BPSHORT() and BPLONG() saves arround 2K of text in rio on arm and arround 1K on amd64. loadchar(): use the passed in "h" as the char index instead of recomputing it from c-f->cache. dont recompute wid. cachechars(): do cache lookup and find oldest entry in a single loop pass.
2016-04-11ape: removing opensslcinap_lenrek
2016-04-11ape: add libauth, libbio, libmp and libsec as replacements for opensslcinap_lenrek
2016-03-23add portable AES-GCM (Galois/Counter Mode) implementation to libsec and devtlscinap_lenrek
2016-02-28libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings ↵cinap_lenrek
for poly1305
2016-02-28libdraw: remove unused static log2[] arraycinap_lenrek
2016-02-10removing libgio, this is not golang mveery >:-(cinap_lenrek
2016-02-09Imported ngfs libgio. This is a library to create virtual file descriptors, ↵Matthew Veety
similar to common lisp grey-streams or golang's io.Reader/io.Writer. Now 95% bug-free.
2016-02-01libsec: ecdsa client support for tlshand, cleanupscinap_lenrek
2016-01-19libsec: add salsa20 stream ciphercinap_lenrek
2016-01-07introduce signed intptr and %z format modifier for formating uintptr and intptrcinap_lenrek
2016-01-06auth: release dp9ik implementation and reentrant factotumcinap_lenrek
2015-12-25libsec: implement TLS-PSK for tlsClient()/tlsServer()cinap_lenrek
2015-12-22libjson: added printing support (thanks spew)cinap_lenrek
2015-12-16libmp: add mpfield() function for fast field arithmeticcinap_lenrek
instead of testing for special field primes each time in mpmod(), make it explicit with a mpfiled() function that tests a modulus N to be of some special form that can be reduced more efficiently with some precalculation, and replaces N with a Mfield* when it can. the Mfield*'s are recognized by mpmod() as they have the MPfield flag set and provide a function pointer that executes the fast reduction.
2015-12-08mp: add logic operations; mpfmt: include 0x with #aiju
2015-11-26libsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()cinap_lenrek
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-21libmp: initial attempt at constant time code, faster reductions for special ↵cinap_lenrek
primes (for ecc) introduce MPtimesafe flag to request time invariant computation disables normalization so significant digits are not leaked.
2015-10-22libsec: add chacha cipher (from charles forsyth)cinap_lenrek
2015-10-22libsec: add poly1305cinap_lenrek
2015-10-15mergecinap_lenrek
2015-10-15lib9p: do not override Srv.end in listensrv(), simplify srvclose() and ↵cinap_lenrek
recounting listensrv() used to override Srv.end() with its own handler to free the malloc'd Srv structure and close the fd. this makes it impossible to register your own cleanup handler. instead, we introduce the private Srv.free() handler that is used by listensrv to register its cleanup code. Srv.free() is called once all the srv procs have been exited and all requests on that srv have been responded to while Srv.end() is called once all the procs exited the srv loop regardless of the requests still being in flight.
2015-10-12lib9p: add reqqueuefreeaiju
2015-09-29ape: set MB_CUR_MAX to 4 in stdlib.h for 21-bit runes (thanks erik quanstro)cinap_lenrek
> fix silly bug with ape/stdlib.h which caused ape/lib/regexp/regcomp.c > to miscompile regular expressions with runes > 0xffff.
2015-09-22libsec: implement dh parameter signature verification, stop lying about ↵cinap_lenrek
non-rsa ciphers, fix memory leaks in X509 code actually verify the diffie hellman parameter signature, this comes in two flavours. TLS1.2 uses X509 signature with a single hash specified by the signature algorithm field in the signature itself and pre TLS1.2 where md5+sha1 hashes of the signed blob are pkcs1 padded and encrypted with the rsa private key. stop advertizing non-rsa cipher suits (DSS and ECDSA), as we have not implmenented them. fix some memory leaks in X509 code while we'r at it.
2015-09-06libthread: get rid of tprivalloc()/tprivfree()/tprivdata() and _workerdata() ↵cinap_lenrek
(thanks qrstuv) these functions where undocumented and unused. especially tprivfree() was buggy missing a unlock() call. theres not much point in supporting these functions as theres threaddata() and procdata().
2015-09-06libc: remove privfree(), simplify privalloc()cinap_lenrek
2015-09-02libsec: add rfc5869 hmac-based key derivation function hkdf_x()cinap_lenrek
2015-09-02libsec: generalize pbkdf2_hmac_sha1() to pbkdf2_x() passing the hmac as an ↵cinap_lenrek
argument
2015-09-01libsec: add curve25519 diffie hellmancinap_lenrek
2015-09-01libsec: remove flawed aes() digest and hmac_aes() implementations (thanks aiju)cinap_lenrek
2015-08-28libsec: add curve25519() from http://code.google.com/p/curve25519-donna/cinap_lenrek
this is a portable version of curve25519() by google.
2015-08-27mp.h: third time's a charmglenda
2015-08-27mp.h: oopsglenda
2015-08-27mp.h: define mpnrandglenda
2015-08-26libsec: add q parameter to dh_new() for subgroup support, sanitize dh parameterscinap_lenrek
2015-08-25fix fuckupglenda