rimage: Removed hash context from image structure

Fields related to hash computing have been removed from the image
structure. Removed openssl headers from rimage.h, which made it necessary
to add some missing includes in several files.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
This commit is contained in:
Adrian Warecki 2023-02-27 14:57:12 +01:00 committed by pjdobrowolski
parent 6c7a1512c6
commit 6fad35625f
5 changed files with 7 additions and 6 deletions

View File

@ -18,6 +18,8 @@
#include "toml.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>

View File

@ -6,6 +6,7 @@
// Keyon Jie <yang.jie@linux.intel.com>
#include <stdio.h>
#include <errno.h>
#include <sys/time.h>
#include <rimage/rimage.h>
#include <rimage/css.h>

View File

@ -7,7 +7,9 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <rimage/rimage.h>
#include <rimage/cse.h>
#include <rimage/manifest.h>

View File

@ -8,6 +8,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <rimage/ext_manifest_gen.h>
#include <rimage/sof/kernel/ext_manifest.h>

View File

@ -11,9 +11,6 @@
#include <stdint.h>
#include <stdio.h>
#include <openssl/conf.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <rimage/cavs/cavs_ext_manifest.h>
#include <rimage/sof/kernel/fw.h>
@ -87,10 +84,8 @@ struct image {
int meu_offset;
const char *verify_file;
/* SHA 256 & 384 */
/* private key file name*/
const char *key_name;
EVP_MD_CTX *mdctx;
const EVP_MD *md;
/* file IO */
void *fw_image;