diff options
author | Damjan Marion <dmarion@me.com> | 2020-02-12 10:59:14 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-02-13 12:47:22 +0000 |
commit | 622b5ce61971066917cfba9ae795d9cb926f2700 (patch) | |
tree | 49ad66aaf27b10d17868bd45b0cc9fe1d4cbf98c /src/plugins/crypto_native/main.c | |
parent | 4e96ddaec8837b8c0bd27a75418e033da68e299b (diff) |
crypto-native: add AArch64 AES-GCM native implementation
Type: feature
Change-Id: I4f96b0af13b875d491704b010328a1814e1dbda1
Signed-off-by: Damjan Marion <dmarion@me.com>
Diffstat (limited to 'src/plugins/crypto_native/main.c')
-rw-r--r-- | src/plugins/crypto_native/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/crypto_native/main.c b/src/plugins/crypto_native/main.c index d338ab6d910..45d3d8dfe4e 100644 --- a/src/plugins/crypto_native/main.c +++ b/src/plugins/crypto_native/main.c @@ -102,9 +102,10 @@ crypto_native_init (vlib_main_t * vm) } #endif #if __aarch64__ - error = crypto_native_aes_cbc_init_neon (vm); + if ((error = crypto_native_aes_cbc_init_neon (vm))) + goto error; - if (error) + if ((error = crypto_native_aes_gcm_init_neon (vm))) goto error; #endif |