Hi,
The DM layer uses the kernel crypto layer, which does include implementations using hardware specific features. In the case of AES, the instructions are called
AES-NI, and the kernel crypto layer supports them through the aesni_intel module (works on AMD too).
You can see them at work using the cryptsetup benchmark command, with the aesni_intel disabled.