{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/342","labels_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/342/comments","events_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/342/events","html_url":"https://github.com/ARMmbed/mbedtls/issues/342","id":114470307,"number":342,"title":"Padding for ECB mode","user":{"login":"malmaud","id":987837,"avatar_url":"https://avatars.githubusercontent.com/u/987837?v=3","gravatar_id":"","url":"https://api.github.com/users/malmaud","html_url":"https://github.com/malmaud","followers_url":"https://api.github.com/users/malmaud/followers","following_url":"https://api.github.com/users/malmaud/following{/other_user}","gists_url":"https://api.github.com/users/malmaud/gists{/gist_id}","starred_url":"https://api.github.com/users/malmaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malmaud/subscriptions","organizations_url":"https://api.github.com/users/malmaud/orgs","repos_url":"https://api.github.com/users/malmaud/repos","events_url":"https://api.github.com/users/malmaud/events{/privacy}","received_events_url":"https://api.github.com/users/malmaud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-01T13:43:18Z","updated_at":"2015-11-01T19:43:31Z","closed_at":null,"body":"I understand ECB is and should be rarely used, but is there a reason it still couldn't support padding as the other modes do, just for consistency? Some of my users have played around with the different modes just for pedagogical purposes and are left confused by why one mode should act differently than the others."},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/comments/152856205","html_url":"https://github.com/ARMmbed/mbedtls/issues/342#issuecomment-152856205","issue_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/342","id":152856205,"user":{"login":"malmaud","id":987837,"avatar_url":"https://avatars.githubusercontent.com/u/987837?v=3","gravatar_id":"","url":"https://api.github.com/users/malmaud","html_url":"https://github.com/malmaud","followers_url":"https://api.github.com/users/malmaud/followers","following_url":"https://api.github.com/users/malmaud/following{/other_user}","gists_url":"https://api.github.com/users/malmaud/gists{/gist_id}","starred_url":"https://api.github.com/users/malmaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malmaud/subscriptions","organizations_url":"https://api.github.com/users/malmaud/orgs","repos_url":"https://api.github.com/users/malmaud/repos","events_url":"https://api.github.com/users/malmaud/events{/privacy}","received_events_url":"https://api.github.com/users/malmaud/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T19:43:31Z","updated_at":"2015-11-01T19:43:31Z","body":"Sure.\n\nOn Sun, Nov 1, 2015 at 1:38 PM Manuel Pégourié-Gonnard <\nnotifications@github.com> wrote:\n\n> I'd be inclined to say that ECB acts differently because it is different:\n> it shouldn't be used in real life to encrypt more than one block. IMO is\n> shouldn't even be exposed in the cipher layer, except that we need it for\n> build other modes on top of it (GCM, CCM, that are built on top of the\n> cipher layer).\n>\n> Does that make sense?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ARMmbed/mbedtls/issues/342#issuecomment-152855932>.\n>\n"}}