History log of /vpp/src/plugins/crypto_native/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
73a60b2d 11-May-2020 Damjan Marion <damarion@cisco.com>

crypto-native: properly deal with broken or outdated toolchains

Avoids crash due to missing symbol, when build system detects toolchain
which is not able to produce binaries for all targets we need....

Type: fix

Change-Id: I77ee63cb8dca3c9e4e83a6235c60f1439a472444
Signed-off-by: Damjan Marion <damarion@cisco.com>

f539578b 29-Apr-2020 Fan Zhang <roy.fan.zhang@intel.com>

crypto: introduce async crypto infra

Type: feature

Signed-off-by: Damjan Marion <damarion@cisco.com>
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Signed-off-by: Dariusz Kazimierski <dariuszx.kazimierski@intel.com>
Signed-off-by: Piotr Kleski <piotrx.kleski@intel.com>
Change-Id: I4c3fcccf55c36842b7b48aed260fef2802b5c54b

4ba16a44 28-Apr-2020 Damjan Marion <damarion@cisco.com>

misc: switch to clang-9

Type: improvement
Change-Id: Iebf77a63c0c19b130a3fbd26b5293304a9fed4c1
Signed-off-by: Damjan Marion <damarion@cisco.com>

fb8ed8b9 05-Mar-2020 Filip Tehlar <ftehlar@cisco.com>

crypto: align per thread data to cache line

Type: improvement

Change-Id: I6bad46403c07b211dfda7229aed1b5e19342865f
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>

47d8f5dc 25-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: GCM implementation with vector AESNI instructions

Introduced on intel IceLake uarch.

Type: feature
Change-Id: I1514c76c34e53ce0577666caf32a50f95eb6548f
Signed-off-by: Damjan Marion <damarion@cisco.com>

2bcf86f4 24-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: introduce aes_gcm_flags_t

Type: refactor
Change-Id: I53b4a9c0b63e6e6c6a13c33c5baa4c3de562584b
Signed-off-by: Damjan Marion <damarion@cisco.com>

52eea642 24-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: introduce counter struct

Type: refactor
Change-Id: I9ecc18ba3ec5f11622ea225690fb1dc262ea6fc1
Signed-off-by: Damjan Marion <damarion@cisco.com>

a2e56ee4 24-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: inverse Hi so it naturally fits into 512-bit register

Type: refactor
Change-Id: I0c6ca9356af179abd0a414b356dea7e3a3eb0dd6
Signed-off-by: Damjan Marion <damarion@cisco.com>

bc50a665 24-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: replace aesni with aes

This code also works on ARM so let's not use intel term....

Type: refactor

Change-Id: Ie51d4359a83f2bf7a61c4861d486b7d009fc8057
Signed-off-by: Damjan Marion <damarion@cisco.com>

2e9a06fa 24-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: do not overwrite data after partial tag

Type: fix

Change-Id: I01de5f8813faff5406ccf67c21c42393c8648af6
Signed-off-by: Damjan Marion <damarion@cisco.com>

627fb6a1 16-Feb-2020 Damjan Marion <damjan.marion@gmail.com>

crypto-native: calculate ghash using vpclmulqdq instructions

vpclmulqdq is introduced on intel icelake architecture and
allows computing 4 carry-less multiplications in paralled by using
512-bit SIMD registers

Type: feature
Change-Id: Idb09d6f51ba6f116bba11649b2d99f649356d449
Signed-off-by: Damjan Marion <damjan.marion@gmail.com>

e84e9d70 13-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: refactor CBC code

Type: refactor
Change-Id: I61e25942de318d03fb3d75689259709d687479bc
Signed-off-by: Damjan Marion <damarion@cisco.com>

f75defa7 13-Feb-2020 Damjan Marion <damjan.marion@gmail.com>

vppinfra: add 128-bit and 512-bit a ^ b ^ c shortcut

This allows us to combine 2 XOR operations into signle instruction
which makes difference in crypto op:

- in x86, by using ternary logic instruction
- on ARM, by using EOR3 instruction (available with sha3 feature)

Type: refactor
Change-Id: Ibdf9001840399d2f838d491ca81b57cbd8430433
Signed-off-by: Damjan Marion <damjan.marion@gmail.com>

622b5ce6 12-Feb-2020 Damjan Marion <dmarion@me.com>

crypto-native: add AArch64 AES-GCM native implementation

Type: feature

Change-Id: I4f96b0af13b875d491704b010328a1814e1dbda1
Signed-off-by: Damjan Marion <dmarion@me.com>

11da5750 12-Feb-2020 Damjan Marion <dmarion@me.com>

crypto-native: add AArch64 ghash support

Type: improvement

Change-Id: I1f204685ea9374389fc24fc53184ce06806beed3
Signed-off-by: Damjan Marion <dmarion@me.com>

8727acdd 12-Feb-2020 Damjan Marion <dmarion@me.com>

crypto-native: fix ghash function naming

Type: refactor

Change-Id: I1d594af6d7c0d065d5c2decc5b22d549189b1882
Signed-off-by: Damjan Marion <dmarion@me.com>

f0beeb0d 12-Feb-2020 Damjan Marion <dmarion@me.com>

crypto-native: use and instead of blend

Faster and more portable...

Type: improvement

Change-Id: I915f8d3c45d1ba76ddfdbfac98482b04c98d148b
Signed-off-by: Damjan Marion <dmarion@me.com>

4fe44afb 12-Feb-2020 Damjan Marion <dmarion@me.com>

crypto-native: add missing static_always_inline

Type: improvement

Change-Id: Ibfa756f5f489882bc2ac658ae4d238e98da73875
Signed-off-by: Damjan Marion <dmarion@me.com>

415b4b0b 11-Feb-2020 Damjan Marion <damarion@cisco.com>

crypto-native: refactor GCM code to use generic types

Type: refactor

Change-Id: I76733a9ed362ec60badd22c0fbc2a9c5749da88d
Signed-off-by: Damjan Marion <damarion@cisco.com>

bdfa4d37 11-Feb-2020 Damjan Marion <dmarion@me.com>

crypto-native: fix ARM compilatiion flags

Type: fix

Change-Id: I3b39c17d9cfadc1d383d9c4dba9029ea279d09d7
Signed-off-by: Damjan Marion <dmarion@me.com>

776644ef 31-Jan-2020 Damjan Marion <dmarion@me.com>

crypto-native: add ARMv8 AES-CBC implementation

Type: feature

Change-Id: I32256061b9509880eec843db2f918879cdafbe47
Signed-off-by: Damjan Marion <dmarion@me.com>

93975e69 30-Jan-2020 Damjan Marion <damarion@cisco.com>

crypto-native: refactor AES code

- use neutral types in preparation for ARMv8 support
- simplify x86 key extraction support

Type: refactor

Change-Id: I947eb37b8c9d9ee6909bb32ef14c4de192d40a46
Signed-off-by: Damjan Marion <damarion@cisco.com>

78b58f65 29-Jan-2020 Damjan Marion <damarion@cisco.com>

crypto-native: don't expand aes-cbc keys twice

Type: refactor

Change-Id: If0d9ec70f9e8c228c39505864a4a73bf94b67479
Signed-off-by: Damjan Marion <damarion@cisco.com>

7d08e39a 28-Jan-2020 Damjan Marion <damarion@cisco.com>

crypto-native: rename crypto_ia32 to crypto_native

Type: refactor

Change-Id: I9f21b3bf669ff913ff50afe5459cf52ff987e701
Signed-off-by: Damjan Marion <damarion@cisco.com>