summaryrefslogtreecommitdiff
path: root/sys/man/2
AgeCommit message (Collapse)Author
2018-03-09mp: add mptod and dtompaiju
2018-01-27libndb: retire deprecated csgetval(), ndbgetval() and ndblookval() functionscinap_lenrek
2018-01-21libauth: add auth_respondAI() function to get AuthInfo for mschap/mschapv2cinap_lenrek
2017-12-31libc: constant time implementation for encode(2) routines, fix base32cinap_lenrek
the string encoding functions touch secret key material in a bunch of places (devtls, devcap), so make sure we do not leak information by cache timing side channels, making the encoding and decoding routines constant time. we also expose the alphabets through encXchr()/decXchr() functions so caller can find the end of a encoded string before calling decode function (for libmp). the base32 encoding was broken in several ways. inputs lengths of len%5 == [2,3,4] had output truncated and it was using non-standard alphabet. documenting the alphabet change in the manpage.
2017-12-11/sys/man/*/*: fix perms (sorry)stanley lieber
2017-12-11/sys/lib/rootstubstanley lieber
2017-12-03errstr(2): add /sys/src/libc/9sys/rerrstr.c to SOURCE sectioncinap_lenrek
2017-11-12libsec: AES-NI support for amd64cinap_lenrek
Add assembler versions for aes_encrypt/aes_decrypt and the key setup using AES-NI instruction set. This makes aes_encrypt and aes_decrypt into function pointers which get initialized by the first call to setupAESstate(). Note that the expanded round key words are *NOT* stored in big endian order as with the portable implementation. For that reason the AESstate.ekey and AESstate.dkey fields have been changed to void* forcing an error when someone is accessing the roundkey words. One offender was aesXCBmac, which doesnt appear to be used and the code looks horrible so it has been deleted. The AES-NI implementation is for amd64 only as it requires the kernel to save/restore the FPU state across syscalls and pagefaults.
2017-10-30aes(2): document aes_xts_encrypt() and aes_xts_decrypt() functionscinap_lenrek
2017-10-20libc: cleanup atexit and put exits() in its own compilation unitcinap_lenrek
this avoids having to pull in atexit() and its dependencies (lock(), unlock()) into every program. (as exits() is called by _main() from main9.s).
2017-10-17libsec: add AES CFB and AES OFB stream cipherscinap_lenrek
2017-07-02print(2): clean up vlong flag descriptionEthan Grammatikidis
2017-05-04bio(2): manpage typoaiju
2017-05-04bio: add support for custom I/O handler via Biofnaiju
2017-05-03ctime(2): fix example (thanks raiz)cinap_lenrek
raiz → the reason that the manpage example works not because it's a correct timezone file format, but because readtimezone() (in libc) fails and defaults to GMT.
2017-04-30libregexp: miscellaneous little cleanupsspew
2017-04-30lib9p: allow rewinding in 9pfile directoriescinap_lenrek
2017-04-24libavl: fix documentationspew
2017-04-23libsec: sha256 support for thumbprint files, use it in ssh as wellcinap_lenrek
initThumbprints() now takes an application tag argument so x509 and ssh can coexist. the thumbprint entries can now hold both sha1 and sha256 hashes. okThumbprint() now takes a len argument for the hash length used. the new function okCertificate() hashes the certificate with both and checks for any matches. on failure, okCertificate() returns 0 and sets error string. we also check for include loops now in thumbfiles, limiting the number of includes to 8.
2017-04-22replica: use libavl for avl tree implementationspew
2017-04-22libavl: lookup can return the closest matchspew
2017-04-03fix typo in 9p(2) manpageaiju
2017-03-22plumb(2): Fix typo in description of Plumbdelattr (thanks sam-d)spew
2017-02-10ec(2), rsa(2): document X509toECpub(), X509ecdsaverify(), ↵cinap_lenrek
X509ecdsaverifydigest(), X509rsaverifydigest()
2017-02-10rsa(2): document rsafill()cinap_lenrek
2017-02-10ec(2): document ecencodepub(), ecdecodepub() and ecpubfree() and list all ↵cinap_lenrek
the curve parameter functions
2017-01-139p(2): remove reference to ssh(1)cinap_lenrek
2017-01-12libsec: implement extended 192-bit nonce xchacha variant and hchacha functioncinap_lenrek
2016-12-28libsec: replace des based X9.17 genrandom() with chacha random number generatorcinap_lenrek
2016-12-24libavl: fix manpage example, minor improvement to codespew
2016-12-22avl: fix man page examplespew
2016-12-22alv(2): new avl implementationspew
2016-09-08authsrv(2): update Nvrsafe structure to include aesmachkeycinap_lenrek
2016-08-28mp: fix mpnot and add mpasraiju
2016-08-27rand(2), cons(3): clarify /dev/random behaviourcinap_lenrek
2016-08-27libc: add poolisoverlap() and definitions for Pool *secrmemcinap_lenrek
2016-08-08document mplogic functionsaiju
2016-08-06thread(2): threadgrp() -> threadgetgrp(), thanks jpmcinap_lenrek
2016-07-04add history for libregexpspew
2016-06-05aml(2): document amlintmaskcinap_lenrek
2016-04-28rune(2): add Runeerror reencoding considerations in BUGS section (thanks aiju)cinap_lenrek
2016-04-09aes(2): mention aesCBC bugaiju
2016-04-07qball(2): fix bad manpage referencecinap_lenrek
2016-03-23add portable AES-GCM (Galois/Counter Mode) implementation to libsec and devtlscinap_lenrek
2016-03-01manpage references/typosBurnZeZ
2016-02-28authsrv(2): document _asgetpakkey(), authpak_hash(), authpak_new(), ↵cinap_lenrek
authpak_finish()
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-19salsa(2): fix source referencecinap_lenrek