mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-15 05:10:04 +00:00
tpm2: rev162: Use TPM_ALG_<SYM> rather than synonymous ALG_<SYM>_VALUE
This commit is contained in:
parent
44325fb94b
commit
e9f48a8bd7
@ -3,7 +3,7 @@
|
||||
/* Symmetric block cipher modes */
|
||||
/* Written by Ken Goldman */
|
||||
/* IBM Thomas J. Watson Research Center */
|
||||
/* $Id: CryptSym.c 1476 2019-06-10 19:32:03Z kgoldman $ */
|
||||
/* $Id: CryptSym.c 1594 2020-03-26 22:15:48Z kgoldman $ */
|
||||
/* */
|
||||
/* Licenses and Notices */
|
||||
/* */
|
||||
@ -55,7 +55,7 @@
|
||||
/* arising in any way out of use or reliance upon this specification or any */
|
||||
/* information herein. */
|
||||
/* */
|
||||
/* (c) Copyright IBM Corp. and others, 2016 - 2018 */
|
||||
/* (c) Copyright IBM Corp. and others, 2016 - 2020 */
|
||||
/* */
|
||||
/********************************************************************************/
|
||||
|
||||
@ -123,7 +123,7 @@ CryptGetSymmetricBlockSize(
|
||||
{
|
||||
const INT16 *sizes;
|
||||
INT16 i;
|
||||
#define ALG_CASE(SYM, sym) case ALG_##SYM##_VALUE: sizes = sym##KeyBlockSizes; break
|
||||
#define ALG_CASE(SYM, sym) case TPM_ALG_##SYM: sizes = sym##KeyBlockSizes; break
|
||||
switch(symmetricAlg)
|
||||
{
|
||||
#if ALG_AES
|
||||
|
||||
Loading…
Reference in New Issue
Block a user