Early std.crypto

bcs bcs at example.com
Fri Oct 28 21:41:46 PDT 2011


On 10/24/2011 05:10 PM, Piotr Szturmaj wrote:
> https://github.com/pszturmaj/phobos/tree/master/std/crypto
>
> This is some early work on std.crypto proposal. Currently only MD5, HMAC
> and all SHA family functions (excluding SHA0 which is very old, broken
> and no longer in use). I plan to add other crypto primitives later.
>
> I know about one SHA1 pull request optimized for SSSE3. I think native
> code must be there to support other non x86 CPUs and SIMD optimization
> may be added at any time later.
>
> Any opinions are welcome. Especially if such design is good or bad, and
> what needs to be changed.
>
> Thanks :)

Are you re-implementing the function kernels your self or are you using 
an existing implementation? Given what I've heard about things like 
side-channel attacks using processing times to recover keys, I'd rather 
not see Phobos use anything written by less than the best expert available.


More information about the Digitalmars-d mailing list