On Tue, Nov 06, 2012, Andy Polyakov wrote:
> >Can the same pointer safely be used for the input and output buffers in
> >encrypt and decrypt operations ?
> >i.e. is something like AES_encrypt(out,out,key) guaranteed not to rewrite
> >the input before it's been processed ?
> >
> >The following IMPL
Can the same pointer safely be used for the input and output buffers in
encrypt and decrypt operations ?
i.e. is something like AES_encrypt(out,out,key) guaranteed not to rewrite
the input before it's been processed ?
The following IMPLIES this is safe but lingering doubts remain.
...
Note: I'm
Can the same pointer safely be used for the input and output buffers in
encrypt and decrypt operations ?
i.e. is something like AES_encrypt(out,out,key) guaranteed not to rewrite
the input before it's been processed ?
The following IMPLIES this is safe but lingering doubts remain.
(from crypto/ae