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>
This commit is contained in:
Laurent Pinchart
2020-03-29 04:52:30 +03:00
parent 462d6508a2
commit 4b11facde4
4 changed files with 79 additions and 0 deletions
+20
View File
@@ -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 */