Home
last modified time | relevance | path

Searched refs:TPM2B (Results 1 – 25 of 58) sorted by relevance

123

/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DObject_spt_fp.h139 const TPM2B *
161 TPM2B *name, // IN: the name of the object
163 TPM2B *seed, // IN: an external seed may be provided for
192 TPM2B *name, // IN: the name of the object
194 TPM2B *seed, // IN: an external seed may be provided for
238 TPM2B *inPrivate, // IN: input private structure
239 TPM2B *name, // IN: the name of the object
261 TPM2B *name, // IN: the name of the object
267 TPM2B *seed, // IN: the external seed. If external
295 TPM2B *inPrivate, // IN: input private structure
[all …]
DCryptUtil_fp.h59 TPM2B *key, // IN: KDF HMAC key
60 TPM2B *nonceCaller, // IN: nonce caller
61 TPM2B *nonceTpm, // IN: nonce TPM
73 TPM2B *key, // IN: KDF HMAC key
74 TPM2B *nonceCaller, // IN: nonce caller
75 TPM2B *nonceTpm, // IN: nonce TPM
87 TPM2B *key, // IN: KDF key
88 TPM2B *contextU, // IN: contextU
89 TPM2B *contextV, // IN: contextV
156 const TPM2B *label, // IN: a null-terminated string as L
[all …]
DCryptRand_fp.h121 TPM2B *seed, // IN: the seed to use
122 const TPM2B *label, // IN: a label for the generation process.
123 TPM2B *context, // IN: the context value
134 TPM2B *additionalData // IN: value to incorporate
147 const TPM2B *seed, // IN: the seed to use
148 const TPM2B *purpose, // IN: a label for the generation process.
149 const TPM2B *name, // IN: name of the object
150 const TPM2B *additional // IN: additional data
DMathOnByteBuffers_fp.h115 const TPM2B *n, // IN: numerator
116 const TPM2B *d, // IN: denominator
117 TPM2B *q, // OUT: quotient
118 TPM2B *r // OUT: remainder
128 TPM2B *num,
135 TPM2B *
137 TPM2B *value // IN/OUT: value to shift and shifted value out
DMemory_fp.h74 TPM2B *dest, // OUT: receiving TPM2B
75 const TPM2B *source, // IN: source TPM2B
85 TPM2B *aInOut, // IN/OUT: destination 2B
86 TPM2B *bIn, // IN: second 2B
100 const TPM2B *aIn, // IN: compare value
101 const TPM2B *bIn // IN: compare value
122 TPM2B *b,
DCryptHash_fp.h235 const TPM2B *bIn // IN: 2B containing the data
375 const TPM2B *key, // IN: HMAC key
376 const TPM2B *label, // IN: a label for the KDF
377 const TPM2B *contextU, // IN: context U
378 const TPM2B *contextV, // IN: context V
405 TPM2B *Z, // IN: Z
406 const TPM2B *label, // IN: a label value for the KDF
407 TPM2B *partyUInfo, // IN: PartyUInfo
408 TPM2B *partyVInfo, // IN: PartyVInfo
DCryptRsa_fp.h132 TPM2B *dIn, // IN: the data to encrypt
136 const TPM2B *label, // IN: in case it is needed
155 TPM2B *dOut, // OUT: the decrypted data
156 TPM2B *cIn, // IN: the data to decrypt
159 const TPM2B *label // IN: in case it is needed for the scheme
DCryptSmac_fp.h52 TPM2B *key
63 TPM2B *key
80 TPM2B *data
/external/tpm2-tss/test/integration/
Dsapi-session-util.c77 (TPM2B *)&session->authValueBind); in start_auth_session()
84 (TPM2B *)&session->salt); in start_auth_session()
92 rval = KDFa(session->authHash, (TPM2B *)&key, label, in start_auth_session()
93 (TPM2B *)&session->nonceNewer, in start_auth_session()
94 (TPM2B *)&session->nonceOlder, in start_auth_session()
114 TPM2B sessionAttributesByteBuffer = { in compute_session_auth()
196 CopySizedByteBuffer((TPM2B *)&hmac_key, (TPM2B *)&session->sessionKey); in compute_command_hmac()
199 ConcatSizedByteBuffer(&hmac_key, (TPM2B *)&entity->entityAuth); in compute_command_hmac()
248 CopySizedByteBuffer((TPM2B *)&hmac_key, (TPM2B *)&session->sessionKey); in check_response_hmac()
251 ConcatSizedByteBuffer(&hmac_key, (TPM2B *)&entity->entityAuth); in check_response_hmac()
[all …]
Dsapi-util.h194 TPM2B *buffer1,
195 TPM2B *buffer2);
200 TPM2B *buf);
204 TPM2B *dest,
205 TPM2B *src);
209 TPM2B *dest,
210 const TPM2B *src);
Dsapi-entity-util.c32 CopySizedByteBuffer((TPM2B *)&e->entityAuth, (TPM2B *)auth); in AddEntity()
58 CopySizedByteBuffer((TPM2B *)auth, (TPM2B *)&e->entityAuth); in GetEntityAuth()
Dsession-util.h71 TPM2B *key,
73 TPM2B *contextU,
74 TPM2B *contextV,
Dsapi-util.c580 TPM2B *buf) in ConcatSizedByteBuffer()
594 TPM2B *buffer1, in CompareSizedByteBuffer()
595 TPM2B *buffer2) in CompareSizedByteBuffer()
608 TPM2B *dest, in CatSizedByteBuffer()
609 TPM2B *src) in CatSizedByteBuffer()
620 TPM2B *dest, in CopySizedByteBuffer()
621 const TPM2B *src) in CopySizedByteBuffer()
676 CopySizedByteBuffer ((TPM2B*)&publicInfo.nvPublic.authPolicy, in DefineNvIndex()
677 (TPM2B*)authPolicy); in DefineNvIndex()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DMemory.c97 TPM2B *dest, // OUT: receiving TPM2B in MemoryCopy2B()
98 const TPM2B *source, // IN: source TPM2B in MemoryCopy2B()
120 TPM2B *aInOut, // IN/OUT: destination 2B in MemoryConcat2B()
121 TPM2B *bIn, // IN: second 2B in MemoryConcat2B()
141 const TPM2B *aIn, // IN: compare value in MemoryEqual2B()
142 const TPM2B *bIn // IN: compare value in MemoryEqual2B()
171 TPM2B *b, in MemoryPad2B()
DMathOnByteBuffers.c180 const TPM2B *n, // IN: numerator in DivideB()
181 const TPM2B *d, // IN: denominator in DivideB()
182 TPM2B *q, // OUT: quotient in DivideB()
183 TPM2B *r // OUT: remainder in DivideB()
212 TPM2B *num, in AdjustNumberB()
248 TPM2B *
250 TPM2B *value // IN/OUT: value to shift and shifted value out in ShiftLeft()
/external/tpm2-tss/src/tss2-esys/
Desys_crypto.c113 r = iesys_crypto_hash_update2b(cryptoContext, (TPM2B *) name1); in iesys_crypto_pHash()
118 r = iesys_crypto_hash_update2b(cryptoContext, (TPM2B *) name2); in iesys_crypto_pHash()
123 r = iesys_crypto_hash_update2b(cryptoContext, (TPM2B *) name3); in iesys_crypto_pHash()
190 r = iesys_crypto_hmac_update2b(cryptoContext, (TPM2B *) nonceNewer); in iesys_crypto_authHmac()
193 r = iesys_crypto_hmac_update2b(cryptoContext, (TPM2B *) nonceOlder); in iesys_crypto_authHmac()
197 r = iesys_crypto_hmac_update2b(cryptoContext, (TPM2B *) nonceDecrypt); in iesys_crypto_authHmac()
202 r = iesys_crypto_hmac_update2b(cryptoContext, (TPM2B *) nonceEncrypt); in iesys_crypto_authHmac()
216 r = iesys_crypto_hmac_finish2b(&cryptoContext, (TPM2B *) hmac); in iesys_crypto_authHmac()
281 r = iesys_crypto_hmac_update2b(cryptoContext, (TPM2B *) contextU); in iesys_crypto_KDFaHmac()
284 r = iesys_crypto_hmac_update2b(cryptoContext, (TPM2B *) contextV); in iesys_crypto_KDFaHmac()
[all …]
Desys_crypto_ossl.h31 TPM2B *b);
40 TPM2B *b);
61 TPM2B *b);
70 TPM2B *b);
79 TPM2B *b);
Desys_crypto_bssl.h31 TPM2B *b);
40 TPM2B *b);
61 TPM2B *b);
70 TPM2B *b);
79 TPM2B *b);
Desys_crypto_gcrypt.h29 TPM2B *b);
38 TPM2B *b);
58 TPM2B *b);
67 TPM2B *b);
76 TPM2B *b);
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c100 TPM2B *name, // IN: name of the object in ComputeProtectionKeyParms()
101 TPM2B *seedIn, // IN: optional seed for duplication blob. in ComputeProtectionKeyParms()
109 const TPM2B *seed = seedIn; in ComputeProtectionKeyParms()
167 TPM2B *name, // IN: the name of the object in ComputeOuterIntegrity()
174 TPM2B *seedIn, // IN: an external seed may be provided for in ComputeOuterIntegrity()
184 const TPM2B *seed = seedIn; in ComputeOuterIntegrity()
215 TPM2B *name, // IN: the name of the object in ComputeInnerIntegrity()
248 TPM2B *name, // IN: the name of the object in ProduceInnerIntegrity()
282 TPM2B *name, // IN: the name of the object in CheckInnerIntegrity()
775 const TPM2B *
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRsa.c249 TPM2B *dInOut, // IN: size of the encrypted block and the size of in RSAEP()
284 TPM2B *inOut, // IN/OUT: the value to encrypt in RSADP()
321 TPM2B *padded, // OUT: the pad data in OaepEncode()
323 const TPM2B *label, // IN: null-terminated string (may be NULL) in OaepEncode()
324 TPM2B *message, // IN: the message being padded in OaepEncode()
420 TPM2B *dataOut, // OUT: the recovered data in OaepDecode()
422 const TPM2B *label, // IN: null-terminated string (may be NULL) in OaepDecode()
423 TPM2B *padded // IN: the padded data in OaepDecode()
501 TPM2B *padded, // OUT: the pad data in RSAES_PKCS1v1_5Encode()
502 TPM2B *message, // IN: the message being padded in RSAES_PKCS1v1_5Encode()
[all …]
DCryptSmac.c54 TPM2B *key in CryptSmacStart()
87 TPM2B *key in CryptMacStart()
127 TPM2B *data in CryptMacEnd2B()
DCryptHash.c459 const TPM2B *bIn // IN: 2B containing the data in CryptDigestUpdate2B()
728 const TPM2B *key, // IN: HMAC key in CryptKDFa()
729 const TPM2B *label, // IN: a label for the KDF in CryptKDFa()
730 const TPM2B *contextU, // IN: context U in CryptKDFa()
731 const TPM2B *contextV, // IN: context V in CryptKDFa()
829 TPM2B *Z, // IN: Z in CryptKDFe()
830 const TPM2B *label, // IN: a label value for the KDF in CryptKDFe()
831 TPM2B *partyUInfo, // IN: PartyUInfo in CryptKDFe()
832 TPM2B *partyVInfo, // IN: PartyVInfo in CryptKDFe()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTPMB.h46 } TPM2B, *P2B; typedef
47 typedef const TPM2B *PC2B;
57 TPM2B b; \
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_GetDecryptParam.c22 TPM2B *decryptParam; in Tss2_Sys_GetDecryptParam()
34 decryptParam = (TPM2B *)(ctx->cpBuffer); in Tss2_Sys_GetDecryptParam()

123