{"action":"created","issue":{"url":"https://api.github.com/repos/pyca/cryptography/issues/2867","repository_url":"https://api.github.com/repos/pyca/cryptography","labels_url":"https://api.github.com/repos/pyca/cryptography/issues/2867/labels{/name}","comments_url":"https://api.github.com/repos/pyca/cryptography/issues/2867/comments","events_url":"https://api.github.com/repos/pyca/cryptography/issues/2867/events","html_url":"https://github.com/pyca/cryptography/pull/2867","id":146599744,"number":2867,"title":"Add vectors for unkeyed blake2s and blake2b.","user":{"login":"Ayrx","id":1937160,"avatar_url":"https://avatars.githubusercontent.com/u/1937160?v=3","gravatar_id":"","url":"https://api.github.com/users/Ayrx","html_url":"https://github.com/Ayrx","followers_url":"https://api.github.com/users/Ayrx/followers","following_url":"https://api.github.com/users/Ayrx/following{/other_user}","gists_url":"https://api.github.com/users/Ayrx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ayrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ayrx/subscriptions","organizations_url":"https://api.github.com/users/Ayrx/orgs","repos_url":"https://api.github.com/users/Ayrx/repos","events_url":"https://api.github.com/users/Ayrx/events{/privacy}","received_events_url":"https://api.github.com/users/Ayrx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-07T12:16:05Z","updated_at":"2016-04-07T14:39:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pyca/cryptography/pulls/2867","html_url":"https://github.com/pyca/cryptography/pull/2867","diff_url":"https://github.com/pyca/cryptography/pull/2867.diff","patch_url":"https://github.com/pyca/cryptography/pull/2867.patch"},"body":"OpenSSL [recently added][0] support for the Blake2 hash and it should be in the 1.1.0 release. This PR adds the test vectors for 2 variants of the Blake2 hash.\r\n\r\nThe vectors were generated as part of that OpenSSL commit per the process [described in the discussions][1]. The main reason being that the vectors found in the Blake2 [repository][2] are for key != 0 (more akin to a MAC) while the OpenSSL function always set key == 0.\r\n\r\nIf / when this gets merged I'll put out a PR for the actual implementation targeting to have it available and merge ready when we add support for 1.1.0 and there's an official release out.\r\n\r\n[0]: https://github.com/openssl/openssl/commit/2d0b44126763f989a4cbffbffe9d0c7518158bb7\r\n[1]: https://github.com/openssl/openssl/pull/566#discussion-diff-55609025\r\n[2]: https://github.com/BLAKE2/BLAKE2/tree/master/testvectors"},"comment":{"url":"https://api.github.com/repos/pyca/cryptography/issues/comments/206935278","html_url":"https://github.com/pyca/cryptography/pull/2867#issuecomment-206935278","issue_url":"https://api.github.com/repos/pyca/cryptography/issues/2867","id":206935278,"user":{"login":"Ayrx","id":1937160,"avatar_url":"https://avatars.githubusercontent.com/u/1937160?v=3","gravatar_id":"","url":"https://api.github.com/users/Ayrx","html_url":"https://github.com/Ayrx","followers_url":"https://api.github.com/users/Ayrx/followers","following_url":"https://api.github.com/users/Ayrx/following{/other_user}","gists_url":"https://api.github.com/users/Ayrx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ayrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ayrx/subscriptions","organizations_url":"https://api.github.com/users/Ayrx/orgs","repos_url":"https://api.github.com/users/Ayrx/repos","events_url":"https://api.github.com/users/Ayrx/events{/privacy}","received_events_url":"https://api.github.com/users/Ayrx/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T14:39:19Z","updated_at":"2016-04-07T14:39:19Z","body":"Done. Hopefully I didn't mess up the RST linking syntax. ;)"}}