File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ ifeq ($(SIGN),RSA2048)
1818 SIGN_TOOL =tools/keytools/sign.py --rsa2048
1919endif
2020
21+ ifeq ($(HASH ) ,SHA256)
22+ SIGN_TOOL+ = --sha256
23+ endif
24+ ifeq ($(HASH ) ,SHA3)
25+ SIGN_TOOL+ = --sha3
26+ endif
2127
2228$(EXPVER ) :
2329 make -C tools/test-expect-version
@@ -125,7 +131,6 @@ test-erase-ext: FORCE
125131 @make test-spi-off
126132 @make test-tpm-off
127133
128-
129134test-factory : factory.bin
130135 @make test-reset
131136 @sleep 2
@@ -305,8 +310,6 @@ test-101-forward-update-no-downgrade-RSA2048-SHA3: $(EXPVER) FORCE
305310test-111-forward-update-no-downgrade-RSA4096-SHA3 : $(EXPVER ) FORCE
306311 @make test-01-forward-update-no-downgrade SIGN=RSA4096 HASH=SHA3
307312
308-
309-
310313test-all : clean test-01-forward-update-no-downgrade test-02-forward-update-allow-downgrade test-03-rollback \
311314 test-11-forward-update-no-downgrade-ECC test-13-rollback-ECC test-21-forward-update-no-downgrade-SPI test-23-rollback-SPI \
312315 test-34-forward-self-update \
You can’t perform that action at this time.
0 commit comments