diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-29 04:52:30 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-04-14 02:03:28 +0300 |
commit | 4b11facde4ef3499690b84428c6155bea867fba8 (patch) | |
tree | 7ec5df3468ac94b253bea091adcc419a3cf2e580 /src/libcamera/ipa_pub_key.cpp.in | |
parent | 462d6508a29c78788fe7f88d6cfe304a6aa4b8c4 (diff) |
libcamera: ipa_manager: Embed IPA module signing public key
In preparation for verifying the signature of IPA modules, generate a
public key from the private signing key and embed it in the IPAManager
class.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/libcamera/ipa_pub_key.cpp.in')
-rw-r--r-- | src/libcamera/ipa_pub_key.cpp.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libcamera/ipa_pub_key.cpp.in b/src/libcamera/ipa_pub_key.cpp.in new file mode 100644 index 00000000..e1fe287c --- /dev/null +++ b/src/libcamera/ipa_pub_key.cpp.in @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Copyright (C) 2020, Laurent Pinchart <laurent.pinchart@ideasonboard.com> + * + * ipa_key.cpp - IPA module signing public key + * + * This file is auto-generated. Do not edit. + */ + +#include "ipa_manager.h" + +namespace libcamera { + +const uint8_t IPAManager::publicKeyData_[] = { + ${ipa_key} +}; + +const PubKey IPAManager::pubKey_{ { IPAManager::publicKeyData_ } }; + +} /* namespace libcamera */ |