All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] app/test: fix linkage scope of gmac plaintext array
@ 2016-09-22 14:52 Arek Kusztal
  2016-09-22 20:00 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 2+ messages in thread
From: Arek Kusztal @ 2016-09-22 14:52 UTC (permalink / raw)
  To: dev
  Cc: fiona.trahe, deepak.k.jain, pablo.de.lara.guarch, john.griffin,
	Arek Kusztal

Array gmac_plaintext in test_cryptodev_gcm_test_vectors.h needs to be
changed to static

Fixes: 7495f7594fed ("app/test: add GMAC authentication tests to cryptodev tests")

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
 app/test/test_cryptodev_gcm_test_vectors.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/test/test_cryptodev_gcm_test_vectors.h b/app/test/test_cryptodev_gcm_test_vectors.h
index 4f6cb8f..f3f8bd3 100644
--- a/app/test/test_cryptodev_gcm_test_vectors.h
+++ b/app/test/test_cryptodev_gcm_test_vectors.h
@@ -449,8 +449,7 @@ static const struct gcm_test_data gcm_test_case_7 = {
 };
 
 /** GMAC Test Vectors */
-
-uint8_t gmac_plaintext[] = {
+static uint8_t gmac_plaintext[] = {
 			0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
 			0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10,
 			0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] app/test: fix linkage scope of gmac plaintext array
  2016-09-22 14:52 [PATCH] app/test: fix linkage scope of gmac plaintext array Arek Kusztal
@ 2016-09-22 20:00 ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 2+ messages in thread
From: De Lara Guarch, Pablo @ 2016-09-22 20:00 UTC (permalink / raw)
  To: Kusztal, ArkadiuszX, dev; +Cc: Trahe, Fiona, Jain, Deepak K, Griffin, John



> -----Original Message-----
> From: Kusztal, ArkadiuszX
> Sent: Thursday, September 22, 2016 7:53 AM
> To: dev@dpdk.org
> Cc: Trahe, Fiona; Jain, Deepak K; De Lara Guarch, Pablo; Griffin, John; Kusztal,
> ArkadiuszX
> Subject: [PATCH] app/test: fix linkage scope of gmac plaintext array
> 
> Array gmac_plaintext in test_cryptodev_gcm_test_vectors.h needs to be
> changed to static
> 
> Fixes: 7495f7594fed ("app/test: add GMAC authentication tests to cryptodev
> tests")
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> ---
>  app/test/test_cryptodev_gcm_test_vectors.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/app/test/test_cryptodev_gcm_test_vectors.h
> b/app/test/test_cryptodev_gcm_test_vectors.h
> index 4f6cb8f..f3f8bd3 100644
> --- a/app/test/test_cryptodev_gcm_test_vectors.h
> +++ b/app/test/test_cryptodev_gcm_test_vectors.h
> @@ -449,8 +449,7 @@ static const struct gcm_test_data gcm_test_case_7 = {
>  };
> 
>  /** GMAC Test Vectors */
> -
> -uint8_t gmac_plaintext[] = {
> +static uint8_t gmac_plaintext[] = {
>  			0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
>  			0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10,
>  			0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
> --
> 2.1.0

Squashed to 7495f7594fed ("app/test: add GMAC authentication tests to cryptodev tests"),
in dpdk-next-crypto.

Thanks,
Pablo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-22 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 14:52 [PATCH] app/test: fix linkage scope of gmac plaintext array Arek Kusztal
2016-09-22 20:00 ` De Lara Guarch, Pablo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.