<h3>Contribution description</h3>
<p>The latest libcose master adds support for AES-CCM through the added tinycrypt backend.</p>
<p>A tinycrypt opportunistic POSIX RNG dependency is patched out to allow the interaction -- as described in the commit, that would only have worked on native anyway, and it's better to consistently not pull in that function than give people surprise behavior when going away from native. (Also, the native function would have conflicted with the more generic implementation provided by libcose, which needs a RNG linked in there for key generation).</p>
<h3>Testing procedure</h3>
<ul>
<li><code>make -C tests/pkg_libcose all flash test</code></li>
<li>Same but with</li>
</ul>
<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/tests/pkg_libcose/Makefile b/tests/pkg_libcose/Makefile</span>
index 8206fe43b0..105b5a9aac 100644
<span class="pl-md">--- a/tests/pkg_libcose/Makefile</span>
<span class="pl-mi1">+++ b/tests/pkg_libcose/Makefile</span>
<span class="pl-mdr">@@ -5,8 +5,9 @@</span> TEST_ON_CI_WHITELIST += native
 USEPKG += libcose
 # By default we use hacl as crypto backend, uncomment to use a different
 # crypto backend.
<span class="pl-md"><span class="pl-md">-</span>USEMODULE += libcose_crypt_hacl</span>
<span class="pl-md"><span class="pl-md">-</span># USEMODULE += libcose_crypt_c25519</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>#USEMODULE += libcose_crypt_hacl</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>USEMODULE += libcose_crypt_tinycrypt</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>USEMODULE += libcose_crypt_c25519</span>
 USEMODULE += memarray
 USEMODULE += embunit</pre></div>
<p>to run on the new tinycrypt code paths.</p>
<p>Tested on native and microbit-v2; on the latter this takes some time, be patient.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/16464'>https://github.com/RIOT-OS/RIOT/pull/16464</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>pkg/tinycrypt: Avoid pulling in default_CSPRNG</li>
  <li>pkg/libcose: Update version</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16464/files#diff-589c54eb196aad0191b9852214ea78fc199c2aa66047bcebcf47372e8f0312e3">pkg/libcose/Makefile</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16464/files#diff-b8487f8d67b6e5bdf315f29dd4b7e1c2e2d0d31c22e80effa950cc5794d080c3">pkg/libcose/Makefile.dep</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16464/files#diff-3734c6189a56653beb6b063be6de8565aa77958dfa801b20ae15e7bf8e9358e8">pkg/libcose/Makefile.include</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16464/files#diff-cf9b43dd568b8e67d2486b5a787a207b099da579d484deb3593eae17f15f6cad">pkg/libcose/patches/0001-RIOT-Use-RIOT-random_bytes-function-instead-of-rando.patch</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16464/files#diff-a307d66848753ab1debd104ece9b126107744399b39a91cd78348d8730b9c17e">pkg/tinycrypt/Makefile</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16464/files#diff-ea36a15a232292a3b9b25b7b7ff66d6d3fd0aa7e8f1b97e2b58c814b8136d6f2">pkg/tinycrypt/Makefile.tinycrypt</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16464.patch'>https://github.com/RIOT-OS/RIOT/pull/16464.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16464.diff'>https://github.com/RIOT-OS/RIOT/pull/16464.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16464">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYCELGTXQVSYLTACVLTTM75RDANCNFSM44RQ2HPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYD4YSX4JHNZPBHJCETTM75RDA5CNFSM44RQ2HPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NFYPWGQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16464",
"url": "https://github.com/RIOT-OS/RIOT/pull/16464",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>