1# $OpenBSD: Makefile,v 1.14 2023/02/02 12:12:52 djm Exp $ 2 3PROG=test_kex 4SRCS=tests.c test_kex.c test_proposal.c 5 6# From usr.bin/ssh 7SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c 8SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c 9SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c 10SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c 11SRCS+=addr.c addrmatch.c bitmap.c packet.c dispatch.c canohost.c ssh_api.c 12SRCS+=compat.c ed25519.c hash.c 13SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c 14SRCS+=ssh-ed25519-sk.c sk-usbhid.c 15 16SRCS+= kex.c 17SRCS+= dh.c 18SRCS+= kexdh.c 19SRCS+= kexecdh.c 20SRCS+= kexgex.c 21SRCS+= kexgexc.c 22SRCS+= kexgexs.c 23SRCS+= kexc25519.c 24SRCS+= smult_curve25519_ref.c 25SRCS+= kexgen.c 26SRCS+= kexsntrup761x25519.c 27SRCS+= sntrup761.c 28SRCS+= utf8.c 29 30SRCS+=digest-openssl.c 31#SRCS+=digest-libc.c 32 33REGRESS_TARGETS=run-regress-${PROG} 34 35run-regress-${PROG}: ${PROG} 36 env ${TEST_ENV} ./${PROG} 37 38.include <bsd.regress.mk> 39 40LDADD+=-lz 41