add support for newer cryptodev modules that have a breaking change for SHA-256. Close sessions used during testing of ciphers.