Imported Upstream version 16.07-rc1
[deb_dpdk.git] / app / test / test_cryptodev.h
index 6059a01..3c37c32 100644 (file)
@@ -46,7 +46,7 @@
 #define DEFAULT_BURST_SIZE              (64)
 #define DEFAULT_NUM_XFORMS              (2)
 #define NUM_MBUFS                       (8191)
-#define MBUF_CACHE_SIZE                 (250)
+#define MBUF_CACHE_SIZE                 (256)
 #define MBUF_DATAPAYLOAD_SIZE          (2048 + DIGEST_BYTE_LENGTH_SHA512)
 #define MBUF_SIZE                      (sizeof(struct rte_mbuf) + \
                RTE_PKTMBUF_HEADROOM + MBUF_DATAPAYLOAD_SIZE)
 #define DIGEST_BYTE_LENGTH_SHA512              (BYTE_LENGTH(512))
 #define DIGEST_BYTE_LENGTH_AES_XCBC            (BYTE_LENGTH(96))
 #define DIGEST_BYTE_LENGTH_SNOW3G_UIA2         (BYTE_LENGTH(32))
+#define DIGEST_BYTE_LENGTH_KASUMI_F9           (BYTE_LENGTH(32))
 #define AES_XCBC_MAC_KEY_SZ                    (16)
 
 #define TRUNCATED_DIGEST_BYTE_LENGTH_SHA1              (12)
+#define TRUNCATED_DIGEST_BYTE_LENGTH_SHA224            (16)
 #define TRUNCATED_DIGEST_BYTE_LENGTH_SHA256            (16)
+#define TRUNCATED_DIGEST_BYTE_LENGTH_SHA384            (24)
 #define TRUNCATED_DIGEST_BYTE_LENGTH_SHA512            (32)
 
 #endif /* TEST_CRYPTODEV_H_ */