aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorQixiang Xu <qixiang.xu@arm.com>2017-11-09 13:56:29 +0800
committerQixiang Xu <qixiang.xu@arm.com>2017-11-21 14:16:18 +0800
commit9a3088a5f509084e60d9c55bf53985c5ec4ca821 (patch)
treeb3e7af650e56d8ab6df9a04c0253000dc20b7160 /docs
parent2972247cb4ae84ed660532cac426259a4f17c816 (diff)
downloadplatform_external_arm-trusted-firmware-9a3088a5f509084e60d9c55bf53985c5ec4ca821.tar.gz
platform_external_arm-trusted-firmware-9a3088a5f509084e60d9c55bf53985c5ec4ca821.tar.bz2
platform_external_arm-trusted-firmware-9a3088a5f509084e60d9c55bf53985c5ec4ca821.zip
tbbr: Add build flag HASH_ALG to let the user to select the SHA
The flag support the following values: - sha256 (default) - sha384 - sha512 Change-Id: I7a49d858c361e993949cf6ada0a86575c3291066 Signed-off-by: Qixiang Xu <qixiang.xu@arm.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/user-guide.rst b/docs/user-guide.rst
index 172e7932c..0eecde90a 100644
--- a/docs/user-guide.rst
+++ b/docs/user-guide.rst
@@ -425,11 +425,15 @@ Common build options
- ``KEY_ALG``: This build flag enables the user to select the algorithm to be
used for generating the PKCS keys and subsequent signing of the certificate.
- It accepts 3 values viz ``rsa``, ``rsa_1_5``, ``ecdsa``. The ``rsa_1_5`` is
+ It accepts 3 values viz. ``rsa``, ``rsa_1_5``, ``ecdsa``. The ``rsa_1_5`` is
the legacy PKCS#1 RSA 1.5 algorithm which is not TBBR compliant and is
retained only for compatibility. The default value of this flag is ``rsa``
which is the TBBR compliant PKCS#1 RSA 2.1 scheme.
+- ``HASH_ALG``: This build flag enables the user to select the secure hash
+ algorithm. It accepts 3 values viz. ``sha256``, ``sha384``, ``sha512``.
+ The default value of this flag is ``sha256``.
+
- ``LDFLAGS``: Extra user options appended to the linkers' command line in
addition to the one set by the build system.