/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_StartAuthSession.c | 27 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/ |
D | CryptUtil_fp.h | 60 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
|
D | StartAuthSession_fp.h | 49 TPM2B_NONCE nonceCaller; member
|
D | Session_fp.h | 131 TPM2B_NONCE *nonceCaller, // IN: initial nonceCaller
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_StartAuthSession.c | 19 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/ |
D | StartAuthSession.c | 75 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/ |
D | CryptUtil.c | 222 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/ |
D | esys-auto-session-flags.int.c | 47 TPM2B_NONCE nonceCaller = { in test_esys_auto_flags() local 56 &nonceCaller, in test_esys_auto_flags() 64 &nonceCaller, in test_esys_auto_flags()
|
D | esys-clear.int.c | 46 TPM2B_NONCE nonceCaller = { in test_esys_clear() local 56 &nonceCaller, in test_esys_clear()
|
D | sapi-hmac-auth.int.c | 38 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()
|
D | esys-hashsequencestart.int.c | 52 TPM2B_NONCE nonceCaller = { in test_esys_hashsequencestart() local 62 &nonceCaller, in test_esys_hashsequencestart()
|
D | esys-hmacsequencestart.int.c | 60 TPM2B_NONCE nonceCaller = { in test_esys_hmacsequencestart() local 70 &nonceCaller, in test_esys_hmacsequencestart() 194 &nonceCaller, in test_esys_hmacsequencestart()
|
D | esys-ecdh-keygen.int.c | 45 TPM2B_NONCE nonceCaller = { in test_esys_ecdh_keygen() local 62 &nonceCaller, in test_esys_ecdh_keygen()
|
D | esys-ecdh-zgen.int.c | 47 TPM2B_NONCE nonceCaller = { in test_esys_ecdh_zgen() local 62 &nonceCaller, in test_esys_ecdh_zgen()
|
D | esys-policy-ticket.int.c | 174 TPM2B_NONCE nonceCaller = { in test_esys_policy_ticket() local 189 &nonceCaller, in test_esys_policy_ticket() 284 &nonceCaller, in test_esys_policy_ticket()
|
D | esys-commit.int.c | 61 TPM2B_NONCE nonceCaller = { in test_esys_commit() local 70 &nonceCaller, in test_esys_commit()
|
D | esys-nv-ram-set-bits.int.c | 56 TPM2B_NONCE nonceCaller = { in test_esys_nv_ram_set_bits() local 66 &nonceCaller, in test_esys_nv_ram_set_bits()
|
D | esys-nv-ram-counter.int.c | 57 TPM2B_NONCE nonceCaller = { in test_esys_nv_ram_counter() local 67 &nonceCaller, in test_esys_nv_ram_counter()
|
D | esys-zgen-2phase.int.c | 53 TPM2B_NONCE nonceCaller = { in test_esys_zgen_2phase() local 71 &nonceCaller, in test_esys_zgen_2phase()
|
D | esys-make-credential.int.c | 82 TPM2B_NONCE nonceCaller = { in test_esys_make_credential() local 94 &nonceCaller, in test_esys_make_credential() 110 &nonceCaller, in test_esys_make_credential()
|
D | esys-nv-ram-extend-index.int.c | 59 TPM2B_NONCE nonceCaller = { in test_esys_nv_ram_extend_index() local 69 &nonceCaller, in test_esys_nv_ram_extend_index()
|
D | esys-createloaded.int.c | 96 TPM2B_NONCE nonceCaller = { in test_esys_createloaded() local 106 &nonceCaller, in test_esys_createloaded()
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_iutil.c | 539 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()
|
D | esys_types.h | 61 …TPM2B_NONCE nonceCaller; /**< Nonce computed by the ESAPI for every… member
|
/external/tpm2-tss/test/tpmclient/ |
D | tpmclient.int.c | 331 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 …]
|