Lines Matching refs:ordinal
178 uint32_t ordinal; in TSS_checkhmac1() local
196 ordinal = command; in TSS_checkhmac1()
218 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac1()
219 sizeof ordinal); in TSS_checkhmac1()
265 uint32_t ordinal; in TSS_checkhmac2() local
284 ordinal = command; in TSS_checkhmac2()
311 ret = crypto_shash_update(&sdesc->shash, (const u8 *)&ordinal, in TSS_checkhmac2()
312 sizeof ordinal); in TSS_checkhmac2()
467 uint32_t ordinal; in tpm_seal() local
503 ordinal = htonl(TPM_ORD_SEAL); in tpm_seal()
517 sizeof(uint32_t), &ordinal, SHA1_DIGEST_SIZE, in tpm_seal()
525 sizeof(uint32_t), &ordinal, SHA1_DIGEST_SIZE, in tpm_seal()
558 ret = TSS_checkhmac1(tb->data, ordinal, td->nonceodd, sess.secret, in tpm_seal()
589 uint32_t ordinal; in tpm_unseal() local
604 ordinal = htonl(TPM_ORD_UNSEAL); in tpm_unseal()
615 &ordinal, bloblen, blob, 0, 0); in tpm_unseal()
620 &ordinal, bloblen, blob, 0, 0); in tpm_unseal()
644 ret = TSS_checkhmac2(tb->data, ordinal, nonceodd, in tpm_unseal()