Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
A Dtrusted_tpm1.c414 s->handle = LOAD32(tb->data, TPM_DATA_OFFSET); in osap()
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()
438 *handle = LOAD32(tb->data, TPM_DATA_OFFSET); in oiap()
439 memcpy(nonce, &tb->data[TPM_DATA_OFFSET + sizeof(uint32_t)], in oiap()
552 encdatasize = LOAD32(tb->data, TPM_DATA_OFFSET + sizeof(uint32_t) + in tpm_seal()
559 SHA1_DIGEST_SIZE, storedsize, TPM_DATA_OFFSET, 0, in tpm_seal()
564 memcpy(blob, tb->data + TPM_DATA_OFFSET, storedsize); in tpm_seal()
643 *datalen = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_unseal()
647 sizeof(uint32_t), TPM_DATA_OFFSET, in tpm_unseal()
[all …]
/linux/crypto/asymmetric_keys/
A Dasym_tpm.c88 *newhandle = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_loadkey2()
163 datalen = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_unbind()
167 sizeof(uint32_t), TPM_DATA_OFFSET, in tpm_unbind()
168 datalen, TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_unbind()
175 memcpy(out, tb->data + TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_unbind()
246 datalen = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_sign()
250 sizeof(uint32_t), TPM_DATA_OFFSET, in tpm_sign()
251 datalen, TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_sign()
258 memcpy(out, tb->data + TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_sign()
/linux/include/keys/
A Dtrusted_tpm.h13 #define TPM_DATA_OFFSET 10 macro

Completed in 13 milliseconds