{"action":"created","issue":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/1108","labels_url":"https://api.github.com/repos/contiki-os/contiki/issues/1108/labels{/name}","comments_url":"https://api.github.com/repos/contiki-os/contiki/issues/1108/comments","events_url":"https://api.github.com/repos/contiki-os/contiki/issues/1108/events","html_url":"https://github.com/contiki-os/contiki/pull/1108","id":87044533,"number":1108,"title":"generalised CCM module into lib","user":{"login":"phoenix-frozen","id":2119923,"avatar_url":"https://avatars.githubusercontent.com/u/2119923?v=3","gravatar_id":"","url":"https://api.github.com/users/phoenix-frozen","html_url":"https://github.com/phoenix-frozen","followers_url":"https://api.github.com/users/phoenix-frozen/followers","following_url":"https://api.github.com/users/phoenix-frozen/following{/other_user}","gists_url":"https://api.github.com/users/phoenix-frozen/gists{/gist_id}","starred_url":"https://api.github.com/users/phoenix-frozen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoenix-frozen/subscriptions","organizations_url":"https://api.github.com/users/phoenix-frozen/orgs","repos_url":"https://api.github.com/users/phoenix-frozen/repos","events_url":"https://api.github.com/users/phoenix-frozen/events{/privacy}","received_events_url":"https://api.github.com/users/phoenix-frozen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/contiki-os/contiki/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-10T17:25:09Z","updated_at":"2015-06-27T14:07:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/contiki-os/contiki/pulls/1108","html_url":"https://github.com/contiki-os/contiki/pull/1108","diff_url":"https://github.com/contiki-os/contiki/pull/1108.diff","patch_url":"https://github.com/contiki-os/contiki/pull/1108.patch"},"body":"also introduced a convenience module for LLSEC modules that automatically construct an appropriate IV to pass in"},"comment":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/comments/116055728","html_url":"https://github.com/contiki-os/contiki/pull/1108#issuecomment-116055728","issue_url":"https://api.github.com/repos/contiki-os/contiki/issues/1108","id":116055728,"user":{"login":"kkrentz","id":1307004,"avatar_url":"https://avatars.githubusercontent.com/u/1307004?v=3","gravatar_id":"","url":"https://api.github.com/users/kkrentz","html_url":"https://github.com/kkrentz","followers_url":"https://api.github.com/users/kkrentz/followers","following_url":"https://api.github.com/users/kkrentz/following{/other_user}","gists_url":"https://api.github.com/users/kkrentz/gists{/gist_id}","starred_url":"https://api.github.com/users/kkrentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkrentz/subscriptions","organizations_url":"https://api.github.com/users/kkrentz/orgs","repos_url":"https://api.github.com/users/kkrentz/repos","events_url":"https://api.github.com/users/kkrentz/events{/privacy}","received_events_url":"https://api.github.com/users/kkrentz/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T14:07:03Z","updated_at":"2015-06-27T14:07:03Z","body":"Seems like. So am I right that `ccm-star.c` should become more general, but not a fully-fledged CCM implementation as of RFC 3610? (My concern was that a fully-fledged CCM implementation may have to accept messages that are longer than 127 bytes, which is not supported by hardware-accelerated CCM* implementations.) In this case, however, I would suggest to fix the IV length to 13 bytes in order to get rid of the additional iv_length parameter. Additionally, I would suggest the parameter `iv` to be renamed `nonce` so as to stay in line with the terminology of CCM* and CCM."}}