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