i think i am getting it... will try and get back to the forum.. thanks a lot oogabooga and also to other users who have replied...
Type: Posts; User: pkumarn
i think i am getting it... will try and get back to the forum.. thanks a lot oogabooga and also to other users who have replied...
May be i am confusing things... just to make it in simple words. How do i pass my DEK[64] to AES_wrap_key() as first parameter...
As per my openssl code base, AES_MAXNR is #define AES_MAXNR 14. So based on this math, i get 408 bits.
From your code i see you are just copying to array but i am looking at how to assign Int i =...
When i do math on the AES structure, i see it can support upto 480bits (correct me if i am wrong)
unsigned long rd_key[4 *(AES_MAXNR + 1)];
Considering AES supports only 256 bits, how do i...
sorry for confusing between bits and bytes... i got that :) ...
AES_wrap_key() is the correct function ... if i want this into an array, then how do i assign this to AES_KEY *key.
struct...
Thanks ledow for the answer. Here is my DEK key which is 64 bytes(512 bit) which i want to pass to AES_Key_wrap() function.
DEK = 016211c7f60824a8ec5df54737a08ad0a11b2e451160601a94ccd53555a335
...
I am using openssl API for encryption in my project. Currently i have a char key[64] =' some hex value' which i need to convert to long long int so that i can pass it to AES_key_wrap() function in...