Clean up RSA naming; use buffers as inputs/outputs.