mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-28 19:13:28 +00:00
Generate PEM pub key directly from DER prv key
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
parent
d1200ee2e8
commit
21e5939479
@ -1019,8 +1019,8 @@ ec_x25519_prv.pem: ec_x25519_prv.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -out $@
|
||||
all_final += ec_x25519_prv.pem
|
||||
|
||||
ec_x25519_pub.pem: ec_x25519_pub.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -out $@ -pubin
|
||||
ec_x25519_pub.pem: ec_x25519_prv.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -out $@ -pubout
|
||||
all_final += ec_x25519_pub.pem
|
||||
|
||||
ec_x448_prv.der:
|
||||
@ -1035,8 +1035,8 @@ ec_x448_prv.pem: ec_x448_prv.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -out $@
|
||||
all_final += ec_x448_prv.pem
|
||||
|
||||
ec_x448_pub.pem: ec_x448_pub.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -out $@ -pubin
|
||||
ec_x448_pub.pem: ec_x448_prv.der
|
||||
$(OPENSSL) pkey -in $< -inform DER -out $@ -pubout
|
||||
all_final += ec_x448_pub.pem
|
||||
|
||||
################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user