{"action":"created","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/1092","repository_url":"https://api.github.com/repos/openssl/openssl","labels_url":"https://api.github.com/repos/openssl/openssl/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/1092/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/1092/events","html_url":"https://github.com/openssl/openssl/issues/1092","id":155538147,"number":1092,"title":"MIssing some accessors in new api","user":{"login":"wolftobias","id":2248920,"avatar_url":"https://avatars.githubusercontent.com/u/2248920?v=3","gravatar_id":"","url":"https://api.github.com/users/wolftobias","html_url":"https://github.com/wolftobias","followers_url":"https://api.github.com/users/wolftobias/followers","following_url":"https://api.github.com/users/wolftobias/following{/other_user}","gists_url":"https://api.github.com/users/wolftobias/gists{/gist_id}","starred_url":"https://api.github.com/users/wolftobias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolftobias/subscriptions","organizations_url":"https://api.github.com/users/wolftobias/orgs","repos_url":"https://api.github.com/users/wolftobias/repos","events_url":"https://api.github.com/users/wolftobias/events{/privacy}","received_events_url":"https://api.github.com/users/wolftobias/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/openssl/openssl/milestones/1","html_url":"https://github.com/openssl/openssl/milestones/1.1.0","labels_url":"https://api.github.com/repos/openssl/openssl/milestones/1/labels","id":1748232,"number":1,"title":"1.1.0","description":"","creator":{"login":"levitte","id":698918,"avatar_url":"https://avatars.githubusercontent.com/u/698918?v=3","gravatar_id":"","url":"https://api.github.com/users/levitte","html_url":"https://github.com/levitte","followers_url":"https://api.github.com/users/levitte/followers","following_url":"https://api.github.com/users/levitte/following{/other_user}","gists_url":"https://api.github.com/users/levitte/gists{/gist_id}","starred_url":"https://api.github.com/users/levitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levitte/subscriptions","organizations_url":"https://api.github.com/users/levitte/orgs","repos_url":"https://api.github.com/users/levitte/repos","events_url":"https://api.github.com/users/levitte/events{/privacy}","received_events_url":"https://api.github.com/users/levitte/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":49,"state":"open","created_at":"2016-05-04T17:53:39Z","updated_at":"2016-05-24T22:53:46Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-18T15:53:42Z","updated_at":"2016-05-25T09:36:30Z","closed_at":null,"body":"With v1.0.2 I can access that directly:\r\n```\r\nSSL_CIPHER->algorithm_mkey\r\nSSL_CIPHER->algorithm_auth\r\n\r\nEVP_CIPHER_CTX->buf_len\r\n```"},"comment":{"url":"https://api.github.com/repos/openssl/openssl/issues/comments/221522758","html_url":"https://github.com/openssl/openssl/issues/1092#issuecomment-221522758","issue_url":"https://api.github.com/repos/openssl/openssl/issues/1092","id":221522758,"user":{"login":"levitte","id":698918,"avatar_url":"https://avatars.githubusercontent.com/u/698918?v=3","gravatar_id":"","url":"https://api.github.com/users/levitte","html_url":"https://github.com/levitte","followers_url":"https://api.github.com/users/levitte/followers","following_url":"https://api.github.com/users/levitte/following{/other_user}","gists_url":"https://api.github.com/users/levitte/gists{/gist_id}","starred_url":"https://api.github.com/users/levitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levitte/subscriptions","organizations_url":"https://api.github.com/users/levitte/orgs","repos_url":"https://api.github.com/users/levitte/repos","events_url":"https://api.github.com/users/levitte/events{/privacy}","received_events_url":"https://api.github.com/users/levitte/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T09:36:30Z","updated_at":"2016-05-25T09:36:30Z","body":"Do I get this correctly, that `getOutputSize` should give the total amount of bytes resulting from an `inputLen` that is the total length of the input?  There's no need to know the buffer length for that, as the output will always be a multiple of `modeBlockSize`.\r\n\r\n```\r\nfinal int calculated_size = inputLen;\r\nif (padding != Padding.NOPADDING) {\r\n    calculated_size += modeBlockSize;\r\n} else if ((inputLen % modeBlockSize) != 0) {\r\n    // this isn't right, should return an error.\r\n}\r\n// calculate the amount of bytes that's an exact multiple of modeBlockSize\r\nlogger.exit((calculated_size / modeBlockSize) * modeBlockSize);\r\n```"}}
{"actor":{"display_login":"levitte"}}