Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 9:12 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed May 13, 2015 4:56 am 
Offline

Joined: Tue Nov 25, 2014 10:38 pm
Posts: 12
It's possible to use the YubiKey NEO to generate random bytes of data using the RNG present on the YubiKey NEO:

Code:
echo "scd random 256" | gpg-connect-agent | sha256sum


The above works as a fairly decent hardware RNG, though I'm still waiting to hear back on how the RNG is implemented in the A700x chipset.

My first question is that the SCD RANDOM command's documentation says:

Quote:
S # RANDOM <nbytes>
S #
S # Get NBYTES of random from the card and send them back as data.
S # This usually involves EEPROM write on the card and thus excessive
S # use of this command may destroy the card.
S #
S # Note, that this function may be even be used on a locked card.


Will this function over time wear down the card?

My second question is this: will it always retrieve the amount of bytes that I request? If I request 1024 bytes of random data, will it block like /dev/random, giving me bytes until it has given a full 1024 bytes?


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Wed May 20, 2015 1:33 am 
Offline

Joined: Tue Nov 25, 2014 10:38 pm
Posts: 12
Bump.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 13, 2015 1:15 pm 
Offline

Joined: Sat Jun 13, 2015 1:11 pm
Posts: 1
Hi,

http://www.nxp.com/documents/short_data ... AM_SDS.pdf

Page 6 of the above data sheet says that the AX700x family's EEPROMs are guaranteed to withstand a minimum of "500,000 cycles", and generally has some useful information.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group