Paul Gofman : rsaenh: Factor out block_encrypt() function.