Port of the eXtended Keccak Code Package
https://github.com/XKCP/XKCP https://keccak.team/keccak.html
This commit is contained in:
committed by
Norman Feske
parent
4d10959476
commit
1f028daae3
3
lib/mk/libkeccak.inc
Normal file
3
lib/mk/libkeccak.inc
Normal 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)
|
||||
4
lib/mk/spec/32bit/libkeccak.mk
Normal file
4
lib/mk/spec/32bit/libkeccak.mk
Normal 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
|
||||
4
lib/mk/spec/64bit/libkeccak.mk
Normal file
4
lib/mk/spec/64bit/libkeccak.mk
Normal 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
|
||||
Reference in New Issue
Block a user