mirror of https://github.com/thesofproject/sof.git
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:
parent
6c7a1512c6
commit
6fad35625f
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue