I've used your AES-CTR implementation in a couple of projects. Over time, I've made a few changes. It's compatible with boost/C++11 , and templated over all integral types and by UNROLL_COUNT.
On my machines, an UNROLL_COUNT of 8 (rather than 4) was measurably but not enormously faster. (~10% speed increase.)
I don't want to assume you want it included, but I'm mentioning it just in case. Here's a link to the current version I use.
I've used your AES-CTR implementation in a couple of projects. Over time, I've made a few changes. It's compatible with boost/C++11, and templated over all integral types and by UNROLL_COUNT.
On my machines, an UNROLL_COUNT of 8 (rather than 4) was measurably but not enormously faster. (~10% speed increase.)
I don't want to assume you want it included, but I'm mentioning it just in case. Here's a link to the current version I use.