Systemd: backport a new api for uuid generation

The current uuid generation method just export the machine-id,
it does not match the systemd description
(https://www.freedesktop.org/software/systemd/man/machine-id.html):
This ID uniquely identifies the host. It should be considered
"confidential", and must not be exposed in untrusted environments,
in particular on the network. If a stable unique identifier that is
tied to the machine is needed for some application, the machine ID
or any part of it must not be used directly.

Backport the new sd_id128_get_machine_app_specific from systemd 233,
to replace the old uuid generation method.

Change-Id: I44e7b32ca951a9fa591761c3a3e4f27da04d2b6f
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
diff --git a/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig b/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
index 71e6d27..411ebbe 100644
--- a/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
+++ b/meta-ast2400/recipes-kernel/linux/linux-obmc/defconfig
@@ -204,6 +204,9 @@
 CONFIG_FUNCTION_TRACER=y
 # CONFIG_TRACING_EVENTS_GPIO is not set
 # CONFIG_CRYPTO_ECHAINIV is not set
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_USER_API_HASH=y
 # CONFIG_CRYPTO_HW is not set
 # CONFIG_XZ_DEC_X86 is not set
 # CONFIG_XZ_DEC_POWERPC is not set
diff --git a/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig b/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
old mode 100644
new mode 100755
index 87dd3ad..86d5cca
--- a/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
+++ b/meta-ast2500/recipes-kernel/linux/linux-obmc/defconfig
@@ -213,6 +213,9 @@
 # CONFIG_TRACING_EVENTS_GPIO is not set
 CONFIG_DEBUG_USER=y
 # CONFIG_CRYPTO_ECHAINIV is not set
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_USER_API_HASH=y
 # CONFIG_CRYPTO_HW is not set
 # CONFIG_XZ_DEC_X86 is not set
 # CONFIG_XZ_DEC_POWERPC is not set