Home
last modified time | relevance | path

Searched refs:tpm_get_random (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/include/linux/
Dtpm.h55 extern int tpm_get_random(u32 chip_num, u8 *data, size_t max);
76 static inline int tpm_get_random(u32 chip_num, u8 *data, size_t max) { in tpm_get_random() function
/linux-4.4.14/drivers/char/hw_random/
Dtpm-rng.c28 return tpm_get_random(TPM_ANY_NUM, data, max); in tpm_rng_read()
/linux-4.4.14/security/keys/
Dtrusted.c384 ret = tpm_get_random(TPM_ANY_NUM, hash, SHA1_DIGEST_SIZE); in pcrlock()
400 ret = tpm_get_random(TPM_ANY_NUM, ononce, TPM_NONCE_SIZE); in osap()
495 ret = tpm_get_random(TPM_ANY_NUM, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
605 ret = tpm_get_random(TPM_ANY_NUM, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
968 ret = tpm_get_random(TPM_ANY_NUM, payload->key, key_len); in trusted_instantiate()
/linux-4.4.14/drivers/char/tpm/
Dtpm-interface.c1004 int tpm_get_random(u32 chip_num, u8 *out, size_t max) in tpm_get_random() function
1046 EXPORT_SYMBOL_GPL(tpm_get_random);