[dpdk-dev] [PATCH 1/3] crypto/aesni_gcm: move pre-counter block to GCM driver

2016-09-21 Thread Kusztal, ArkadiuszX
Hi Pablo, GCM works with two IV length modes: First case if - If (len(IV) == 12B) => J0 = iv || 0^31 || 1 => Len = 16B And according to the API comments rte_crypto_sym.h: 435 (iv.data) * - For GCM mode, this is either the IV (if the length * is 96

[dpdk-dev] [PATCH 1/3] crypto/aesni_gcm: move pre-counter block to GCM driver

2016-09-20 Thread De Lara Guarch, Pablo
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Thursday, August 25, 2016 5:03 AM > To: dev at dpdk.org > Cc: Trahe, Fiona; Jain, Deepak K; De Lara Guarch, Pablo; Griffin, John; > Kusztal, ArkadiuszX > Subject: [PATCH 1/3] crypto/aesni_gcm: move pre-counter block to GCM >

[dpdk-dev] [PATCH 1/3] crypto/aesni_gcm: move pre-counter block to GCM driver

2016-08-25 Thread Arek Kusztal
This patch moves computing of pre-counter block into the AESNI-GCM driver so it can be moved from test files. Signed-off-by: Arek Kusztal --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.