Adapt for BSD cryptodev.h differences