From 6f91b9b1994fff3a627633b8883b9ea3fc3acef1 Mon Sep 17 00:00:00 2001 From: Steffen Trumtrar Date: Wed, 17 Feb 2016 11:54:09 +0100 Subject: lib: add blobgen framework This adds a framework for en/decrypting data blobs. Some SoCs have support for hardware crypto engines that can en/decrypt using keys that a tied to the SoC and are visible for the crypto hardware only. With this patch it's possible to encrypt confidential data using these keys and to decrypt it later for usage. Signed-off-by: Steffen Trumtrar Signed-off-by: Sascha Hauer --- commands/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'commands/Kconfig') diff --git a/commands/Kconfig b/commands/Kconfig index 4f5d84ac18..039fd7d1ac 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1964,6 +1964,16 @@ config CMD_BAREBOX_UPDATE -y autom. use 'yes' when asking confirmations -f LEVEL set force level +config CMD_BLOBGEN + bool + select BLOBGEN + prompt "blobgen" + help + Provides the "blobgen" command. This command encrypts and decrypts + plaintext to/from blobs. This is done with hardware crypto engines, + so this command is only useful when you also enable a blobgen capable + driver. + config CMD_FIRMWARELOAD bool select FIRMWARE -- cgit v1.2.3