Lines Matching refs:TPM_DATA_OFFSET
414 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()
551 sealinfosize = LOAD32(tb->data, TPM_DATA_OFFSET + sizeof(uint32_t)); in tpm_seal()
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()
648 *datalen, TPM_DATA_OFFSET + sizeof(uint32_t), 0, in tpm_unseal()
654 memcpy(data, tb->data + TPM_DATA_OFFSET + sizeof(uint32_t), *datalen); in tpm_unseal()