Searched refs:TPM_ANY_NUM (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/security/keys/ |
D | trusted.c | 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() 948 ret = tpm_get_random(TPM_ANY_NUM, payload->key, key_len); in trusted_instantiate()
|
/linux-4.1.27/drivers/char/hw_random/ |
D | tpm-rng.c | 28 return tpm_get_random(TPM_ANY_NUM, data, max); in tpm_rng_read()
|
/linux-4.1.27/include/linux/ |
D | tpm.h | 30 #define TPM_ANY_NUM 0xFFFF macro
|
/linux-4.1.27/security/integrity/ima/ |
D | ima_init.c | 117 rc = tpm_pcr_read(TPM_ANY_NUM, 0, pcr_i); in ima_init()
|
D | ima_queue.c | 99 result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash); in ima_pcr_extend()
|
D | ima_crypto.c | 527 if (tpm_pcr_read(TPM_ANY_NUM, idx, pcr) != 0) in ima_pcrread()
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm-chip.c | 49 if (chip_num != TPM_ANY_NUM && chip_num != pos->dev_num) in tpm_chip_find_get()
|