cryptodev: replace enums with 1-byte variables