Hi Tony

On Tue, 2020-10-20 at 12:48 -0400, tony camuso wrote:
> I'm applying the following patches from the hg repo.
> 
> 0001-Fix-CFLAGS-passing-to-recursive-makefiles.patch
> 0002-Install-man-pages-only-for-tools-that-are-installed.patch
> 0003-Add-man-pages-for-all-installed-commands.patch
> 0004-Fix-spelling-errors.patch
> 0005-All-TXT-tools-now-have-txt-prefix.patch
> 0006-Update-man-pages-for-txt-tools.patch
> 0007-Clarify-license-issues.patch
> 0008-Fix-issues-reported-by-Coverity-Scan.patch
> 0009-Fix-man-page-syntax-error.patch
> 0010-Ensure-txt-acminfo-does-not-print-false-information-.patch
> 0011-Do-not-try-to-read-EFI-mem-map-when-booted-with-mult.patch
> 0012-Use-SHA1-based-default-policy-when-TPM1.2-is-detecte.patch
> 0013-Unmask-NMI-after-returning-from-SINIT.patch
> 0014-Update-GRUB-scripts-to-use-multiboot2-only.patch
> 0015-Update-lcptools-v2-to-meet-requirements-from-MLE-DG-.patch
> 0016-Implement-SM2-signing-and-SM2-signature-verification.patch
> 
> After applying this patch ...
> changeset:   599:d4c520cbea8c
> user:        Mateusz Mowka <mateusz.mo...@intel.com>
> date:        Fri Jul 17 14:19:31 2020 +0200
> summary:     Implement SM2 signing and SM2 signature verification.
> 
> I get the following build errors. What am I missing?
> 
> lcputils.c: In function 'verify_ec_signature':
> lcputils.c:730:19: error: 'NID_sm2' undeclared (first use in this function)
>           curveId = NID_sm2;
>                     ^
> lcputils.c:730:19: note: each undeclared identifier is reported only once for 
> each function it appears in
> lcputils.c:731:9: error: implicit declaration of function 'EVP_sm3' 
> [-Werror=implicit-function-declaration]
>           mdtype = EVP_sm3();
>           ^

What is your OpenSSL version? These functions should be available in
OpenSSL since 1.1.1 version.

Thanks,
Lukasz



_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to