Disable SHA1 and SHA256 on OCF which requires that the input buffer have room for the digest result at the end of it, and that its 4-byte aligned. This is quite different from CryptoDev.

Also better method for closing session used within IsAvailable.