Cryptography device CIOCCRYPT command flags

Flags that affect how the cryptography operation is handled.

Description:

Only digest or MAC operations support the COP_FLAG_UPDATE and COP_FLAG_FINAL flags. See cryptodev_crypt_op_t.

Definitions:

#define COP_FLAG_NONE (0 << 0)

No flag.

#define COP_FLAG_UPDATE (1 << 0)

Update to hash in a series of updates.

#define COP_FLAG_FINAL (1 << 1)

Final update to hash in a series of updates.