Support overlapping input and output regions in crypto_secretbox_detached()
Add a test for secretbox with c == m