Adding pclmulqdq assembly instruction to dlang asm.
Etienne Cimon via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jun 13 21:45:34 PDT 2015
On Saturday, 13 June 2015 at 19:48:07 UTC, \u2603 wrote:
> pclmulqdq is an assembly instruction on Intel CPUs that has been
> introduced together with the AES instructions. pclmulqdq
> provides
> multiplication on binary fields and is very usefull for
> implementing fast and timing attack resistant cryptographic
> algorithms (e.g. GCM). The D asm supports all AES instructions
> but not pclmulqdq. How can I add support for this instruction?
> Could I write a patch myself? Compiler development is unknown
> land to me and I'd be very glad to get some help!
You mean like this?
https://github.com/etcimon/botan/blob/master/source/botan/modes/aead/gcm.d#L437
More information about the Digitalmars-d
mailing list