Lines Matching refs:TPM_ANY_NUM
384 ret = tpm_get_random(TPM_ANY_NUM, hash, SHA1_DIGEST_SIZE); in pcrlock()
387 return tpm_pcr_extend(TPM_ANY_NUM, pcrnum, hash) ? -EINVAL : 0; in pcrlock()
400 ret = tpm_get_random(TPM_ANY_NUM, ononce, TPM_NONCE_SIZE); in osap()
412 ret = trusted_tpm_send(TPM_ANY_NUM, tb->data, MAX_BUF_SIZE); in osap()
436 ret = trusted_tpm_send(TPM_ANY_NUM, tb->data, MAX_BUF_SIZE); in oiap()
495 ret = tpm_get_random(TPM_ANY_NUM, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
544 ret = trusted_tpm_send(TPM_ANY_NUM, tb->data, MAX_BUF_SIZE); in tpm_seal()
605 ret = tpm_get_random(TPM_ANY_NUM, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
637 ret = trusted_tpm_send(TPM_ANY_NUM, tb->data, MAX_BUF_SIZE); in tpm_unseal()
867 tpm2 = tpm_is_tpm2(TPM_ANY_NUM); in trusted_options_alloc()
917 tpm2 = tpm_is_tpm2(TPM_ANY_NUM); in trusted_instantiate()
958 ret = tpm_unseal_trusted(TPM_ANY_NUM, payload, options); in trusted_instantiate()
968 ret = tpm_get_random(TPM_ANY_NUM, payload->key, key_len); in trusted_instantiate()
974 ret = tpm_seal_trusted(TPM_ANY_NUM, payload, options); in trusted_instantiate()