{"action":"created","issue":{"url":"https://api.github.com/repos/randombit/botan/issues/718","repository_url":"https://api.github.com/repos/randombit/botan","labels_url":"https://api.github.com/repos/randombit/botan/issues/718/labels{/name}","comments_url":"https://api.github.com/repos/randombit/botan/issues/718/comments","events_url":"https://api.github.com/repos/randombit/botan/issues/718/events","html_url":"https://github.com/randombit/botan/pull/718","id":187591157,"number":718,"title":"Adds XMSS WOTS stand-alone components","user":{"login":"mgierlings","id":17745673,"avatar_url":"https://avatars.githubusercontent.com/u/17745673?v=3","gravatar_id":"","url":"https://api.github.com/users/mgierlings","html_url":"https://github.com/mgierlings","followers_url":"https://api.github.com/users/mgierlings/followers","following_url":"https://api.github.com/users/mgierlings/following{/other_user}","gists_url":"https://api.github.com/users/mgierlings/gists{/gist_id}","starred_url":"https://api.github.com/users/mgierlings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgierlings/subscriptions","organizations_url":"https://api.github.com/users/mgierlings/orgs","repos_url":"https://api.github.com/users/mgierlings/repos","events_url":"https://api.github.com/users/mgierlings/events{/privacy}","received_events_url":"https://api.github.com/users/mgierlings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-06T21:40:20Z","updated_at":"2016-11-15T20:07:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/randombit/botan/pulls/718","html_url":"https://github.com/randombit/botan/pull/718","diff_url":"https://github.com/randombit/botan/pull/718.diff","patch_url":"https://github.com/randombit/botan/pull/718.patch"},"body":"The main XMSS implementation does not expose stand-alone access to XMSS\r\nWinternitz One Time Signatures through the Botan::PK_Ops interfaces.\r\nXMSS WOTS is used by XMSS internally though. This PR implements a\r\npossible XMSS WOTS interface for stand-alone use.\r\n\r\nXMSS WOTS is tested through the XMSS tests, therefore there are no\r\ndedicated XMSS WOTS test vectors and test bench components implemented\r\nin this PR."},"comment":{"url":"https://api.github.com/repos/randombit/botan/issues/comments/260752335","html_url":"https://github.com/randombit/botan/pull/718#issuecomment-260752335","issue_url":"https://api.github.com/repos/randombit/botan/issues/718","id":260752335,"user":{"login":"randombit","id":469092,"avatar_url":"https://avatars.githubusercontent.com/u/469092?v=3","gravatar_id":"","url":"https://api.github.com/users/randombit","html_url":"https://github.com/randombit","followers_url":"https://api.github.com/users/randombit/followers","following_url":"https://api.github.com/users/randombit/following{/other_user}","gists_url":"https://api.github.com/users/randombit/gists{/gist_id}","starred_url":"https://api.github.com/users/randombit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randombit/subscriptions","organizations_url":"https://api.github.com/users/randombit/orgs","repos_url":"https://api.github.com/users/randombit/repos","events_url":"https://api.github.com/users/randombit/events{/privacy}","received_events_url":"https://api.github.com/users/randombit/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T20:07:10Z","updated_at":"2016-11-15T20:07:10Z","body":"On the Address side, does something like this seem sufficient?\r\n\r\n```\r\nclass PK_Signature_Context {\r\n    // just a handle for dynamic_cast\r\n     virtual ~PK_Signature_Context() {}\r\n};\r\n\r\nclass XMSS_Address_Context : public PK_Signature_Context {\r\n  XMSS_Address m_addr;\r\n  ...\r\n}\r\n```\r\n\r\nWith `sign` and `verify` taking optional `PK_Signature_Context*` arguments, which WOTS can require and `dynamic_cast` to an Address and all existing algorithms can at least for now ignore as unused."}}
{"actor":{"display_login":"randombit"}}