commit | 1167ada3a1af436b1c72a60bfdae004f01bc8674 | [log] [tgz] |
---|---|---|
author | JunLin Chen <Jun-Lin.Chen@quantatw.com> | Mon Oct 04 14:13:31 2021 +0800 |
committer | Jun-Lin.Chen <Jun-Lin.Chen@quantatw.com> | Tue Oct 05 01:16:25 2021 +0000 |
tree | 84d4a664e85a67ae31e444ecd70e5358172fd292 | |
parent | cd2ca2686510fa62bfc3172d2451a78a623c935a [diff] |
meta-quanta: gbs: enable hash api for systemd Kernel crypto/hash API CONFIG_CRYPTO_HMAC CONFIG_CRYPTO_SHA256 CONFIG_CRYPTO_USER_API_HASH The requirement can be found at https://github.com/systemd/systemd/blob/master/README This API is necessary for the UUID feature that you can find the implementation in the bmcweb. https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/utils/systemd_utils.hpp Refer https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/31523 but these were removed in https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41257 Signed-off-by: JunLin Chen <Jun-Lin.Chen@quantatw.com> Change-Id: If2dcc552198da05837659a560871db9084e3da37
diff --git a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg index 0fca825..324af83 100644 --- a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg +++ b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
@@ -119,3 +119,8 @@ CONFIG_MUX_MMIO=y CONFIG_NPCM7XX_LPC_BPC=y CONFIG_MTD_PARTITIONED_MASTER=y + +# Enable hmac api for UUID +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_SHA256=y +CONFIG_CRYPTO_USER_API_HASH=y