[PATCH v2 3/7] rsaenh: Factor out block_encrypt() function.