[dpdk-users] AES GCM PMD Driver IV length support

Nubin Stanley nubinstanley at gmail.com
Thu Dec 8 10:20:31 CET 2016


Hi All



I see that the only IV size supported in AES GCM driver is 16bytes. For
using AES-GCM-128  in IPsec, the IV length  has to be   12 bytes ( 4 (salt)
+ 8 (iv)).


How should I handle this IPsec case with AES GCM PMD driver.



.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,

        {.sym = {

            .xform_type = RTE_CRYPTO_SYM_XFORM_CIPHER,

            {.cipher = {

                .algo = RTE_CRYPTO_CIPHER_AES_GCM,

                .block_size = 16,

                .key_size = {

                    .min = 16,

                    .max = 16,

                    .increment = 0

                },

                .iv_size = {

                    .min = 16,

                    .max = 16,

                    .increment = 0

                }

            }, }

        }, }



Regards,
Nubin Stanley


More information about the users mailing list