OSDN Git Service

crypto: 3des - move verification out of exported routine
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 15 Aug 2019 09:01:07 +0000 (12:01 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:33 +0000 (14:57 +1000)
commit4fd4be0576166f0b360d22744e143cd7847b0c29
tree09a52063bfead898afa072bed24ee9af43bfdd49
parentdcb15794ec571c10243c24eaff8512b789dfef2a
crypto: 3des - move verification out of exported routine

In preparation of moving the shared key expansion routine into the
DES library, move the verification done by __des3_ede_setkey() into
its callers.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/des3_ede_glue.c
crypto/des_generic.c