[crypto] Change cipher_{en,de}crypt() to void functions