Skip to content
Snippets Groups Projects
Commit d7198ce4 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: des_generic - Forbid 2-key in 3DES and add helpers


This patch adds a requirement to the generic 3DES implementation
such that 2-key 3DES (K1 == K3) is no longer allowed in FIPS mode.

We will also provide helpers that may be used by drivers that
implement 3DES to make the same check.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 694e0db6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment