freebsd-ports/security/ktls_isa-l_crypto-kmod/Makefile
Mark Linimon d98ef0df5f Rework the TLS 1.3 support in ISA-L to move the nonce work out of the
seal routine and into the encrypt routine. Also obtain the nd.seqno in
the TLS 1.2 case from the TLS record itself, as if we change to use a
random starting value, this will prevent things from breaking due to
the value on the wire being different from the passed in seqno.

Submitted by:u		jhb
Approved by:u		gallatin
Differential Revision:	D21857
2019-10-06 01:42:14 +00:00

41 lines
780 B
Makefile

# Created by: Michal Bielicki <m.bielicki@llizardfs.com>
# $FreeBSD$
PORTNAME= isa-l_crypto
PORTVERSION= 2.21.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= security
PKGNAMEPREFIX= ktls_
PKGNAMESUFFIX= -kmod
MAINTAINER= gallatin@FreeBSD.org
COMMENT= KTLS module using Intel(R) ISA-L crypto
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= yasm:devel/yasm
USES= kmod uidfix
USE_GITHUB= yes
GH_ACCOUNT= 01org
MAKE_ENV+= ISASRC=${WRKSRC}
PLIST_FILES= ${KMODDIR}/ktls_intel-isa-l.ko
.include <bsd.port.pre.mk>
.if !exists(${SRC_BASE}/sys/sys/ktls.h)
IGNORE= requires KTLS support
.endif
post-extract:
${CP} ${FILESDIR}/* ${WRKSRC}/
${ECHO} "#include <sys/stdint.h>" > ${WRKSRC}/include/stdint.h
.include <bsd.port.post.mk>