cryptodev: move inline APIs into separate structure