Re: HTTPS trust anchors in sysinst

John Klos <[email protected]> Wed, 6 Sep 2023 02:35:25 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>
>> My VAXstation 4000/30 isn't available right now, but keep in mind that
>> https (and OpenSSL in general) is completely broken on VAX at the moment.
>
> bqt found one issue, with Ed448.  When it is available, or if you have
> a VM set up, can you run the /usr/tests/crypto/libcrypto atf tests so
> we can diagnose what the issue is?

Here're results from a VAXstation 4000/60, which is about twice the speed 
of a 4000/30 (12 VUPS versus 5.5 VUPS):

1: OpenSSL: https://www.klos.com/~john/vaxstation400060.txt

2: 929 verifications in 10.013806 sec
    92.771919 v/s

3:
time threshold = 2.0000 s
kg = keygen, ek = expand private key, sd = sign (without expanded key)
st = sign (with expanded key), vv = verify
sdc, stc, vvc: like sd, st and vv, but with constant-time hash-to-point
keygen in milliseconds, other values in microseconds

degree  kg(ms)   ek(us)   sd(us)  sdc(us)   st(us)  stc(us)   vv(us)  vvc(us)
  256:  8910.00 1250000.00 3090000.00 3090000.00 1440000.00 1490000.00 18632.48 31492.54
  512: 26420.00 2790000.00 6800000.00 6790000.00 3120000.00 3170000.00 40196.08 58333.33
1024: 84510.00 6170000.00 14910000.00 14840000.00 6720000.00 6780000.00 81111.11 115000.00

Unfortunately, atf dumped core and didn't do much :(

John



Content-Type: application/X-atf-tps; version="3"

info: atf.version, Automated Testing Framework 0.20 (atf-0.20)
info: tests.root, /usr/tests/crypto/libcrypto
info: time.start, Tue Sep 5 20:59:57 UTC 2023
info: uname.sysname, NetBSD
info: uname.nodename, gaia.zia.io
info: uname.release, 10.99.7
info: uname.version, NetBSD 10.99.7 (GAIA-$Revision: 9.0p $) #0: Tue Sep 5 16:21:50 UTC 2023 
[email protected]:/usr/current/obj-vax/sys/arch/vax/compile/GAIA
info: uname.machine, vax
info: env, BLOCKSIZE=1k
info: env, PWD=/usr/tests/crypto/libcrypto
info: env, MAIL=/var/mail/john
info: env, HOME=/root
info: env, PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
info: env, HOST=gaia.zia.io
info: env, SSH_CONNECTION=10.0.20.144 58462 10.0.20.86 22
info: env, SSH_TTY=/dev/pts/0
info: env, TERM=xterm-256color
info: env, USER=john
info: env, SSH_AUTH_INFO_0=keyboard-interactive/pam
info: env, SSH_CLIENT=10.0.20.144 58462 22
info: env, CVSROOT=:ext:[email protected]:/cvsroot
info: env, GROUP=zia
info: env, EDITOR=vi
info: env, LOGNAME=john
info: env, SU_FROM=john
info: env, VENDOR=digital
info: env, SHELL=/usr/local/bin/tcsh
info: env, CVS_RSH=ssh
info: env, SHLVL=2
info: env, REMOTEHOST=10.0.20.144
info: env, HOSTTYPE=NetBSD
info: env, OSTYPE=NetBSD
info: env, MACHTYPE=vax
tps-count: 4
tp-start: 1693947621.0, t_ciphers, 8
tc-start: 1693947621.0, bf
terminate called after throwing an instance of 'tools::system_error'
terminate called recursively