comment some prints, use correct boundaries when copying ciphertext buffer