{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1752656295,
"reponame":"openssl",
"desc":"OpenSSL",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"6363a94f158d1463245549e39e891a97",
"commit": {"type":"commit",
"time": 1552903677,
"time_ofs": 600,
"oid_tree": { "oid": "46326114058dadf9f2c3c29f38f59435b0787ee8", "alias": []},
"oid":{ "oid": "5dcfd6c50a216f81bf43e1f21bc5f3fc517ba47a", "alias": []},
"msg": "PPC assembly pack: fix copy-paste error in CTR mode",
"sig_commit": { "git_time": { "time": 1552903677, "offset": 600 }, "name": "Pauli", "email": "paul.dale@oracle.com", "md5": "4616f8cb80bd6ce4dab75d05e07cd125" },
"sig_author": { "git_time": { "time": 1552864964, "offset": 660 }, "name": "Daniel Axtens", "email": "dja@axtens.net", "md5": "c1b62f9bd51c4eedab08b5186dc94e9d" }},
"body": "PPC assembly pack: fix copy-paste error in CTR mode\n\nThere are two copy-paste errors in handling CTR mode. When dealing\nwith a 2 or 3 block tail, the code branches to the CBC decryption exit\npath, rather than to the CTR exit path.\n\nThis can lead to data corruption: in the Linux kernel we have a copy\nof this file, and the bug leads to corruption of the IV, which leads\nto data corruption when we call the encryption function again later to\nencrypt subsequent blocks.\n\nOriginally reported to the Linux kernel by Ondrej Mosnáček \u003comosnacek@gmail.com\u003e\n\nCLA: trivial\n\nReviewed-by: Tim Hudson \u003ctjh@openssl.org\u003e\nReviewed-by: Paul Dale \u003cpaul.dale@oracle.com\u003e\n(Merged from https://github.com/openssl/openssl/pull/8510)\n\n(cherry picked from commit f643deac417a3ccb27f77670bb2b136de49079d9)\n"
,
"diff": "diff --git a/crypto/aes/asm/aesp8-ppc.pl b/crypto/aes/asm/aesp8-ppc.pl\nindex 488b133..b8dd42d 100755\n--- a/crypto/aes/asm/aesp8-ppc.pl\n+++ b/crypto/aes/asm/aesp8-ppc.pl\n@@ -1829,7 +1829,7 @@ Lctr32_enc8x_three:\n \tstvx_u\t\t$out1,$x10,$out\n \tstvx_u\t\t$out2,$x20,$out\n \taddi\t\t$out,$out,0x30\n-\tb\t\tLcbc_dec8x_done\n+\tb\t\tLctr32_enc8x_done\n \n .align\t5\n Lctr32_enc8x_two:\n@@ -1841,7 +1841,7 @@ Lctr32_enc8x_two:\n \tstvx_u\t\t$out0,$x00,$out\n \tstvx_u\t\t$out1,$x10,$out\n \taddi\t\t$out,$out,0x20\n-\tb\t\tLcbc_dec8x_done\n+\tb\t\tLctr32_enc8x_done\n \n .align\t5\n Lctr32_enc8x_one:\n","s":{"c":1752656295,"u": 39362}}
],"g": 40251,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}