test: align ec_pub public keyfile with its ec_prv.sec1 counterpart
This change affects: - both PEM and DER files, since they contain the same public key only in different formats - "ec_pub.comp.pem" since it's the same as "ec_pub.pem" but in compressed format The makefile was also updated accordingly to reflect these dependencies. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
8e076e4132
commit
c8b7865612
4 changed files with 7 additions and 4 deletions
|
@ -935,6 +935,9 @@ ec_prv.pk8param.pem: ec_prv.pk8param.der
|
|||
$(OPENSSL) pkey -in $< -inform DER -out $@
|
||||
all_final += ec_prv.pk8param.pem
|
||||
|
||||
ec_pub.der: ec_prv.sec1.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -outform DER -pubout -out $@
|
||||
|
||||
ec_prv.sec1.comp.pem: ec_prv.sec1.pem
|
||||
$(OPENSSL) ec -in $< -out $@ -conv_form compressed
|
||||
all_final += ec_prv.sec1.comp.pem
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-----BEGIN PUBLIC KEY-----
|
||||
MDEwEwYHKoZIzj0CAQYIKoZIzj0DAQEDGgACvHl9s65/COw9SWtPtBGz9iClWKUB
|
||||
4CIt
|
||||
MDEwEwYHKoZIzj0CAQYIKoZIzj0DAQEDGgADUXW83zCjcPOdU5PmEnKI2AFntfS0
|
||||
t3bG
|
||||
-----END PUBLIC KEY-----
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
-----BEGIN PUBLIC KEY-----
|
||||
MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEvHl9s65/COw9SWtPtBGz9iClWKUB
|
||||
4CItCM/g3Irsixp78kvpKVHMW6G+uyR0kJrg
|
||||
MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEUXW83zCjcPOdU5PmEnKI2AFntfS0
|
||||
t3bGdPfG81S30iQGLB9oVLWnrw/leOryWPAn
|
||||
-----END PUBLIC KEY-----
|
||||
|
|
Loading…
Reference in a new issue