Lines Matching refs:nonceodd
35 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_loadkey2() local
53 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2()
61 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_loadkey2()
71 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2()
81 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, keyauth, in tpm_loadkey2()
113 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_unbind() local
133 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_unbind()
141 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_unbind()
153 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unbind()
165 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, in tpm_unbind()
196 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_sign() local
216 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_sign()
224 nonceodd, cont, sizeof(uint32_t), &ordinal, in tpm_sign()
236 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_sign()
248 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, in tpm_sign()