Lines Matching refs:ordinal
185 uint32_t ordinal; in TSS_checkhmac1() local
203 ordinal = command; in TSS_checkhmac1()
225 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
226 sizeof ordinal); in TSS_checkhmac1()
272 uint32_t ordinal; in TSS_checkhmac2() local
291 ordinal = command; in TSS_checkhmac2()
318 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2()
319 sizeof ordinal); in TSS_checkhmac2()
477 uint32_t ordinal; in tpm_seal() local
507 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal()
521 sizeof(uint32_t), &ordinal, SHA1_DIGEST_SIZE, in tpm_seal()
529 sizeof(uint32_t), &ordinal, SHA1_DIGEST_SIZE, in tpm_seal()
565 ret = TSS_checkhmac1(tb->data, ordinal, td->nonceodd, sess.secret, in tpm_seal()
596 uint32_t ordinal; in tpm_unseal() local
612 ordinal = htonl(TPM_ORD_UNSEAL); in tpm_unseal()
621 &ordinal, bloblen, blob, 0, 0); in tpm_unseal()
626 &ordinal, bloblen, blob, 0, 0); in tpm_unseal()
653 ret = TSS_checkhmac2(tb->data, ordinal, nonceodd, in tpm_unseal()