> SSLv2 is more tricky as the header is of variable length.

Oh great, bring back BSD4.2 "packet trailers" :)

>void *aligned_malloc(size_t total_size,size_t unaligned_size);

Continuing the history reference, what about the old vmalloc API?

>although malloc() returns a pointer "suitable aligned", that
>doesn't mean it is fast.

s/fast/optimal/
This was recognized years ago, hence the 4.2BSD vmalloc.

It might be worthwhile doing some poking around in ACM SIGCOMM papers, etc.,
looking to see what the networking folks have done about buffer/buffer
copying, moving, alignment, etc.
        /r$
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to