Use OpenSSL 1.0.0's counter-mode code
OpenSSL 1.0.0 has a counter-mode implementation that seems faster than ours. Let's do benchmarks to make sure, and use it (if possible). If not, let's clone it or at least adopt its good ideas.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information