mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-12 16:54:42 +00:00
tpm2: Rename TPM_MAX_DERIVATION_BITS to MAX_DERIVATION_BITS
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
57bfde7bf7
commit
fb94dadeca
@ -3619,7 +3619,7 @@ static const struct _entry {
|
||||
{ COMPILE_CONSTANT(CRT_FORMAT_RSA, EQ) },
|
||||
{ COMPILE_CONSTANT(VENDOR_COMMAND_COUNT, EQ) },
|
||||
{ COMPILE_CONSTANT(MAX_VENDOR_BUFFER_SIZE, EQ) },
|
||||
{ COMPILE_CONSTANT(TPM_MAX_DERIVATION_BITS, EQ) },
|
||||
{ COMPILE_CONSTANT(MAX_DERIVATION_BITS, EQ) },
|
||||
{ COMPILE_CONSTANT(PROOF_SIZE, EQ) },
|
||||
{ COMPILE_CONSTANT(HASH_COUNT, EQ) },
|
||||
};
|
||||
|
||||
@ -485,7 +485,7 @@ TPM2_CreateLoaded(
|
||||
&parent->sensitive.sensitive.bits.b,
|
||||
&labelContext.label.b,
|
||||
&labelContext.context.b,
|
||||
TPM_MAX_DERIVATION_BITS);
|
||||
MAX_DERIVATION_BITS);
|
||||
// Clear the sensitive size so that the creation functions will not try
|
||||
// to use this value.
|
||||
in->inSensitive.sensitive.data.t.size = 0;
|
||||
|
||||
@ -315,8 +315,8 @@
|
||||
#ifndef MAX_VENDOR_BUFFER_SIZE
|
||||
#define MAX_VENDOR_BUFFER_SIZE 1024
|
||||
#endif
|
||||
#ifndef TPM_MAX_DERIVATION_BITS
|
||||
#define TPM_MAX_DERIVATION_BITS 8192
|
||||
#ifndef MAX_DERIVATION_BITS
|
||||
#define MAX_DERIVATION_BITS 8192
|
||||
#endif
|
||||
#ifndef SIZE_OF_X509_SERIAL_NUMBER
|
||||
#define SIZE_OF_X509_SERIAL_NUMBER 20
|
||||
|
||||
Loading…
Reference in New Issue
Block a user