commit | a4f2779ecf2f42b0997fedef6fd20a931c40a3e3 | [log] [tgz] |
---|---|---|
author | Harald Freudenberger <freude@linux.vnet.ibm.com> | Thu Dec 15 14:58:08 2016 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Jan 31 10:46:06 2017 +0100 |
tree | e75be23a99ca289c78e511b316d731411183c3f4 | |
parent | f3d3584faf29e8901e00794f4e5f770b9f1eb7a6 [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>