Home
last modified time | relevance | path

Searched refs:enonce (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/security/keys/trusted-keys/
H A Dtrusted_tpm1.c180 unsigned char *enonce; in TSS_checkhmac1() local
204 enonce = continueflag - TPM_NONCE_SIZE; in TSS_checkhmac1()
239 TPM_NONCE_SIZE, enonce, TPM_NONCE_SIZE, ononce, in TSS_checkhmac1()
394 unsigned char enonce[TPM_NONCE_SIZE]; in osap() local
415 memcpy(s->enonce, &(tb->data[TPM_DATA_OFFSET + sizeof(uint32_t)]), in osap()
417 memcpy(enonce, &(tb->data[TPM_DATA_OFFSET + sizeof(uint32_t) + in osap()
420 enonce, TPM_NONCE_SIZE, ononce, 0, 0); in osap()
489 memcpy(td->xorwork + SHA1_DIGEST_SIZE, sess.enonce, SHA1_DIGEST_SIZE); in tpm_seal()
516 sess.enonce, td->nonceodd, cont, in tpm_seal()
524 sess.enonce, t in tpm_seal()
[all...]
/kernel/linux/linux-6.6/include/keys/
H A Dtrusted_tpm.h24 unsigned char enonce[TPM_NONCE_SIZE]; member
72 pr_info("trusted-key: enonce:\n"); in dump_sess()
74 16, 1, &s->enonce, SHA1_DIGEST_SIZE, 0); in dump_sess()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dasym_tpm.c36 unsigned char enonce[TPM_NONCE_SIZE]; in tpm_loadkey2() local
46 ret = oiap(tb, &authhandle, enonce); in tpm_loadkey2()
60 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_loadkey2()
114 unsigned char enonce[TPM_NONCE_SIZE]; in tpm_unbind() local
126 ret = oiap(tb, &authhandle, enonce); in tpm_unbind()
140 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_unbind()
197 unsigned char enonce[TPM_NONCE_SIZE]; in tpm_sign() local
209 ret = oiap(tb, &authhandle, enonce); in tpm_sign()
223 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_sign()
/kernel/linux/linux-5.10/include/keys/
H A Dtrusted_tpm.h22 unsigned char enonce[TPM_NONCE_SIZE]; member
81 pr_info("trusted-key: enonce:\n"); in dump_sess()
83 16, 1, &s->enonce, SHA1_DIGEST_SIZE, 0); in dump_sess()
/kernel/linux/linux-5.10/security/keys/trusted-keys/
H A Dtrusted_tpm1.c187 unsigned char *enonce; in TSS_checkhmac1() local
211 enonce = continueflag - TPM_NONCE_SIZE; in TSS_checkhmac1()
246 TPM_NONCE_SIZE, enonce, TPM_NONCE_SIZE, ononce, in TSS_checkhmac1()
401 unsigned char enonce[TPM_NONCE_SIZE]; in osap() local
422 memcpy(s->enonce, &(tb->data[TPM_DATA_OFFSET + sizeof(uint32_t)]), in osap()
424 memcpy(enonce, &(tb->data[TPM_DATA_OFFSET + sizeof(uint32_t) + in osap()
427 enonce, TPM_NONCE_SIZE, ononce, 0, 0); in osap()
496 memcpy(td->xorwork + SHA1_DIGEST_SIZE, sess.enonce, SHA1_DIGEST_SIZE); in tpm_seal()
523 sess.enonce, td->nonceodd, cont, in tpm_seal()
531 sess.enonce, t in tpm_seal()
[all...]

Completed in 5 milliseconds