RE: 0.9.8: cfb_enc.c bug? and AES speed on Win64/x64
>Instead of doing what was intended, moving the string up one place, the
code has different behaviour.
Yes, it will fill the buffer with "H" which is what I would expect to happen
- not immediately obvious, but sensible. (any 370 assembler guys will
recognise MVC as doing this).
If you want to copy from one mem location to another even if they overlap
*and* preserve the contents, then you should use memmove and pay the
overhead of the temporary buffer it probably allocates.
OpenSSL Project [url]http://www.openssl.org[/url]
Development Mailing List [email]email@example.com[/email]
Automated List Manager [email]firstname.lastname@example.org[/email]