libcamera: Add IPA module signing infrastructure

Add infrastructure to generate an RSA private key and sign IPA modules.
The signatures are stored in separate files with a .sign suffix.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2020-03-29 04:48:59 +03:00
parent e62bc9db73
commit ec92318891
6 changed files with 59 additions and 9 deletions
+5
View File
@@ -2,6 +2,11 @@ if get_option('android')
subdir('android')
endif
ipa_gen_priv_key = find_program('ipa/gen-ipa-priv-key.sh')
ipa_priv_key = custom_target('ipa-priv-key',
output : [ 'ipa-priv-key.pem' ],
command : [ ipa_gen_priv_key, '@OUTPUT@' ])
subdir('libcamera')
subdir('ipa')
subdir('cam')