Lines Matching refs:datalen
129 uint32_t datalen; in tpm_unbind() local
133 datalen = htonl(bloblen); in tpm_unbind()
152 sizeof(uint32_t), &datalen, in tpm_unbind()
176 datalen = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_unbind()
181 datalen, TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_unbind()
189 min(outlen, datalen)); in tpm_unbind()
191 return datalen; in tpm_unbind()
215 uint32_t datalen; in tpm_sign() local
219 datalen = htonl(bloblen); in tpm_sign()
238 sizeof(uint32_t), &datalen, in tpm_sign()
262 datalen = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_sign()
267 datalen, TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_sign()
275 min(datalen, outlen)); in tpm_sign()
277 return datalen; in tpm_sign()