lib/crypto, efi_loader: move some headers to include/crypto
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 21 Apr 2020 00:38:17 +0000 (09:38 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 4 May 2020 10:26:11 +0000 (12:26 +0200)
commite3f5c9cb0fcc95aa9287b5f8609294fe1a59b9da
tree55a3eda717dff309fa9f793f181c07a9827d940c
parent7b8b63fb8ead9bd4041ab5424deb465f14ee172a
lib/crypto, efi_loader: move some headers to include/crypto

Pkcs7_parse.h and x509_parser.h are used in UEFI subsystem, in particular,
secure boot. So move them to include/crypto to avoid relative paths.

Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Don't include include x509_parser.h twice.
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/crypto/pkcs7_parser.h [new file with mode: 0644]
include/crypto/x509_parser.h [new file with mode: 0644]
lib/crypto/pkcs7_parser.c
lib/crypto/pkcs7_parser.h [deleted file]
lib/crypto/x509_cert_parser.c
lib/crypto/x509_parser.h [deleted file]
lib/crypto/x509_public_key.c
lib/efi_loader/efi_image_loader.c
lib/efi_loader/efi_signature.c
lib/efi_loader/efi_variable.c
test/lib/asn1.c