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