diff options
author | Damjan Marion <dmarion@me.com> | 2020-01-31 10:24:07 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2020-01-31 18:06:09 +0100 |
commit | 776644efe78f427a75fc5e122014b44b39d470c3 (patch) | |
tree | f8487ba02ad941bc2c09206b3d0477db3cc595ba /src/vppinfra/vector_neon.h | |
parent | 62b1cea6eda4060968f44b2639fdd756617211f4 (diff) |
crypto-native: add ARMv8 AES-CBC implementation
Type: feature
Change-Id: I32256061b9509880eec843db2f918879cdafbe47
Signed-off-by: Damjan Marion <dmarion@me.com>
Diffstat (limited to 'src/vppinfra/vector_neon.h')
-rw-r--r-- | src/vppinfra/vector_neon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vppinfra/vector_neon.h b/src/vppinfra/vector_neon.h index e0d0f065c0e..5a7bbe36a4d 100644 --- a/src/vppinfra/vector_neon.h +++ b/src/vppinfra/vector_neon.h @@ -176,6 +176,12 @@ u32x4_scatter (u32x4 r, void *p0, void *p1, void *p2, void *p3) *(u32 *) p3 = vgetq_lane_u32 (r, 3); } +static_always_inline u32 +u32x4_min_scalar (u32x4 v) +{ + return vminvq_u32 (v); +} + #define CLIB_HAVE_VEC128_MSB_MASK #define CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE |