<p>I gave the <code>tests/wolfssl_crypto_benchmark</code> a try.<br>
Out-of-the-box I didn't manage to run it on any MCU platform until I figured out that the default benchmark configuration is just too heavy. Adding <code>#define BENCH_EMBEDDED</code> to <code>pkg/wolfssl/include/user_settings.h</code> solved that. This should be done automatically if compiling for an MCU target.</p>
<p>Additionally I needed to add <code>USEMODULE +=  xtimer</code> to stop the benchmark from freezing and <code>USEMODULE +=  printf_float</code> to properly print the results.<br>
We should figure out if these dependencies should be added to any of the submodules of the wolfssl package or if it is just a dependency of this benchmark application. Depending on that they should be added to the respective Makefile.dep or the app's Makefile.</p>

<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/10308?email_source=notifications&email_token=ABE7WYG2FKKSUOEAVRLGODDQCCP4XA5CNFSM4GAXZVZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FGZ5Q#issuecomment-516582646">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYD3ROFIXZEDJEHPJ7DQCCP4XANCNFSM4GAXZVZQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYHTNXQO5AZKVGFLJHLQCCP4XA5CNFSM4GAXZVZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FGZ5Q.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/10308?email_source=notifications\u0026email_token=ABE7WYG2FKKSUOEAVRLGODDQCCP4XA5CNFSM4GAXZVZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FGZ5Q#issuecomment-516582646",
"url": "https://github.com/RIOT-OS/RIOT/pull/10308?email_source=notifications\u0026email_token=ABE7WYG2FKKSUOEAVRLGODDQCCP4XA5CNFSM4GAXZVZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FGZ5Q#issuecomment-516582646",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>