dh_init and crypto_mod_exp: clarification

raghunathan.kailasanathan at wipro.com raghunathan.kailasanathan
Tue Jun 5 09:16:26 PDT 2012


Hi Jouni/list,
Wanted a clarification on the internal crypto implementation of supplicant (crypto_internal)

The function crypto_mod_exp() expects a big endian byte array (lowest byte at the highest index) as input. But I noticed that when crypto_mod_exp() is called from dh_init() the generator, private key and prime byte arrays are all in little endian format ? (I might have missed something obvious, please correct me) 

Is the result pointer that is output from crypto_mod_exp() in little endian or big endian format ?

Regards
Raghu

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com



More information about the Hostap mailing list