diff options
| author | Michael Brown | 2023-06-02 14:49:27 +0200 |
|---|---|---|
| committer | Michael Brown | 2023-06-02 14:54:42 +0200 |
| commit | b0093571f8bc0207673bb6a6ad5081263e7863b6 (patch) | |
| tree | 9328631ee9f4a70c18d339d0ce3d20a9ff49a0d1 /src/include | |
| parent | [efi] Implement "shim" as a dummy command on non-EFI platforms (diff) | |
| download | ipxe-b0093571f8bc0207673bb6a6ad5081263e7863b6.tar.gz ipxe-b0093571f8bc0207673bb6a6ad5081263e7863b6.tar.xz ipxe-b0093571f8bc0207673bb6a6ad5081263e7863b6.zip | |
[crypto] Add support for PKCS#8 private key format
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 fdf06f109..77429f3a0 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 ); |
