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
cinap_lenrek
9ef4ba83f6
rio: fix handling "resize" wctl for hidden windows
...
when the "resize" wctl was used on a hidden window, the window
was put back on the screen, however, it was not removed from
the hidden[] array so trying to hide the window again failed
because whide() assumed it was already hidden.
the fix is to not unhide the window, but preserve the hidden
state, so windows can programmatically be reshaped and moved,
but will remain hidden unless explicitely unhidden.
2015-11-25 04:30:44 +01:00
cinap_lenrek
569bdd00c2
add mpc(1), extended precision code generator
2015-11-22 23:47:58 +01:00
cinap_lenrek
ccfb9118a3
bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit
2015-11-22 03:19:27 +01:00
cinap_lenrek
38e1e5272f
libmp: initial attempt at constant time code, faster reductions for special primes (for ecc)
...
introduce MPtimesafe flag to request time invariant computation
disables normalization so significant digits are not leaked.
2015-11-21 09:39:59 +01:00
stanley lieber
15bd0c52cc
delkey(1): update man page to reflect recent changes.
2015-10-31 16:07:22 -04:00
cinap_lenrek
93d63dc1f3
mp(2): fix typo mnprand() -> mpnrand()
2015-10-28 13:39:17 +01:00
cinap_lenrek
847f3a0cf5
libsec: add chacha cipher (from charles forsyth)
2015-10-22 07:48:26 +02:00
cinap_lenrek
7effba9d98
libsec: add poly1305
2015-10-22 07:17:25 +02:00
aiju
27d2955ccf
lib9p: add reqqueuefree
2015-10-12 10:41:40 +02:00
cinap_lenrek
47682ee42a
aux/listen1: allow alternative namespace when running as user none with -n option
2015-10-10 00:09:02 +02:00
aiju
fe06f8e571
add timepic(1) and qr(1) manpages
2015-09-29 20:49:52 +02:00
stanley lieber
f9244d433a
qer(8): correct man page example (thanks, kenji)
2015-09-26 19:07:05 -04:00
cinap_lenrek
8003c8b1e2
utf(6), rune(2): document 21-bit runes
2015-09-24 12:14:08 +02:00
stanley lieber
f5174e6fdf
ircrc: add -P option for server password (thanks, nick)
2015-09-19 14:03:22 -04:00
cinap_lenrek
7562da90e5
libc: remove privfree(), simplify privalloc()
2015-09-06 20:43:05 +02:00
cinap_lenrek
e3a64494e7
libsec: remove flawed aes() digest and hmac_aes() implementations (thanks aiju)
2015-09-01 21:35:43 +02:00
cinap_lenrek
8f2e408448
libmp: add mpnrand() function to generate uniform random number 0 ≤ x < n
2015-08-25 20:20:25 +02:00
cinap_lenrek
54a91861df
remove convkeys2
2015-08-22 00:21:11 +02:00
cinap_lenrek
5c941ec346
import(4): -o, -O flags gone
2015-08-21 23:29:10 +02:00
cinap_lenrek
61e9d23eb2
cpu, import: remove old9p support
2015-08-21 23:22:59 +02:00
cinap_lenrek
cb474632d3
remove kfs references from manual
2015-08-21 19:51:03 +02:00
cinap_lenrek
3db2012126
fshalt: remove kfs support
2015-08-21 19:40:29 +02:00
cinap_lenrek
985b2457cd
mkfs(8): dont mention kfs
2015-08-21 19:35:56 +02:00
cinap_lenrek
46a7876d32
disk/mkfs: rmeove kfs support
2015-08-21 19:32:48 +02:00
cinap_lenrek
63b18e7925
introduce AES key into nvram and keyfs
2015-08-21 02:43:31 +02:00
cinap_lenrek
02cfcfeab4
libauthsrv: generalize ticket service, not hardcoding ticket format and DES encryption
...
this is in preparation for replacing DES ticket encryption with
something better. but first need to make the code stop making
assumptions.
the wire encoding of the Ticket might be variable length
with TICKETLEN just giving an upper bound. the details will be
handled by libauthsrv _asgetticket() and _asgetresp() funciotns.
the Authenticator and Passwordreq structures are encrypted
with the random ticket key. The encryption schmeme will depend
on the Ticket format used, so we pass the Ticket* structure
instead of the DES key.
introduce Authkey structure that will hold all the required
cryptographic keys instead of passing DES key.
2015-08-19 21:06:17 +02:00
cinap_lenrek
344ddf5f55
rio(4): document "delete" wctl message (thanks mischief)
2015-08-16 02:54:23 +02:00
cinap_lenrek
e9e53fe7b6
import(4): clarify -E and -e options
2015-08-15 21:36:18 +02:00
cinap_lenrek
23742053f5
mount, srv: add -N flag to skip authentication and attach anonymously as "none"
2015-08-10 10:11:45 +02:00
cinap_lenrek
d457a43461
libc: make atoi() not parse c-style octal and hex numbers
...
interpreting octal breaks parsing of decimal numbers with
leading zeros. the manpage listed this in the BUGS section,
so we'r going to fix it as this just causes confusion as
most callers of atoi() do not expect it.
2015-08-03 18:10:53 +02:00
cinap_lenrek
f42a7ade70
bio(2): Bterm() closes filedescriptor for Bfdopen() allocated buffer
2015-08-01 03:16:35 +02:00
cinap_lenrek
64136bfd16
stream(3): fix reference
2015-07-19 03:34:08 +02:00
cinap_lenrek
71cda09d1e
devstream: fast sequential file access with 9p pipelining experiment
2015-07-19 03:31:17 +02:00
cinap_lenrek
fcb9abccbb
5e: enable VFP emulation by default, doubles only need to be 4 byte aligned
...
this adds -F flag to 5e (same as 5l) to disable VFP emulation
and makes VFP emulation the default.
2015-07-08 02:13:16 +02:00
stanley lieber
20e255110c
open(2): fix typo
2015-07-01 21:46:47 -04:00
cinap_lenrek
ed238e7ef8
etherwpi: Intel PRO Wireless 3945abg driver based on openbsd's if_wpi (thanks aap)
2015-06-28 18:32:54 +02:00
cinap_lenrek
e6220b39c9
exec(2): return register (R0) contains address of Tos structure.
2015-06-19 09:02:59 +02:00
stanley lieber
cb2a55aeb3
ndb(6): fix typo (thanks, pena)
2015-06-18 15:14:06 -04:00
stanley lieber
e6658c55af
dhcpd(8): the fs attribute refers to the file server, not the name server (thanks, pena)
2015-06-18 14:28:25 -04:00
cinap_lenrek
921aa0a6c3
stats: add kernel malloc and kernel draw allocation size graphs
2015-06-16 08:08:42 +02:00
cinap_lenrek
45b79036be
devcons: add current pool allocations to #c/swap
2015-06-16 08:05:33 +02:00
ftrvxmtrx
e56e61fed1
addpt(2): put badrect in .SH NAME so that it gets into the searchindex
2015-06-09 12:32:38 +02:00
ftrvxmtrx
86acce7c4d
esetcursor(2), alarm(2): fix prototypes
2015-06-09 12:29:57 +02:00
ftrvxmtrx
72a168b5fb
event(2): fix estartfn prototype
2015-06-09 11:54:22 +02:00
ftrvxmtrx
a314302e64
libdraw: sync allocimage/allocwindow prototypes with man pages
2015-06-09 10:33:30 +02:00
ftrvxmtrx
0fc761bc84
unix is BUGGERED. remove it
2015-06-09 00:15:59 +02:00
ftrvxmtrx
2c505c160e
addpt(2): document badrect function
2015-06-09 23:34:36 +02:00
ftrvxmtrx
e77002cdab
freeimage(2), readcolmap(2), writecolmap(2): fix prototypes
2015-06-09 23:23:00 +02:00
cinap_lenrek
477f3ce3ea
exec(2): exec argument size only limited by user stack size
2015-06-08 21:08:57 +02:00