Sample code for AES Encryption/Decryption using DirectCompute

765 Views Asked by At

would anyone happen to know of an implementation of AES Encryption/Decryption (any type) using DirectCompute (including the HLSL source code)?

I've read a few of the papers discussing AES on the GPU and they tend to make reference to either CUDA or OpenCL. I suppose learning to port those to DirectCompute could be a good exercise, but as it is non trivial, I wouldn't mind seeing how the HLSL is done correctly from the get-go.

Thanks!

1

There are 1 best solutions below

0
CAdrian On

You can find an implementation in Direct3D 10 here It does not use DirectCompute, but if you know Direct3D, it should be straight forward to convert it to DirectCompute.