Anyone using hardware random number generator under Linux?
-
Ground Loop
- Sophomore Member
- Posts: 174
- Joined: Sun Jul 10, 2005 2:19 am
Anyone using hardware random number generator under Linux?
Linux has a driver (CONFIG_HW_RANDOM) for a hardware random number generator (entropy source). On systems where I have this working, it's nice to have an unlimited stream of true random values to use for key generation and other things.
When I enable the hardware rng on the ThinkPad T43, the device (/dev/hw_random) provides no data -- it just hangs on read.
The rng-tools do not contribute to the entropy pool either, so reads from /dev/random block for long periods of time.
Anyone else?
When I enable the hardware rng on the ThinkPad T43, the device (/dev/hw_random) provides no data -- it just hangs on read.
The rng-tools do not contribute to the entropy pool either, so reads from /dev/random block for long periods of time.
Anyone else?
-
yossarian
- Freshman Member
- Posts: 119
- Joined: Mon Sep 12, 2005 11:48 pm
- Location: Auckland, New Zealand
Do you know who makes the hardware PRNG for the thinkpad t43? perhaps it's just not supported by that particular driver...
or maybe that tcpa software library ibm made will has a few apis that can be used to utilise the hardware
Or does the thinkpad t43 have a hardware prng at all? I don't see it listed anywhere in either windows device manager or linux under lspci/lsusb, unless I've overlooked it.
[update]
http://home.comcast.net/~andrex/hardware-RNG/ suggests that intel no longer do the whole RNG thing in their chipsets. All the intel docs are like 5 years old and reference the 80802 chipset. My thinkpad t43 uses 80801.
I've been taking a look at the ibm released stuff about the tcpa chip, and so far I haven't found a way to access the hardware prng yet, but I am sure there is definitely logic on the tcpa chip that does it, since the tcpa chip uses it to generate its rsa keypairs.
or maybe that tcpa software library ibm made will has a few apis that can be used to utilise the hardware
Or does the thinkpad t43 have a hardware prng at all? I don't see it listed anywhere in either windows device manager or linux under lspci/lsusb, unless I've overlooked it.
[update]
http://home.comcast.net/~andrex/hardware-RNG/ suggests that intel no longer do the whole RNG thing in their chipsets. All the intel docs are like 5 years old and reference the 80802 chipset. My thinkpad t43 uses 80801.
I've been taking a look at the ibm released stuff about the tcpa chip, and so far I haven't found a way to access the hardware prng yet, but I am sure there is definitely logic on the tcpa chip that does it, since the tcpa chip uses it to generate its rsa keypairs.
-
yossarian
- Freshman Member
- Posts: 119
- Joined: Mon Sep 12, 2005 11:48 pm
- Location: Auckland, New Zealand
Good news. TPM_GetRandom is a TPM command in the 1.2 specification. so the rng hardware is controllable by software.
What I'm unsure of is whether any linux drivers actually give access to it, and even if they do, whether they use it to add to /dev/random.
trousers or ibm's tpm driver may or may not enable use of it. I don't know at this stage and won't be experimenting myself for quite a while too.
What I'm unsure of is whether any linux drivers actually give access to it, and even if they do, whether they use it to add to /dev/random.
trousers or ibm's tpm driver may or may not enable use of it. I don't know at this stage and won't be experimenting myself for quite a while too.
-
yossarian
- Freshman Member
- Posts: 119
- Joined: Mon Sep 12, 2005 11:48 pm
- Location: Auckland, New Zealand
The TPM random number generator can be accessed using trousers, IBM's linux tpm stack.
So long story short, there are no kernel drivers that feed TPM's rng data into /dev/random.. for now.
This just means that if you're really keen on using the rng from the tpm, then install trousers and get whatever program in question to call Tspi_TPM_GetRandom for its random data
So long story short, there are no kernel drivers that feed TPM's rng data into /dev/random.. for now.
This just means that if you're really keen on using the rng from the tpm, then install trousers and get whatever program in question to call Tspi_TPM_GetRandom for its random data
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Any way to get the model number of a W530 from a provided UPC code/ number?
by crashnburn » Tue May 16, 2017 11:30 am » in GENERAL ThinkPad News/Comments & Questions - 2 Replies
- 134 Views
-
Last post by crashnburn
Tue May 16, 2017 3:16 pm
-
-
-
FS: Random Thinkpad parts
by Whitieiii » Wed Mar 01, 2017 2:06 am » in Marketplace - Forum Members only - 1 Replies
- 354 Views
-
Last post by RealBlackStuff
Wed Mar 01, 2017 7:43 am
-
-
- 0 Replies
- 2390 Views
-
Last post by caven.ohm
Tue Mar 14, 2017 6:55 am
-
-
T400 screen cable part number?
by tk2000 » Mon Feb 20, 2017 8:01 am » in ThinkPad T400/410/420 and T500/510/520 Series - 5 Replies
- 867 Views
-
Last post by RealBlackStuff
Tue Feb 21, 2017 2:16 pm
-
Who is online
Users browsing this forum: No registered users and 2 guests



