summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-08-05 15:27:49 -0500
committerJason Reiss <jreiss@multitech.com>2020-08-05 15:27:49 -0500
commitd1b711440be606c2a0f3893a44c96faa3f22909f (patch)
tree34dc7b2a4a023f757cd204769537ce4b127dd14d
parent9ab5d444801768873dfca556ac601590e2b766a5 (diff)
downloadmts-id-eeprom-d1b711440be606c2a0f3893a44c96faa3f22909f.tar.gz
mts-id-eeprom-d1b711440be606c2a0f3893a44c96faa3f22909f.tar.bz2
mts-id-eeprom-d1b711440be606c2a0f3893a44c96faa3f22909f.zip
Add hashes for FPGA v35 on MTCDT and MTCAP
-rw-r--r--configure.in2
-rw-r--r--src/mts_fpga_hash.c13
2 files changed, 10 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 1f460f4..94eb123 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
AC_INIT([src/eeprom_main.c])
-AM_INIT_AUTOMAKE([mts-id-eeprom], [0.5.2])
+AM_INIT_AUTOMAKE([mts-id-eeprom], [0.5.3])
AM_CONFIG_HEADER([config.h])
AC_PROG_CC
diff --git a/src/mts_fpga_hash.c b/src/mts_fpga_hash.c
index e895040..905d5d3 100644
--- a/src/mts_fpga_hash.c
+++ b/src/mts_fpga_hash.c
@@ -38,15 +38,20 @@
static const char *valid_mtcdt_hashes[] = {
"d9f811fcab57947db3c2323242885a32a7f095a069d3386a148466e7f3da5353", /* v28*/
"903c1199df46d38683b1aa9fc88310abe2f317c01c3aefa77987990874aba420", /* v31*/
- "7c190506b969aea6198daffb6c9b47685f3a4dc3ce18565c66542bac27d6f24e"};/* v33*/
+ "7c190506b969aea6198daffb6c9b47685f3a4dc3ce18565c66542bac27d6f24e", /* v33*/
+ "72bcdfda72bf8677d585330caa3d609615d08d4ca6d7951f0ebbcb5a93306b3c" /* v35*/
+};
static const char *valid_mtcdt3_hashes[] = {
- "54e41b186b2c91f1bcf249648c50357165d361101fc4fe20ee9b8f0c40dce25d"};/* v35*/
+ "54e41b186b2c91f1bcf249648c50357165d361101fc4fe20ee9b8f0c40dce25d" /* v35*/
+};
static const char *valid_mtcap_hashes[] = {
"07317fe9ca59393c074215c9d923d8d01025654883291a5e89b27d21668e2263", /* v28*/
"f208ef5cae03e703951bb8799172a5eaadb74ddb90bf3e65c32030c008a88e75", /* v31*/
- "aaecd468b187703dbbf76022b00268dba2a5f25300da6486d420f476c836385c"};/* v33*/
+ "aaecd468b187703dbbf76022b00268dba2a5f25300da6486d420f476c836385c", /* v33*/
+ "876cc5683f612c09f96bacb27fff170358c90f3bd76a5c61ec41504eabba8313" /* v35*/
+};
/* -------------------------------------------------------------------------- */
/* --- PRIVATE FUNCTIONS DEFINITION ------------------------------------------ */
@@ -136,4 +141,4 @@ int sha256_file(char* hw, char *path) {
}
printf("Invalid input file.\n");
return MTAC_HASH_VERIFICATION_FAILURE;
-} \ No newline at end of file
+}