Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-28 | mp.h: add mpasr | aiju | |
2016-08-28 | ape: add d_stat struct in dirent struct allowing the avoidance of stats | cinap_lenrek | |
2016-08-27 | libc: add poolisoverlap() and definitions for Pool *secrmem | cinap_lenrek | |
2016-08-05 | libauthsrv: ANAMELEN -> PASSWDLEN | cinap_lenrek | |
2016-07-31 | libauthsrv: export common readcons() routine and introduce PASSWDLEN constant | cinap_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-10 | libsec: add scrypt password based key derivation function | cinap_lenrek | |
2016-06-05 | aml: define amlintmask and set it according to DSDT revision (64bit / 32bit) | cinap_lenrek | |
2016-05-04 | retire the dec alpha port | cinap_lenrek | |
2016-04-28 | remove ape/regexp.h, remove leftover #pragma lib oldlibregexp.$O from ↵ | cinap_lenrek | |
upas/bayes/regexp.h | |||
2016-04-27 | better memory management of threads (thanks knuth) | ben | |
2016-04-26 | New libregexp and APE ported to native | ben | |
2016-04-20 | libsec: implement elliptic curve group operations in jacobian coordinate system | cinap_lenrek | |
2016-04-13 | remove unused liboventi | cinap_lenrek | |
2016-04-13 | libdraw: 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-11 | ape: removing openssl | cinap_lenrek | |
2016-04-11 | ape: add libauth, libbio, libmp and libsec as replacements for openssl | cinap_lenrek | |
2016-03-23 | add portable AES-GCM (Galois/Counter Mode) implementation to libsec and devtls | cinap_lenrek | |
2016-02-28 | libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings ↵ | cinap_lenrek | |
for poly1305 | |||
2016-02-28 | libdraw: remove unused static log2[] array | cinap_lenrek | |
2016-02-10 | removing libgio, this is not golang mveery >:-( | cinap_lenrek | |
2016-02-09 | Imported 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-01 | libsec: ecdsa client support for tlshand, cleanups | cinap_lenrek | |
2016-01-19 | libsec: add salsa20 stream cipher | cinap_lenrek | |
2016-01-07 | introduce signed intptr and %z format modifier for formating uintptr and intptr | cinap_lenrek | |
2016-01-06 | auth: release dp9ik implementation and reentrant factotum | cinap_lenrek | |
2015-12-25 | libsec: implement TLS-PSK for tlsClient()/tlsServer() | cinap_lenrek | |
2015-12-22 | libjson: added printing support (thanks spew) | cinap_lenrek | |
2015-12-16 | libmp: add mpfield() function for fast field arithmetic | cinap_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-08 | mp: add logic operations; mpfmt: include 0x with # | aiju | |
2015-11-26 | libsec: 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-21 | libmp: 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-22 | libsec: add chacha cipher (from charles forsyth) | cinap_lenrek | |
2015-10-22 | libsec: add poly1305 | cinap_lenrek | |
2015-10-15 | merge | cinap_lenrek | |
2015-10-15 | lib9p: 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-12 | lib9p: add reqqueuefree | aiju | |
2015-09-29 | ape: 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-22 | libsec: 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-06 | libthread: 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-06 | libc: remove privfree(), simplify privalloc() | cinap_lenrek | |
2015-09-02 | libsec: add rfc5869 hmac-based key derivation function hkdf_x() | cinap_lenrek | |
2015-09-02 | libsec: generalize pbkdf2_hmac_sha1() to pbkdf2_x() passing the hmac as an ↵ | cinap_lenrek | |
argument | |||
2015-09-01 | libsec: add curve25519 diffie hellman | cinap_lenrek | |
2015-09-01 | libsec: remove flawed aes() digest and hmac_aes() implementations (thanks aiju) | cinap_lenrek | |
2015-08-28 | libsec: add curve25519() from http://code.google.com/p/curve25519-donna/ | cinap_lenrek | |
this is a portable version of curve25519() by google. | |||
2015-08-27 | mp.h: third time's a charm | glenda | |
2015-08-27 | mp.h: oops | glenda | |
2015-08-27 | mp.h: define mpnrand | glenda | |
2015-08-26 | libsec: add q parameter to dh_new() for subgroup support, sanitize dh parameters | cinap_lenrek | |
2015-08-25 | fix fuckup | glenda | |