pass_gen: bug fixed in odf-aes code