HomeSort by relevance Sort by last modified time
    Searched refs:TPM2B (Results 1 - 25 of 29) sorted by null

1 2

  /external/tpm2/
CpriDataEcc.h 14 const TPM2B *p; // a prime number
15 const TPM2B *a; // linear coefficient
16 const TPM2B *b; // constant term
17 const TPM2B *x; // generator x coordinate
18 const TPM2B *y; // generator y coordinate
19 const TPM2B *n; // the order of the curve
20 const TPM2B *h; // cofactor
CpriMisc_fp.h 11 const TPM2B *in // IN: the TPM2B to copy
13 BOOL BnTo2B(TPM2B *outVal, // OUT: place for the result
17 void Copy2B(TPM2B *out, // OUT: The TPM2B to receive the copy
18 TPM2B *in // IN: the TPM2B to copy
RSAKeySieve_fp.h 11 TPM2B *n, // OUT: The public modulus
12 TPM2B *p, // OUT: One of the prime factors of n
17 TPM2B *seed, // IN: the seed to use
19 TPM2B *extra, // IN: Party 1 data for the KDF
MemoryLib_fp.h 15 LIB_EXPORT BOOL Memory2BEqual(const TPM2B *aIn, // IN: compare value
16 const TPM2B *bIn // IN: compare value
20 LIB_EXPORT INT16 MemoryCopy2B(TPM2B *dest, // OUT: receiving TPM2B
21 const TPM2B *source, // IN: source TPM2B
36 TPM2B *aInOut, // IN/OUT: destination 2B
37 TPM2B *bIn, // IN: second 2B
CpriRSA_fp.h 32 TPM2B *n, // OUT: The public modulu
33 TPM2B *p, // OUT: One of the prime factors of n
38 TPM2B *seed, // IN: the seed to use
40 TPM2B *extra, // IN: Party 1 data for the KDF
54 TPM2B *d, // OUT: the address to receive the private exponent
56 TPM2B *publicKey, // IN/OUT: an input if only one prime is provided. an
58 TPM2B *prime1, // IN: a first prime
59 TPM2B *prime2 // IN: an optional second prime
MathFunctions_fp.h 15 LIB_EXPORT CRYPT_RESULT _math__Div(const TPM2B *n, // IN: numerator
16 const TPM2B *d, // IN: denominator
17 TPM2B *q, // OUT: quotient
18 TPM2B *r // OUT: remainder
31 LIB_EXPORT UINT16 _math__Normalize2B(TPM2B *b // IN/OUT: number to normalize
CpriRNG_fp.h 17 TPM2B *seed, // IN: the seed value
19 TPM2B *partyU, // IN: other data (oprtional)
20 TPM2B *partyV // IN: still more (optional)
CpriMisc.c 26 TPM2B *outVal, // OUT: place for the result
45 // This function copies a TPM2B structure. The compiler can't generate a copy of a TPM2B generic
46 // structure because the actual size is not known. This function performs the copy on any TPM2B pair. The
47 // size of the destination should have been checked before this call to make sure that it will hold the TPM2B
53 TPM2B *out, // OUT: The TPM2B to receive the copy
54 TPM2B *in // IN: the TPM2B to copy
69 // This function creates a BIGNUM from a TPM2B and fails if the conversion fails
    [all...]
CpriHash_fp.h 35 TPM2B *key, // IN: HMAC key
37 TPM2B *contextU, // IN: context U
38 TPM2B *contextV, // IN: context V
49 TPM2B *Z, // IN: Z
51 TPM2B *partyUInfo, // IN: PartyUInfo
52 TPM2B *partyVInfo, // IN: PartyVInfo
69 TPM2B *oPadKey // OUT: the key prepared for the oPad round
85 TPM2B *oPadKey, // IN: the HMAC key in oPad format
CryptUtil_fp.h 47 TPM2B *digest // OUT: HMAC
56 TPM2B *digest // IN: the size of the buffer Out: requested number of byte
76 TPM2B *numerator, // IN: numerator
77 TPM2B *denominator, // IN: denominator
78 TPM2B *quotient, // OUT: quotient = numerator / denominator.
79 TPM2B *remainder // OUT: numerator mod denominator.
119 LIB_EXPORT const TPM2B *CryptEccGetParameter(
188 _cpri__KDFa(((TPM_ALG_ID)hashAlg), ((TPM2B *)key), ((const char *)label), \
189 ((TPM2B *)contextU), ((TPM2B *)contextV), ((UINT32)sizeInBits),
    [all...]
BaseTypes.h 30 } TPM2B;
TPMB.h 11 // This macro helps avoid having to type in the structure in order to create a new TPM2B type that is used in
20 TPM2B b; \
23 // Macro to instance and initialize a TPM2B value
MemoryLib.c 92 // This function copies a TPM2B. This can be used when the TPM2B types are the same or different. No
96 // This function returns the number of octets in the data buffer of the TPM2B.
100 TPM2B *dest, // OUT: receiving TPM2B
101 const TPM2B *source, // IN: source TPM2B
120 // This function will concatenate the buffer contents of a TPM2B to an the buffer contents of another TPM2B
125 TPM2B *aInOut, // IN/OUT: destination 2
    [all...]
CpriECC_fp.h 62 TPM2B *seed, // IN: the seed to use
64 TPM2B *extra, // IN: Party 1 data for the KDF
81 TPM2B *digest, // IN: the digest to sign
93 TPM2B *digest // IN: the digest that was signed
CpriRNG.c 136 TPM2B *seed, // IN: the seed value
138 TPM2B *partyU, // IN: other data (oprtional)
139 TPM2B *partyV // IN: still more (optional)
stubs_hash.c 15 TPM2B * oPadKey // OUT: the key prepared for the oPad round
63 TPM2B * oPadKey, // IN: the HMAC key in oPad format
83 TPM2B * key, // IN: HMAC key
85 TPM2B * contextU, // IN: context U
86 TPM2B * contextV, // IN: context V
168 TPM2B * Z, // IN: Z
170 TPM2B * partyUInfo, // IN: PartyUInfo
171 TPM2B * partyVInfo, // IN: PartyVInfo
247 TPM2B * seed, // IN: the seed value
249 TPM2B * partyU, // IN: other data (oprtional
    [all...]
Ticket_fp.h 37 BOOL TicketIsSafe(TPM2B *buffer);
OsslCryptoEngine.h 71 TPM2B *extra;
tpm_types.h 626 TPM2B b;
635 TPM2B b;
653 TPM2B b;
662 TPM2B b;
671 TPM2B b;
680 TPM2B b;
689 TPM2B b;
704 TPM2B b;
811 TPM2B b;
    [all...]
MathFunctions.c 20 // This function will normalize the value in a TPM2B. If there are leading bytes of zero, the first non-zero
30 TPM2B *b // IN/OUT: number to normalize
47 // This function is used to adjust a TPM2B so that the number has the desired number of bytes. This is
57 TPM2B *in, // IN:OUT TPM2B number to de-normalize
280 const TPM2B *n, // IN: numerator
281 const TPM2B *d, // IN: denominator
282 TPM2B *q, // OUT: quotient
283 TPM2B *r // OUT: remainder
Commit.c 35 TPM2B *p;
62 p = (TPM2B *)CryptEccGetParameter('p', parms->curveID);
CryptoEngine.h 181 TPM2B *publicKey; // Pointer to the public modulus
182 TPM2B *privateKey; // The private exponent (not a prime)
CpriHash.c 571 TPM2B *oPadKey // OUT: the key prepared for the oPad round
631 TPM2B *oPadKey, // IN: the HMAC key in oPad format
749 TPM2B *key, // IN: HMAC key
751 TPM2B *contextU, // IN: context U
752 TPM2B *contextV, // IN: context V
851 TPM2B *Z, // IN: Z
853 TPM2B *partyUInfo, // IN: PartyUInfo
854 TPM2B *partyVInfo, // IN: PartyVInfo
    [all...]
CryptUtil.c 270 // This function is provided to support the most common use of starting an HMAC with a TPM2B key.
285 TPM2B *key, // IN: HMAC key
297 // This function is provided to support the most common use of starting an HMAC with a TPM2B key.
309 TPM2B *key, // IN: HMAC key
344 // This function updates a digest (hash or HMAC) with a TPM2B.
351 TPM2B *bIn // IN: 2B containing the data
447 // This function is the same as CypteCompleteHash() but the digest is placed in a TPM2B. This is the most
461 TPM2B *digest // IN: the size of the buffer Out: requested
523 // This function is the same as CryptCompleteHMAC() but the HMAC result is returned in a TPM2B which is
533 TPM2B *digest // OUT: HMA
    [all...]
RSAKeySieve.c 150 TPM2B *p // OUT: the pseudo random result
681 TPM2B *p,
719 TPM2B *seed, // IN: the seed for the digest proce
721 TPM2B *extra, // IN: the extra data
777 TPM2B *n, // OUT: The public modulus
778 TPM2B *p, // OUT: One of the prime factors of n
783 TPM2B *seed, // IN: the seed to use
785 TPM2B *extra, // IN: Party 1 data for the KDF

Completed in 255 milliseconds

1 2