Re: [openssl-users] Stand alone AES-CTR module

2015-05-12 Thread Sec_Aficionado
Mike, I agree that only security experts should implement production ciphers. But as Lewis pointed out, the OP's stated intention is to create a demo from scratch. This is what I think is worth doing and only for private distribution. Publishing that demo or distributing it widely would be unwi

Re: [openssl-users] Stand alone AES-CTR module

2015-05-11 Thread Lewis Rosenthal
Hi, all... I think it wise to go back to the OP's stated objective, to create "an independent to libraries source code for demonstration purposes for AES-CTR mode." The operative prepositional phrase here being "for demonstration purposes." Thus, whether it is wise to implement one's own cry

Re: [openssl-users] Stand alone AES-CTR module

2015-05-11 Thread Mike Mohr
If you don't know about list comprehension in Python, you can simply construct a list in a loop to get the job done. The end result is the same no matter which approach you take. The same is not true for cryptography. While Sec_Aficionado is quite eloquent and makes several valid points, I think

Re: [openssl-users] Stand alone AES-CTR module

2015-05-11 Thread Jeffrey Walton
On Sun, May 10, 2015 at 5:58 PM, Mike Mohr wrote: > The task of implementing AES should not be undertaken by a novice > programmer. Please save the world another heartbleed and pick something > more in line with your skill level. Maybe I am not parsing it correctly It sounds like he wants to

Re: [openssl-users] Stand alone AES-CTR module

2015-05-11 Thread Jeffrey Walton
On Sun, May 10, 2015 at 2:47 PM, konstantinos Alexiou wrote: > Dear Sirs, > > > I am new to C programming and i am trying to create an independent to > libraries source code for demonstration purposes for AES-CTR mode.Could i > have some help on doing that using the source code contained under > c

Re: [openssl-users] Stand alone AES-CTR module

2015-05-11 Thread Sec_Aficionado
While implementing one's own security and/or cryptography is certainly not advisable for a novice (or even advanced programmers), creating cipher implementations from scratch is probably one of the best ways to learn and understand the intricacies of the problem at hand. Learning about the pitf

Re: [openssl-users] Stand alone AES-CTR module

2015-05-10 Thread Mike Mohr
The task of implementing AES should not be undertaken by a novice programmer. Please save the world another heartbleed and pick something more in line with your skill level. On May 10, 2015 11:48 AM, "konstantinos Alexiou" wrote: > Dear Sirs, > > > I am new to C programming and i am trying to cr

[openssl-users] Stand alone AES-CTR module

2015-05-10 Thread konstantinos Alexiou
Dear Sirs, I am new to C programming and i am trying to create an independent to libraries source code for demonstration purposes for AES-CTR mode.Could i have some help on doing that using the source code contained under crypto/aes. Thank you very much in advance. _