diff options
author | Jimmy Zhang <jimmzhang@nvidia.com> | 2015-10-19 16:01:54 -0700 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2015-10-19 17:33:18 -0600 |
commit | dc126cfdc11bccbdb37708598451d6cabb5d02c2 (patch) | |
tree | b87d69aec7df2db6211a255b17dbfd8671cb9cef /src/set.h | |
parent | d4d2e8a65ce794836abbe3d0115e13a39c01edf2 (diff) | |
download | nvidia-cbootimage-dc126cfdc11bccbdb37708598451d6cabb5d02c2.tar.gz |
Add support for update pubkey and rsa-pss signatures
Create new configuration keywords:
RsaKeyModulusFile: pubkey modulus
RsaPssSigBlFile: bootloader rsa pss signature
RsaPssSigBctFile: bct rsa pss signature
Sample Configuration file update_bl_sig.cfg
RsaKeyModulusFile = pubkey.mod;
RsaPssSigBlFile = bl.sig;
where pubkey.mod and bl.sig are files that contain the public key
modulus and bootloader's rsa-pss signature respectively.
public key modulus and signature are created through utilities
outside cbootimage.
Command line example:
$ cbootimage -s tegra210 -u update_bl_sig.cfg image.bin image.bin-bl-signed
Above three new keywords added in this CL are only implemented to support
for T210.
Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/set.h')
-rw-r--r-- | src/set.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,6 +42,11 @@ set_mts_image(build_image_context *context, u_int32_t entry_point); int +set_rsa_param(build_image_context *context, + parse_token token, + char *filename); + +int context_set_value(build_image_context *context, parse_token token, void *value); |