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:
@@ -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 */
|
||||
Reference in New Issue
Block a user