cryptodev: change device configuration API