Repository navigation
Commit 6d6e71f
crypto: artpec6 - set correct iv size for gcm(aes)
The IV size should not include the 32 bit counter. Because we had the
IV size set as 16 the transform only worked when the IV input was zero
padded.
Fixes: a21eb94 ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver")
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent f5c421d commit 6d6e71f
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
1934 | 1935 | | |
1935 | 1936 | | |
1936 | 1937 | | |
1937 | | - | |
| 1938 | + | |
1938 | 1939 | | |
1939 | 1940 | | |
1940 | 1941 | | |
| |||
2956 | 2957 | | |
2957 | 2958 | | |
2958 | 2959 | | |
2959 | | - | |
| 2960 | + | |
2960 | 2961 | | |
2961 | 2962 | | |
2962 | 2963 | | |
| |||
0 commit comments