27 lines
989 B
BlitzBasic
27 lines
989 B
BlitzBasic
SUMMARY = "wolfCrypt Benchmark Application"
|
|
DESCRIPTION = "wolfCrypt benchmark application used to benchmark crypto \
|
|
algorithms included in the wolfSSL embedded SSL/TLS library."
|
|
HOMEPAGE = "https://www.wolfssl.com"
|
|
BUGTRACKER = "https://github.com/wolfssl/wolfssl/issues"
|
|
SECTION = "x11/applications"
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}:"
|
|
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://benchmark.c;beginline=1;endline=20;md5=aca0c406899b7421c67598ba3f55d1a5"
|
|
|
|
DEPENDS += "wolfssl"
|
|
WOLFCRYPT_V="5.6.6"
|
|
SRC_URI = "git://github.com/wolfssl/wolfssl.git;nobranch=1;protocol=https;tag=v${WOLFCRYPT_V}-stable;"
|
|
|
|
S = "${WORKDIR}/git/wolfcrypt/benchmark"
|
|
|
|
do_compile() {
|
|
${CC} ${CFLAGS} -DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256 -DUSE_FLAT_BENCHMARK_H -DBENCH_EMBEDDED -Wall -include wolfssl/options.h -o wolfcryptbenchmark ${S}/benchmark.c -lwolfssl ${LDFLAGS}
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 ${S}/wolfcryptbenchmark ${D}${bindir}
|
|
}
|