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: change queue pair configure structure
[dpdk.git]
/
drivers
/
crypto
/
openssl
/
rte_openssl_pmd_private.h
diff --git
a/drivers/crypto/openssl/rte_openssl_pmd_private.h
b/drivers/crypto/openssl/rte_openssl_pmd_private.h
index
0ebe596
..
43ac381
100644
(file)
--- a/
drivers/crypto/openssl/rte_openssl_pmd_private.h
+++ b/
drivers/crypto/openssl/rte_openssl_pmd_private.h
@@
-9,6
+9,8
@@
#include <openssl/hmac.h>
#include <openssl/des.h>
#include <openssl/rsa.h>
#include <openssl/hmac.h>
#include <openssl/des.h>
#include <openssl/rsa.h>
+#include <openssl/dh.h>
+#include <openssl/dsa.h>
#define CRYPTODEV_NAME_OPENSSL_PMD crypto_openssl
/**< Open SSL Crypto PMD device name */
#define CRYPTODEV_NAME_OPENSSL_PMD crypto_openssl
/**< Open SSL Crypto PMD device name */
@@
-62,6
+64,8
@@
struct openssl_qp {
/**< Ring for placing process packets */
struct rte_mempool *sess_mp;
/**< Session Mempool */
/**< Ring for placing process packets */
struct rte_mempool *sess_mp;
/**< Session Mempool */
+ struct rte_mempool *sess_mp_priv;
+ /**< Session Private Data Mempool */
struct rte_cryptodev_stats stats;
/**< Queue pair statistics */
uint8_t temp_digest[DIGEST_LENGTH_MAX];
struct rte_cryptodev_stats stats;
/**< Queue pair statistics */
uint8_t temp_digest[DIGEST_LENGTH_MAX];
@@
-159,6
+163,13
@@
struct openssl_asym_session {
BIGNUM *modulus;
BN_CTX *ctx;
} m;
BIGNUM *modulus;
BN_CTX *ctx;
} m;
+ struct dh {
+ DH *dh_key;
+ uint32_t key_op;
+ } dh;
+ struct {
+ DSA *dsa;
+ } s;
} u;
} __rte_cache_aligned;
/** Set and validate OPENSSL crypto session parameters */
} u;
} __rte_cache_aligned;
/** Set and validate OPENSSL crypto session parameters */