MySQL Forums
Forum List  »  Stored Procedures

Re: MySQL reference SQL implementing Key Wrap (RFC3394)
Posted by: James Hanley
Date: November 26, 2013 08:38PM

As a followup, some C reference implementation code under the BSD license can be found here http://src.gnu-darwin.org/src/contrib/hostapd/aes_wrap.c.html - I beleive it may be possible by using the AES_ENCRYPT() in the wrapping procedure, and AES_DECRYPT() in the unwrapping procedure, but I'm unfamilier with how to handle loops in SQL for iterating throught the 8 byte (64bit) blocks of the plaintext key, plus any stateful variables used within the loops.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL reference SQL implementing Key Wrap (RFC3394)
1065
November 26, 2013 08:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.