{"push_id":1082657371,"size":3,"distinct_size":3,"ref":"refs/heads/mirror/master","head":"bcc981e9ed84c678533299d7eff17d2c81e4d5de","before":"02da2d72174c61988eb4456b53f405e3ebdebce4","commits":[{"sha":"89d124cb61b39900959e2839ac06b6339b6a54cb","author":{"email":"23ef09719fa927bf50f71a4f4d3e4869ff031fca@gmx.net","name":"Jonas Eymann"},"message":"crypto: talitos - fix crash in talitos_cra_init()\n\nConversion of talitos driver to the new AEAD interface\nhasn't been properly tested.\n\nAEAD algorithms crash in talitos_cra_init as follows:\n\n[...]\n[    1.141095] talitos ffe30000.crypto: hwrng\n[    1.145381] Unable to handle kernel paging request for data at address 0x00000058\n[    1.152913] Faulting instruction address: 0xc02accc0\n[    1.157910] Oops: Kernel access of bad area, sig: 11 [#1]\n[    1.163315] SMP NR_CPUS=2 P1020 RDB\n[    1.166810] Modules linked in:\n[    1.169875] CPU: 0 PID: 1007 Comm: cryptomgr_test Not tainted 4.4.6 #1\n[    1.176415] task: db5ec200 ti: db4d6000 task.ti: db4d6000\n[    1.181821] NIP: c02accc0 LR: c02acd18 CTR: c02acd04\n[    1.186793] REGS: db4d7d30 TRAP: 0300   Not tainted  (4.4.6)\n[    1.192457] MSR: 00029000 <CE,EE,ME>  CR: 95009359  XER: e0000000\n[    1.198585] DEAR: 00000058 ESR: 00000000\nGPR00: c017bdc0 db4d7de0 db5ec200 df424b48 00000000 00000000 df424bfc db75a600\nGPR08: df424b48 00000000 db75a628 db4d6000 00000149 00000000 c0044cac db5acda0\nGPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000400 df424940\nGPR24: df424900 00003083 00000400 c0180000 db75a640 c03e9f84 df424b40 df424b48\n[    1.230978] NIP [c02accc0] talitos_cra_init+0x28/0x6c\n[    1.236039] LR [c02acd18] talitos_cra_init_aead+0x14/0x28\n[    1.241443] Call Trace:\n[    1.243894] [db4d7de0] [c03e9f84] 0xc03e9f84 (unreliable)\n[    1.249322] [db4d7df0] [c017bdc0] crypto_create_tfm+0x5c/0xf0\n[    1.255083] [db4d7e10] [c017beec] crypto_alloc_tfm+0x98/0xf8\n[    1.260769] [db4d7e40] [c0186a20] alg_test_aead+0x28/0xc8\n[    1.266181] [db4d7e60] [c0186718] alg_test+0x260/0x2e0\n[    1.271333] [db4d7ee0] [c0183860] cryptomgr_test+0x30/0x54\n[    1.276843] [db4d7ef0] [c0044d80] kthread+0xd4/0xd8\n[    1.281741] [db4d7f40] [c000e4a4] ret_from_kernel_thread+0x5c/0x64\n[    1.287930] Instruction dump:\n[    1.290902] 38600000 4e800020 81230028 7c681b78 81490010 38e9ffc0 3929ffe8 554a073e\n[    1.298691] 2b8a000a 7d474f9e 812a0008 91230030 <80e90058> 39270060 7c0004ac 7cc04828\n\nCc: <stable@vger.kernel.org> # 4.3+\nFixes: aeb4c132f33d (\"crypto: talitos - Convert to new AEAD interface\")\nSigned-off-by: Jonas Eymann <J.Eymann@gmx.net>\n\nFix typo - replaced parameter of __crypto_ahash_alg(): s/tfm/alg\nRemove checkpatch warnings.\nAdd commit message.\n\nSigned-off-by: Horia Geant? <horia.geanta@nxp.com>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>","distinct":true,"url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/commits/89d124cb61b39900959e2839ac06b6339b6a54cb"},{"sha":"340ff60ae93a5db2b2be6f38868df9a1293b6007","author":{"email":"6135224f23789828bd8d3b771a2745286516a2b5@nxp.com","name":"Horia Geant?"},"message":"crypto: talitos - fix AEAD tcrypt tests\n\nAfter conversion to new AEAD interface, tcrypt tests fail as follows:\n\n[...]\n[    1.145414] alg: aead: Test 1 failed on encryption for authenc-hmac-sha1-cbc-aes-talitos\n[    1.153564] 00000000: 53 69 6e 67 6c 65 20 62 6c 6f 63 6b 20 6d 73 67\n[    1.160041] 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n[    1.166509] 00000020: 00 00 00 00\n[...]\n\nFix them by providing the correct cipher in & cipher out pointers,\ni.e. must skip over associated data in src and dst S/G.\n\nWhile here, fix a problem with the HW S/G table index usage:\ntbl_off must be updated after the pointer to the table entries is set.\n\nCc: <stable@vger.kernel.org> # 4.3+\nFixes: aeb4c132f33d (\"crypto: talitos - Convert to new AEAD interface\")\nReported-by: Jonas Eymann <J.Eymann@gmx.net>\nSigned-off-by: Horia Geant? <horia.geanta@nxp.com>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>","distinct":true,"url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/commits/340ff60ae93a5db2b2be6f38868df9a1293b6007"},{"sha":"bcc981e9ed84c678533299d7eff17d2c81e4d5de","author":{"email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","name":"Linus Torvalds"},"message":"Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6\n\nPull crypto fixes from Herbert Xu:\n \"This fixes a couple of regressions in the talitos driver that were\n  introduced back in 4.3.\n\n  The first bug causes a crash when the driver's AEAD functionality is\n  used while the second bug prevents its AEAD feature from working once\n  you get past the first bug\"\n\n* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:\n  crypto: talitos - fix AEAD tcrypt tests\n  crypto: talitos - fix crash in talitos_cra_init()","distinct":true,"url":"https://api.github.com/repos/linux-sunxi/linux-sunxi/commits/bcc981e9ed84c678533299d7eff17d2c81e4d5de"}]}