diff options
author | Antoine Tenart <[email protected]> | 2018-05-14 15:10:57 +0200 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-05-27 00:11:36 +0800 |
commit | 3a5ca230bbb64b5a6330559671bd67cfd8b4a170 (patch) | |
tree | be3677ac83de1f624f2984541c6f878220132f1a /net/switchdev/switchdev.c | |
parent | 8ac1283e4aaa14ea7eeadb9afb7dcaa40145282f (diff) |
crypto: inside-secure - rework the alg type settings in the context
This patches reworks the way the algorithm type is set in the context,
by using the fact that the decryption algorithms are just a combination
of the algorithm encryption type and CONTEXT_CONTROL_TYPE_NULL_IN.
This will help having simpler code when adding the AEAD support, to
avoid ending up with an endless switch case block.
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions