developer | 4a9808c | 2023-11-29 13:55:49 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2023 Mediatek Ltd. |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=fips_test_tool |
| 11 | PKG_VERSION:=1.0 |
| 12 | |
| 13 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) |
| 14 | |
| 15 | include $(INCLUDE_DIR)/package.mk |
| 16 | |
| 17 | define Package/fips_test_tool |
| 18 | SECTION:=Utilities |
| 19 | CATEGORY:=Utilities |
| 20 | TITLE:=FIPS_TEST_TOOL |
| 21 | SUBMENU:=FIPS |
| 22 | DEPENDS:=+python3-light |
| 23 | endef |
| 24 | |
| 25 | define Package/fips_test_tool/description |
| 26 | fips_test_tool is a script to pass fips140-3. |
| 27 | You can run this tool to pass test vector |
| 28 | from NIST in local. |
| 29 | endef |
| 30 | |
| 31 | Build/Compile/Default:= |
| 32 | |
| 33 | define Package/fips_test_tool/install |
| 34 | $(CP) ./files/* $(1)/ |
| 35 | endef |
| 36 | |
| 37 | $(eval $(call BuildPackage,fips_test_tool)) |