blob: a8ca1e24230c5200483b304120e1a0c41c0a6367 [file] [log] [blame]
* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
TPM2B *n, // OUT: The public modulus
TPM2B *p, // OUT: One of the prime factors of n
UINT16 keySizeInBits, // IN: Size of the public modulus in bits
UINT32 e, // IN: The public exponent
hashAlg, // IN: hash algorithm to use in the key generation process
TPM2B *seed, // IN: the seed to use
const char *label, // IN: A label for the generation process.
TPM2B *extra, // IN: Party 1 data for the KDF
UINT32 *counter // IN/OUT: Counter value to allow KDF iteration to be
// propagated across multiple routines
#ifdef RSA_DEBUG
UINT16 primes, // IN: number of primes to test
UINT16 fieldSize // IN: the field size to use