aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHoria Geant? <[email protected]>2016-04-19 17:33:48 +0000
committerHerbert Xu <[email protected]>2016-04-20 09:42:49 +0000
commit340ff60ae93a5db2b2be6f38868df9a1293b6007 (patch)
tree3a0df2c2d8098d23ff6ca95c7f9061326a484707 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentcrypto: talitos - fix crash in talitos_cra_init() (diff)
downloadkernel-340ff60ae93a5db2b2be6f38868df9a1293b6007.tar.gz
kernel-340ff60ae93a5db2b2be6f38868df9a1293b6007.zip
crypto: talitos - fix AEAD tcrypt tests
After conversion to new AEAD interface, tcrypt tests fail as follows: [...] [ 1.145414] alg: aead: Test 1 failed on encryption for authenc-hmac-sha1-cbc-aes-talitos [ 1.153564] 00000000: 53 69 6e 67 6c 65 20 62 6c 6f 63 6b 20 6d 73 67 [ 1.160041] 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 1.166509] 00000020: 00 00 00 00 [...] Fix them by providing the correct cipher in & cipher out pointers, i.e. must skip over associated data in src and dst S/G. While here, fix a problem with the HW S/G table index usage: tbl_off must be updated after the pointer to the table entries is set. Cc: <[email protected]> # 4.3+ Fixes: aeb4c132f33d ("crypto: talitos - Convert to new AEAD interface") Reported-by: Jonas Eymann <[email protected]> Signed-off-by: Horia Geant? <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions