Re: [PATCH ima-evm-utils v5] ima-evm-utils: Support SM2/3 algorithm for sign and verify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tianjia, Mimi,

On Sat, Jul 17, 2021 at 09:48:10AM +0800, Tianjia Zhang wrote:
> On 7/17/21 12:39 AM, Mimi Zohar wrote:
> > On Fri, 2021-07-16 at 17:22 +0800, Tianjia Zhang wrote:
> > > diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
> > > index 088c041..17407ff 100644
> > > --- a/.github/workflows/ci.yml
> > > +++ b/.github/workflows/ci.yml
> > > @@ -17,6 +17,7 @@ jobs:
> > >                 ARCH: i386
> > >                 TSS: tpm2-tss
> > >                 VARIANT: i386
> > > +              OPENSSL3: true
> > >             # cross compilation builds
> > >             - container: "debian:stable"
> > > @@ -51,6 +52,7 @@ jobs:
> > >               env:
> > >                 CC: clang
> > >                 TSS: ibmtss
> > > +              OPENSSL3: true
> > 
> > I haven't had a chance to look at the entire patch, but defining
> > OPENSSL3 kind of stood out.  Just as "CC" and "TSS" are generic, I'd
> > prefer something more generic here.   In the past there was a request
> > to support Libressl, which never materialized.
> > 
> 
> I agree that it is appropriate to use a generic variable name. I am thinking
> of 'CRYPTOGRAPHY' or 'CRYPPTO_LIBRARY'. Are there any better suggestions?

Perhaps, OPENSSL with tag name. If present, it's git cloned from
upstream, checked out appropriate tag, compiled, installed, and env set
to use it to compile ima-evm-utils. If not present (the default) native
OS OpenSSL is used.

Thanks,

> 
> Best regards,
> Tianjia



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux