Home
last modified time | relevance | path

Searched refs:nonceCaller (Results 1 – 25 of 39) sorted by relevance

12

/external/tpm2-tss/src/tss2-esys/api/
DEsys_StartAuthSession.c27 const TPM2B_NONCE *nonceCaller, in store_input_parameters() argument
36 if (nonceCaller == NULL) { in store_input_parameters()
37 esysContext->in.StartAuthSession.nonceCaller = NULL; in store_input_parameters()
39 esysContext->in.StartAuthSession.nonceCallerData = *nonceCaller; in store_input_parameters()
40 esysContext->in.StartAuthSession.nonceCaller = in store_input_parameters()
103 const TPM2B_NONCE *nonceCaller, in Esys_StartAuthSession() argument
111 shandle2, shandle3, nonceCaller, sessionType, in Esys_StartAuthSession()
184 const TPM2B_NONCE *nonceCaller, in Esys_StartAuthSession_Async() argument
193 esysContext, tpmKey, bind, nonceCaller, sessionType, in Esys_StartAuthSession_Async()
214 store_input_parameters(esysContext, tpmKey, bind, nonceCaller, sessionType, in Esys_StartAuthSession_Async()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptUtil_fp.h60 TPM2B *nonceCaller, // IN: nonce caller
74 TPM2B *nonceCaller, // IN: nonce caller
185 TPM2B_NONCE *nonceCaller, // IN: nonceCaller. It is needed for
199 TPM2B *nonceCaller, // IN: nonce caller
215 TPM2B *nonceCaller, // IN: nonce caller
DStartAuthSession_fp.h49 TPM2B_NONCE nonceCaller; member
DSession_fp.h131 TPM2B_NONCE *nonceCaller, // IN: initial nonceCaller
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_StartAuthSession.c19 const TPM2B_NONCE *nonceCaller, in Tss2_Sys_StartAuthSession_Prepare() argument
50 if (!nonceCaller) { in Tss2_Sys_StartAuthSession_Prepare()
58 rval = Tss2_MU_TPM2B_NONCE_Marshal(nonceCaller, ctx->cmdBuffer, in Tss2_Sys_StartAuthSession_Prepare()
139 const TPM2B_NONCE *nonceCaller, in Tss2_Sys_StartAuthSession() argument
154 …rval = Tss2_Sys_StartAuthSession_Prepare(sysContext, tpmKey, bind, nonceCaller, encryptedSalt, ses… in Tss2_Sys_StartAuthSession()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Session/
DStartAuthSession.c75 if(in->nonceCaller.t.size < 16 in TPM2_StartAuthSession()
76 || in->nonceCaller.t.size > CryptHashGetDigestSize(in->authHash)) in TPM2_StartAuthSession()
104 result = CryptSecretDecrypt(tpmKey, &in->nonceCaller, SECRET_KEY, in TPM2_StartAuthSession()
159 result = SessionCreate(in->sessionType, in->authHash, &in->nonceCaller, in TPM2_StartAuthSession()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c222 TPM2B *nonceCaller, // IN: nonce caller in ParmDecryptSym() argument
241 CryptKDFa(hash, key, CFB_KEY, nonceCaller, nonceTpm, in ParmDecryptSym()
271 TPM2B *nonceCaller, // IN: nonce caller in ParmEncryptSym() argument
291 CryptKDFa(hash, key, CFB_KEY, nonceTpm, nonceCaller, in ParmEncryptSym()
651 TPM2B_NONCE *nonceCaller, // IN: nonceCaller. It is needed for in CryptSecretDecrypt() argument
773 &nonceCaller->b, NULL, in CryptSecretDecrypt()
794 if(nonceCaller->t.size >= iv.t.size) in CryptSecretDecrypt()
796 MemoryCopy(iv.t.buffer, nonceCaller->t.buffer, iv.t.size); in CryptSecretDecrypt()
800 if(nonceCaller->t.size > sizeof(iv.t.buffer)) in CryptSecretDecrypt()
802 MemoryCopy(iv.b.buffer, nonceCaller->t.buffer, in CryptSecretDecrypt()
[all …]
/external/tpm2-tss/test/integration/
Desys-auto-session-flags.int.c47 TPM2B_NONCE nonceCaller = { in test_esys_auto_flags() local
56 &nonceCaller, in test_esys_auto_flags()
64 &nonceCaller, in test_esys_auto_flags()
Desys-clear.int.c46 TPM2B_NONCE nonceCaller = { in test_esys_clear() local
56 &nonceCaller, in test_esys_clear()
Dsapi-hmac-auth.int.c38 TPM2B_NONCE nonceCaller = { 0, }; in create_policy() local
56 &nonceCaller, in create_policy()
109 TPM2B_NONCE nonceCaller = { 0, }; in nv_rw_with_session() local
194 &nonceCaller, in nv_rw_with_session()
Desys-hashsequencestart.int.c52 TPM2B_NONCE nonceCaller = { in test_esys_hashsequencestart() local
62 &nonceCaller, in test_esys_hashsequencestart()
Desys-hmacsequencestart.int.c60 TPM2B_NONCE nonceCaller = { in test_esys_hmacsequencestart() local
70 &nonceCaller, in test_esys_hmacsequencestart()
194 &nonceCaller, in test_esys_hmacsequencestart()
Desys-ecdh-keygen.int.c45 TPM2B_NONCE nonceCaller = { in test_esys_ecdh_keygen() local
62 &nonceCaller, in test_esys_ecdh_keygen()
Desys-ecdh-zgen.int.c47 TPM2B_NONCE nonceCaller = { in test_esys_ecdh_zgen() local
62 &nonceCaller, in test_esys_ecdh_zgen()
Desys-policy-ticket.int.c174 TPM2B_NONCE nonceCaller = { in test_esys_policy_ticket() local
189 &nonceCaller, in test_esys_policy_ticket()
284 &nonceCaller, in test_esys_policy_ticket()
Desys-commit.int.c61 TPM2B_NONCE nonceCaller = { in test_esys_commit() local
70 &nonceCaller, in test_esys_commit()
Desys-nv-ram-set-bits.int.c56 TPM2B_NONCE nonceCaller = { in test_esys_nv_ram_set_bits() local
66 &nonceCaller, in test_esys_nv_ram_set_bits()
Desys-nv-ram-counter.int.c57 TPM2B_NONCE nonceCaller = { in test_esys_nv_ram_counter() local
67 &nonceCaller, in test_esys_nv_ram_counter()
Desys-zgen-2phase.int.c53 TPM2B_NONCE nonceCaller = { in test_esys_zgen_2phase() local
71 &nonceCaller, in test_esys_zgen_2phase()
Desys-make-credential.int.c82 TPM2B_NONCE nonceCaller = { in test_esys_make_credential() local
94 &nonceCaller, in test_esys_make_credential()
110 &nonceCaller, in test_esys_make_credential()
Desys-nv-ram-extend-index.int.c59 TPM2B_NONCE nonceCaller = { in test_esys_nv_ram_extend_index() local
69 &nonceCaller, in test_esys_nv_ram_extend_index()
Desys-createloaded.int.c96 TPM2B_NONCE nonceCaller = { in test_esys_createloaded() local
106 &nonceCaller, in test_esys_createloaded()
/external/tpm2-tss/src/tss2-esys/
Desys_iutil.c539 r = iesys_crypto_random2b(&session->rsrc.misc.rsrc_session.nonceCaller, in iesys_gen_caller_nonces()
540 session->rsrc.misc.rsrc_session.nonceCaller.size); in iesys_gen_caller_nonces()
698 &rsrc_session->nonceCaller, in iesys_encrypt_param()
719 &rsrc_session->nonceCaller, in iesys_encrypt_param()
794 &rsrc_session->nonceCaller, in iesys_decrypt_param()
822 &rsrc_session->nonceCaller, in iesys_decrypt_param()
897 &rsrc_session->nonceCaller, NULL, NULL, in iesys_check_rp_hmacs()
1213 &rsrc_session->nonceCaller, in iesys_compute_hmac()
1219 auth->nonce = rsrc_session->nonceCaller; in iesys_compute_hmac()
Desys_types.h61 …TPM2B_NONCE nonceCaller; /**< Nonce computed by the ESAPI for every… member
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c331 TPM2B_NONCE nonceCaller; in TestStartAuthSession() local
364 nonceCaller.size = 0; in TestStartAuthSession()
369 …rval = create_auth_session(&authSession, TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encr… in TestStartAuthSession()
377 …rval = create_auth_session(&authSession, TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encr… in TestStartAuthSession()
386 …rval = create_auth_session(&sessions[i], TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encr… in TestStartAuthSession()
401 …rval = create_auth_session(&sessions[0], TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encr… in TestStartAuthSession()
406 …rval = create_auth_session(&sessions[i], TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encr… in TestStartAuthSession()
418 …rval = create_auth_session(&sessions[i], TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encr… in TestStartAuthSession()
884 TPM2B_NONCE nonceCaller; in BuildPolicy() local
886 nonceCaller.size = 0; in BuildPolicy()
[all …]

12