plan9fox/sys/src/libsec
cinap_lenrek 346f5828e0 libsec: sha256 support for thumbprint files, use it in ssh as well
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-23 19:00:08 +02:00
..
386 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
amd64 libc and ape support for amd64 2014-02-01 10:31:41 +01:00
arm Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mips Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
port libsec: sha256 support for thumbprint files, use it in ssh as well 2017-04-23 19:00:08 +02:00
power Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
spim libsec: dont use mips assembly routines for spim, wrong endianess 2016-04-10 20:22:00 +02:00
mkfile libsec: make #include headers consistent 2016-04-10 20:23:18 +02:00