{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2236","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2236/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2236/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2236/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/2236","id":53007941,"number":2236,"title":"New package for ECDH and ECDSA","user":{"login":"d00616","id":519822,"avatar_url":"https://avatars.githubusercontent.com/u/519822?v=3","gravatar_id":"","url":"https://api.github.com/users/d00616","html_url":"https://github.com/d00616","followers_url":"https://api.github.com/users/d00616/followers","following_url":"https://api.github.com/users/d00616/following{/other_user}","gists_url":"https://api.github.com/users/d00616/gists{/gist_id}","starred_url":"https://api.github.com/users/d00616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d00616/subscriptions","organizations_url":"https://api.github.com/users/d00616/orgs","repos_url":"https://api.github.com/users/d00616/repos","events_url":"https://api.github.com/users/d00616/events{/privacy}","received_events_url":"https://api.github.com/users/d00616/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Hack%27n%27ACK+candidate","name":"Hack'n'ACK candidate","color":"dff5df"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/new+feature","name":"new feature","color":"e11d21"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/PR-award-nominee","name":"PR-award-nominee","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2014-12-28T19:39:36Z","updated_at":"2015-01-06T18:57:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2236","html_url":"https://github.com/RIOT-OS/RIOT/pull/2236","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2236.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2236.patch"},"body":"I have added this http://kmackay.ca/micro-ecc/ to RIOT OS. This functionality is useful to negotiate an key over an unencrypted channel or to sign data.\r\n\r\nI have tested the test procedure on an native system and on an nRF51822 (PCA10000) CPU. On native target sometimes signature tests are failing. It looks like native random function not serving data. When i start the same binary after some seconds all tests are fine.\r\n\r\nIt looks like the native random function is not ready for cryptography, because it uses the C pseudo random function. Is this right?\r\n\r\nI can change micro-ecc package to use original micro-ecc random sources and use periph/random only on non native targets."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/68913424","html_url":"https://github.com/RIOT-OS/RIOT/pull/2236#issuecomment-68913424","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2236","id":68913424,"user":{"login":"d00616","id":519822,"avatar_url":"https://avatars.githubusercontent.com/u/519822?v=3","gravatar_id":"","url":"https://api.github.com/users/d00616","html_url":"https://github.com/d00616","followers_url":"https://api.github.com/users/d00616/followers","following_url":"https://api.github.com/users/d00616/following{/other_user}","gists_url":"https://api.github.com/users/d00616/gists{/gist_id}","starred_url":"https://api.github.com/users/d00616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d00616/subscriptions","organizations_url":"https://api.github.com/users/d00616/orgs","repos_url":"https://api.github.com/users/d00616/repos","events_url":"https://api.github.com/users/d00616/events{/privacy}","received_events_url":"https://api.github.com/users/d00616/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T18:57:06Z","updated_at":"2015-01-06T18:57:06Z","body":"On native implementation random code generated by original library code. I think there is a need to rewrite actual native random code."}}