Home
last modified time | relevance | path

Searched refs:TPM_ANY_NUM (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/security/keys/
Dtrusted.c384 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()
948 ret = tpm_get_random(TPM_ANY_NUM, payload->key, key_len); in trusted_instantiate()
/linux-4.1.27/drivers/char/hw_random/
Dtpm-rng.c28 return tpm_get_random(TPM_ANY_NUM, data, max); in tpm_rng_read()
/linux-4.1.27/include/linux/
Dtpm.h30 #define TPM_ANY_NUM 0xFFFF macro
/linux-4.1.27/security/integrity/ima/
Dima_init.c117 rc = tpm_pcr_read(TPM_ANY_NUM, 0, pcr_i); in ima_init()
Dima_queue.c99 result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash); in ima_pcr_extend()
Dima_crypto.c527 if (tpm_pcr_read(TPM_ANY_NUM, idx, pcr) != 0) in ima_pcrread()
/linux-4.1.27/drivers/char/tpm/
Dtpm-chip.c49 if (chip_num != TPM_ANY_NUM && chip_num != pos->dev_num) in tpm_chip_find_get()