diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-06-02 13:49:27 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-06-02 13:54:42 +0100 |
commit | b0093571f8bc0207673bb6a6ad5081263e7863b6 (patch) | |
tree | 9328631ee9f4a70c18d339d0ce3d20a9ff49a0d1 /src/include | |
parent | 6a7f560e60837fc2ce82a7aa976035656f7d231e (diff) | |
download | ipxe-b0093571f8bc0207673bb6a6ad5081263e7863b6.zip ipxe-b0093571f8bc0207673bb6a6ad5081263e7863b6.tar.gz ipxe-b0093571f8bc0207673bb6a6ad5081263e7863b6.tar.bz2 |
[crypto] Add support for PKCS#8 private key formatpkcs8
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/asn1.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/asn1.h b/src/include/ipxe/asn1.h index fdf06f1..77429f3 100644 --- a/src/include/ipxe/asn1.h +++ b/src/include/ipxe/asn1.h @@ -424,6 +424,8 @@ extern int asn1_digest_algorithm ( const struct asn1_cursor *cursor, struct asn1_algorithm **algorithm ); extern int asn1_signature_algorithm ( const struct asn1_cursor *cursor, struct asn1_algorithm **algorithm ); +extern int asn1_check_algorithm ( const struct asn1_cursor *cursor, + struct asn1_algorithm *expected ); extern int asn1_generalized_time ( const struct asn1_cursor *cursor, time_t *time ); extern int asn1_grow ( struct asn1_builder *builder, size_t extra ); |