Re: questions to the security of softraid_crypto

2015-03-02 Thread Joel Sing
On Monday 02 March 2015, Peter J. Philipp wrote: > On 03/01/15 23:17, Ted Unangst wrote: > > Peter J. Philipp wrote: > >> Hi, > >> > >> I am not the best C reader and programmer out there so I try to make > >> myself tools that may seem useless in order to better understand. I see > >> this in /sy

Re: questions to the security of softraid_crypto

2015-03-01 Thread Peter J. Philipp
On 03/01/15 23:17, Ted Unangst wrote: > Peter J. Philipp wrote: >> Hi, >> >> I am not the best C reader and programmer out there so I try to make >> myself tools that may seem useless in order to better understand. I see >> this in /sys/dev/softraid_crypto.c >> >> >> int >> sr_crypto_encrypt(

Re: questions to the security of softraid_crypto

2015-03-01 Thread Ted Unangst
Peter J. Philipp wrote: > Hi, > > I am not the best C reader and programmer out there so I try to make > myself tools that may seem useless in order to better understand. I see > this in /sys/dev/softraid_crypto.c > > > int > sr_crypto_encrypt(u_char *p, u_char *c, u_char *key, size_t size,

questions to the security of softraid_crypto

2015-03-01 Thread Peter J. Philipp
Hi, I am not the best C reader and programmer out there so I try to make myself tools that may seem useless in order to better understand. I see this in /sys/dev/softraid_crypto.c int sr_crypto_encrypt(u_char *p, u_char *c, u_char *key, size_t size, int alg) { rijndael_ctx