Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:17 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jun 15, 2015 2:57 am 
Offline

Joined: Fri Jun 12, 2015 11:19 pm
Posts: 4
I'm trying to find out if I can have a YubiHSM act as an oracle - that is, I set some secret key on the YubiHSM, then I pass the HSM a value for encryption (or decryption) and I get back the encrypted (or decrypted) result. For example, after initializing the YubiHSM with a secret key, I might do something like this:

Code:
encrypted_value = yubihsm_encrypt(plaintext_to_protect)
decrypted_plaintext = yubihsm_decrypt(encrypted_data)


Is this something I can do, preferably in C/C++, or is the best I can do have the YubiHSM act as storage for the secret keys?


Top
 Profile  
Reply with quote  

Share On:

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

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 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