Fixed computing of intermediate buffer size for maximum-size RSA keys.