{"action":"created","issue":{"url":"https://api.github.com/repos/briansmith/ring/issues/22","labels_url":"https://api.github.com/repos/briansmith/ring/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/briansmith/ring/issues/22/comments","events_url":"https://api.github.com/repos/briansmith/ring/issues/22/events","html_url":"https://github.com/briansmith/ring/issues/22","id":108229501,"number":22,"title":"Remove C code that supports AES-GCM nonces that aren't 96 bits","user":{"login":"briansmith","id":16816,"avatar_url":"https://avatars.githubusercontent.com/u/16816?v=3","gravatar_id":"","url":"https://api.github.com/users/briansmith","html_url":"https://github.com/briansmith","followers_url":"https://api.github.com/users/briansmith/followers","following_url":"https://api.github.com/users/briansmith/following{/other_user}","gists_url":"https://api.github.com/users/briansmith/gists{/gist_id}","starred_url":"https://api.github.com/users/briansmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briansmith/subscriptions","organizations_url":"https://api.github.com/users/briansmith/orgs","repos_url":"https://api.github.com/users/briansmith/repos","events_url":"https://api.github.com/users/briansmith/events{/privacy}","received_events_url":"https://api.github.com/users/briansmith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T22:56:27Z","updated_at":"2015-10-18T01:50:30Z","closed_at":"2015-10-18T01:50:30Z","body":"It takes a fair amount of code to support these non-optimal nonce lengths. Very few applications will need to support these non-standard nonce lengths and it isn't worth the effort to test the code to verify that it works correctly for them. The ```ring::aead``` interface is much simplified if the nonce length is fixed per ```ring::aead::Algorithm``` instance.\r\n\r\nIt looks like it will be easier to do this if the non-AEAD AES-GCM interface in crypto/cipher/e_aes.c is removed first.\r\n\r\nSee Chromium issue https://code.google.com/p/chromium/issues/detail?id=535758."},"comment":{"url":"https://api.github.com/repos/briansmith/ring/issues/comments/148966262","html_url":"https://github.com/briansmith/ring/issues/22#issuecomment-148966262","issue_url":"https://api.github.com/repos/briansmith/ring/issues/22","id":148966262,"user":{"login":"briansmith","id":16816,"avatar_url":"https://avatars.githubusercontent.com/u/16816?v=3","gravatar_id":"","url":"https://api.github.com/users/briansmith","html_url":"https://github.com/briansmith","followers_url":"https://api.github.com/users/briansmith/followers","following_url":"https://api.github.com/users/briansmith/following{/other_user}","gists_url":"https://api.github.com/users/briansmith/gists{/gist_id}","starred_url":"https://api.github.com/users/briansmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briansmith/subscriptions","organizations_url":"https://api.github.com/users/briansmith/orgs","repos_url":"https://api.github.com/users/briansmith/repos","events_url":"https://api.github.com/users/briansmith/events{/privacy}","received_events_url":"https://api.github.com/users/briansmith/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T01:50:29Z","updated_at":"2015-10-18T01:50:29Z","body":"This was done in commit fa2324001aa786a9d18961ff6edb30247b11ddb9: Remove support for GCM nonces that aren't exactly 96 bits."}}