aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-06-02 13:49:27 +0100
committerMichael Brown <mcb30@ipxe.org>2023-06-02 13:54:42 +0100
commitb0093571f8bc0207673bb6a6ad5081263e7863b6 (patch)
tree9328631ee9f4a70c18d339d0ce3d20a9ff49a0d1 /src/include/ipxe
parent6a7f560e60837fc2ce82a7aa976035656f7d231e (diff)
downloadipxe-pkcs8.zip
ipxe-pkcs8.tar.gz
ipxe-pkcs8.tar.bz2
[crypto] Add support for PKCS#8 private key formatpkcs8
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/asn1.h2
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 );