Port of the eXtended Keccak Code Package

https://github.com/XKCP/XKCP
https://keccak.team/keccak.html
This commit is contained in:
Emery Hemingway
2018-11-10 11:55:21 +01:00
committed by Norman Feske
parent 4d10959476
commit 1f028daae3
12 changed files with 78 additions and 0 deletions

3
lib/mk/libkeccak.inc Normal file
View File

@@ -0,0 +1,3 @@
INC_DIR += $(REP_DIR)/src/lib/keccak
SRC_C += $(notdir $(wildcard $(KECCAK_SRC_DIR)/*.c))
vpath %.c $(KECCAK_SRC_DIR)

View File

@@ -0,0 +1,4 @@
XKCP_SRC_DIR := $(call select_from_ports,xkcp)
KECCAK_SRC_DIR := $(XKCP_SRC_DIR)/generic32/libkeccak.a
include $(REP_DIR)/lib/mk/libkeccak.inc

View File

@@ -0,0 +1,4 @@
XKCP_SRC_DIR := $(call select_from_ports,xkcp)
KECCAK_SRC_DIR := $(XKCP_SRC_DIR)/generic64/libkeccak.a
include $(REP_DIR)/lib/mk/libkeccak.inc