Home
last modified time | relevance | path

Searched refs:sess (Results 1 – 1 of 1) sorted by relevance

/security/keys/trusted-keys/
A Dtrusted_tpm1.c475 struct osapsess sess; in tpm_seal() local
493 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal()
496 dump_sess(&sess); in tpm_seal()
499 memcpy(td->xorwork, sess.secret, SHA1_DIGEST_SIZE); in tpm_seal()
500 memcpy(td->xorwork + SHA1_DIGEST_SIZE, sess.enonce, SHA1_DIGEST_SIZE); in tpm_seal()
526 ret = TSS_authhmac(td->pubauth, sess.secret, SHA1_DIGEST_SIZE, in tpm_seal()
527 sess.enonce, td->nonceodd, cont, in tpm_seal()
534 ret = TSS_authhmac(td->pubauth, sess.secret, SHA1_DIGEST_SIZE, in tpm_seal()
535 sess.enonce, td->nonceodd, cont, in tpm_seal()
552 tpm_buf_append_u32(tb, sess.handle); in tpm_seal()
[all …]

Completed in 3 milliseconds