x86: Add assembly implementations of block & random