plan9fox/sys/man/2
cinap_lenrek c039b52fc3 libc: constant time implementation for encode(2) routines, fix base32
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-31 09:06:42 +01:00
..
0intro
9p
9pcmdbuf
9pfid
9pfile
9pqueue
abort
abs
access
addpt
aes
allocimage
aml
arg
arith3
assert
atof
auth
authsrv
avl
bin
bind
bio
blowfish
brk
cachechars
chacha
chdir
cleanname
color
complete
control
cputime
ctime
ctype
debugger
des
dial
dirread
disk
draw
dsa
dup
ec
elgamal
encode libc: constant time implementation for encode(2) routines, fix base32 2017-12-31 09:06:42 +01:00
encrypt
errstr
event
exec
exits
exp
fauth
fcall
fd2path
fgetc
flate
floor
fmtinstall
fopen
fork
fprintf
frame
frexp
fscanf
fversion
getcallerpc
getenv
getfcr
getfields
getpid
getuser
getwd
graphics
html
httpd
hypot
intmap
ioproc
iounit
ip
isalpharune
json
keyboard
lock
mach
malloc
matrix
memdraw
memlayer
memory
mktemp
mouse
mp
muldiv
nan
ndb
notify
nusb
object
open
perror
pipe
plumb
pool
postnote
prime
print
privalloc
proto
pushssl
pushtls
qball
qsort
quaternion
quote
rand
rc4
read
readcolmap
readv
regexp
remove
rendezvous
rsa
rune
runestrcat
salsa
scribble
scsi
sechash
seek
segattach
segbrk
segflush
semacquire
setjmp
sin
sinh
sleep
stat
strcat
string
stringsize
subfont
symbol
thread
time
tmpfile
venti
venti-cache
venti-client
venti-conn
venti-fcall
venti-file
venti-log
venti-mem
venti-packet
venti-server
venti-zero
wait
window