Re: 0.9.8: cfb_enc.c bug? and AES speed on Win64/x64
David C. Partridge writes:
> 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.[/color]
Just a note: memmove doesn't need any temporary storage. It just has to
decide if it's going to copy the bytes front-to-back or back-to-front
depending on the relative position of the to pointers.
Please consider sponsoring my work on free software.
See [url]http://www.free.lp.se/sponsoring.html[/url] for details.
Richard Levitte [email]firstname.lastname@example.org[/email]
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
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]