lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180919140254.GG26571@linux.intel.com>
Date:   Wed, 19 Sep 2018 17:02:54 +0300
From:   Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To:     Tomas Winkler <tomas.winkler@...el.com>
Cc:     Jason Gunthorpe <jgg@...pe.ca>,
        Alexander Usyskin <alexander.usyskin@...el.com>,
        Tadeusz Struk <tadeusz.struk@...el.com>,
        linux-integrity@...r.kernel.org,
        linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 04/20] tpm: add tpm_calc_ordinal_duration wrapper

On Tue, Sep 18, 2018 at 12:34:43PM +0300, Tomas Winkler wrote:
> Add convenient wrapper for ordinal duration computation
> to remove boiler plate if else statement over TPM2.
> 
> if (chip->flags & TPM_CHIP_FLAG_TPM2)
> 	tpm2_calc_ordinal_duration(chip, ordinal);
> else
> 	tpm1_calc_ordinal_duration(chip, ordinal);
> 
> Signed-off-by: Tomas Winkler <tomas.winkler@...el.com>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>

/Jarkko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ