plan9fox/sys/man/2
cinap_lenrek 3356e0e731 libsec: AES-NI support for amd64
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-11-12 23:15:15 +01:00
..
0intro
9p fix typo in 9p(2) manpage 2017-04-03 00:11:40 +00:00
9pcmdbuf manpage references/typos 2016-03-01 15:24:07 -05:00
9pfid
9pfile lib9p: allow rewinding in 9pfile directories 2017-04-30 01:49:21 +02:00
9pqueue lib9p: add reqqueuefree 2015-10-12 10:41:40 +02:00
abort
abs
access
addpt addpt(2): put badrect in .SH NAME so that it gets into the searchindex 2015-06-09 12:32:38 +02:00
aes libsec: AES-NI support for amd64 2017-11-12 23:15:15 +01:00
allocimage libdraw: sync allocimage/allocwindow prototypes with man pages 2015-06-09 10:33:30 +02:00
aml aml(2): document amlintmask 2016-06-05 15:15:03 +02:00
arg
arith3
assert
atof libc: make atoi() not parse c-style octal and hex numbers 2015-08-03 18:10:53 +02:00
auth auth(2): fix prototype for auth_getinfo() in manual page 2015-01-25 07:40:52 +01:00
authsrv authsrv(2): update Nvrsafe structure to include aesmachkey 2016-09-08 10:40:19 +02:00
avl libavl: fix documentation 2017-04-24 10:50:03 -05:00
bin bin(2): fix tab formatting 2014-12-31 23:45:05 -08:00
bind
bio bio(2): manpage typo 2017-05-04 17:47:03 +00:00
blowfish
brk
cachechars
chacha libsec: implement extended 192-bit nonce xchacha variant and hchacha function 2017-01-12 20:16:38 +01:00
chdir
cleanname
color
complete
control control(2): spelling 2014-02-24 13:02:54 -08:00
cputime cputime(2): fix prototype for cycles() (thanks qrstuv) 2015-05-28 18:11:45 +02:00
ctime ctime(2): fix example (thanks raiz) 2017-05-03 20:47:46 +02:00
ctype
debugger fix <mach.h> types in manual (erik quanstros machmantype patch) 2013-04-25 00:13:19 +02:00
des
dial
dirread
disk
draw libdraw: add missing borderop() (thanks aiju) 2014-07-21 18:10:58 +02:00
dsa
dup
ec ec(2), rsa(2): document X509toECpub(), X509ecdsaverify(), X509ecdsaverifydigest(), X509rsaverifydigest() 2017-02-10 22:39:47 +01:00
elgamal
encode encode(2): clarify lim argument to enc*(), add SOURCE reference for encodefmt() 2015-03-11 17:48:24 +01:00
encrypt
errstr
event esetcursor(2), alarm(2): fix prototypes 2015-06-09 12:29:57 +02:00
exec exec(2): return register (R0) contains address of Tos structure. 2015-06-19 09:02:59 +02:00
exits libc: cleanup atexit and put exits() in its own compilation unit 2017-10-20 20:58:38 +02:00
exp
fauth
fcall man pages: the the wich 2014-04-26 01:47:36 +02:00
fd2path
fgetc
flate
floor
fmtinstall
fopen
fork
fprintf
frame
frexp
fscanf
fversion
getcallerpc
getenv
getfcr
getfields getfields(2): add missing SOURCE file 2014-04-01 13:12:23 -04:00
getpid
getuser
getwd
graphics Corrected some man pages. 2014-01-17 19:15:24 +01:00
html
httpd
hypot
intmap
ioproc
iounit
ip
isalpharune
json libjson: added printing support (thanks spew) 2015-12-22 18:12:56 +01:00
keyboard
lock
mach man pages: the the wich 2014-04-26 01:47:36 +02:00
malloc man pages: fix duplicate words 2014-04-26 13:22:15 +02:00
matrix
memdraw manpage references/typos 2016-03-01 15:24:07 -05:00
memlayer memlayer(2): fix memdraw signature 2014-12-28 12:14:24 -08:00
memory
mktemp
mouse mouse(2): fix atomouse (thanks qrstuv) 2014-11-06 04:59:07 +01:00
mp mp: fix mpnot and add mpasr 2016-08-28 10:49:41 +02:00
muldiv
nan
ndb ndb(2): fix wrong attr names 2013-02-22 22:52:52 +01:00
notify
nusb fix manpage references 2016-01-12 08:43:36 +01:00
object fix <mach.h> types in manual (erik quanstros machmantype patch) 2013-04-25 00:13:19 +02:00
open open(2): fix typo 2015-07-01 21:46:47 -04:00
perror
pipe
plumb plumb(2): Fix typo in description of Plumbdelattr (thanks sam-d) 2017-03-22 18:13:51 -05:00
pool libc: add poolisoverlap() and definitions for Pool *secrmem 2016-08-27 20:23:55 +02:00
postnote
prime
print print(2): clean up vlong flag description 2017-07-02 19:12:50 +01:00
privalloc libc: remove privfree(), simplify privalloc() 2015-09-06 20:43:05 +02:00
proto man pages: the the wich 2014-04-26 01:47:36 +02:00
pushssl pushssl(2), pushtls(2): clarify filedescriptor closing 2013-09-20 17:44:14 +02:00
pushtls libsec: sha256 support for thumbprint files, use it in ssh as well 2017-04-23 19:00:08 +02:00
qball qball(2): fix bad manpage reference 2016-04-07 21:51:56 +02:00
qsort
quaternion
quote
rand libsec: replace des based X9.17 genrandom() with chacha random number generator 2016-12-28 02:02:00 +01:00
rc4
read
readcolmap freeimage(2), readcolmap(2), writecolmap(2): fix prototypes 2015-06-09 23:23:00 +02:00
readv
regexp libregexp: miscellaneous little cleanups 2017-04-30 15:08:36 -05:00
remove
rendezvous
rsa ec(2), rsa(2): document X509toECpub(), X509ecdsaverify(), X509ecdsaverifydigest(), X509rsaverifydigest() 2017-02-10 22:39:47 +01:00
rune rune(2): add Runeerror reencoding considerations in BUGS section (thanks aiju) 2016-04-28 01:53:09 +02:00
runestrcat
salsa salsa(2): fix source reference 2016-01-19 13:06:22 +01:00
scribble scribble(2): quashed false claims of quick-reference decadance. 2014-02-25 20:05:34 +00:00
scsi
sechash libsec: add poly1305 2015-10-22 07:17:25 +02:00
seek
segattach
segbrk kernel: use uintptr for ibrk() return value (for base >2GB) and clarify segbrk(2) 2015-12-16 21:06:51 +01:00
segflush
semacquire
setjmp
sin
sinh
sleep esetcursor(2), alarm(2): fix prototypes 2015-06-09 12:29:57 +02:00
stat
strcat strcat(2): fix strchr() and strrchr() function prototypes (thanks BurnZeZ) 2014-12-07 14:26:41 +01:00
string
stringsize
subfont libdraw: sync allocimage/allocwindow prototypes with man pages 2015-06-09 10:33:30 +02:00
symbol fix <mach.h> types in manual (erik quanstros machmantype patch) 2013-04-25 00:13:19 +02:00
thread thread(2): threadgrp() -> threadgetgrp(), thanks jpm 2016-08-06 15:09:18 +02:00
time libc: dont cache /dev/bintime filedescriptor for nsec() 2014-05-20 05:01:26 +02:00
tmpfile
venti
venti-cache
venti-client
venti-conn
venti-fcall
venti-file
venti-log
venti-mem
venti-packet
venti-server
venti-zero
wait
window libdraw: sync allocimage/allocwindow prototypes with man pages 2015-06-09 10:33:30 +02:00