8 struct session_op sess
;
12 int hash_ctx_init(struct cryptodev_ctx
* ctx
, int hash
, int cfd
);
13 void hash_ctx_deinit(struct cryptodev_ctx
* ctx
);
14 int hash(struct cryptodev_ctx
* ctx
, const void* text
, size_t size
, void* digest
);
15 int hash_test(int algo
, void (*user_hash
)(void* text
, int size
, void* res
));
17 int aead_test(int cipher
, int mac
, void* ukey
, int ukey_size
,
18 void* user_ctx
, void (*user_combo
)(void* user_ctx
, void* plaintext
, void* ciphertext
, int size
, void* res
));