Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/trusted-keys/
H 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 …]
/openbmc/linux/include/keys/
H A Dtrusted_tpm.h13 #define TPM_DATA_OFFSET 10 macro