git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cryptodev: move IV parameters to session
[dpdk.git]
/
drivers
/
crypto
/
aesni_gcm
/
aesni_gcm_pmd_private.h
diff --git
a/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h
b/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h
index
0496b44
..
2ed96f8
100644
(file)
--- a/
drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h
+++ b/
drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h
@@
-90,6
+90,11
@@
enum aesni_gcm_key {
/** AESNI GCM private session structure */
struct aesni_gcm_session {
/** AESNI GCM private session structure */
struct aesni_gcm_session {
+ struct {
+ uint16_t length;
+ uint16_t offset;
+ } iv;
+ /**< IV parameters */
enum aesni_gcm_operation op;
/**< GCM operation type */
enum aesni_gcm_key key;
enum aesni_gcm_operation op;
/**< GCM operation type */
enum aesni_gcm_key key;