summaryrefslogtreecommitdiff
path: root/arch/s390/crypto/prng.c
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.vnet.ibm.com>2016-12-15 14:58:08 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-01-31 10:46:06 +0100
commita4f2779ecf2f42b0997fedef6fd20a931c40a3e3 (patch)
treee75be23a99ca289c78e511b316d731411183c3f4 /arch/s390/crypto/prng.c
parentf3d3584faf29e8901e00794f4e5f770b9f1eb7a6 (diff)
s390/crypto: Extend key length check for AES-XTS in fips mode.
In fips mode only xts keys with 128 bit or 125 bit are allowed. This fix extends the xts_aes_set_key function to check for these valid key lengths in fips mode. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/crypto/prng.c')
0 files changed, 0 insertions, 0 deletions