Skip to content

Assertation failed in the benchmark example #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
toyowata opened this issue Sep 27, 2016 · 4 comments
Closed

Assertation failed in the benchmark example #15

toyowata opened this issue Sep 27, 2016 · 4 comments

Comments

@toyowata
Copy link

Following assertion occurred in the benchamrk example.

  SHA-256                  :       1910 Kb/s,         61 cycles/byte
  SHA-512                  :        614 Kb/s,        191 cycles/byte
  AES-CBC-128              :       1355 Kb/s,         86 cycles/byte
  AES-CBC-192              :       1191 Kb/s,         98 cycles/byte
  AES-CBC-256              :       1063 Kb/s,        110 cycles/byte
  AES-GCM-128              :        440 Kb/s,        267 cycles/byte
  AES-GCM-192              :        421 Kb/s,        279 cycles/byte
  AES-GCM-256              :        404 Kb/s,        291 cycles/byte
  AES-CCM-128              :        586 Kb/s,        200 cycles/byte
  AES-CCM-192              :        523 Kb/s,        224 cycles/byte
  AES-CCM-256              :        472 Kb/s,        248 cycles/byte
  CTR_DRBG (NOPR)          :       1110 Kb/s,        105 cycles/byte
  CTR_DRBG (PR)            :        796 Kb/s,        147 cycles/byte
  HMAC_DRBG SHA-256 (NOPR) :        218 Kb/s,        541 cycles/byte
  HMAC_DRBG SHA-256 (PR)   :        192 Kb/s,        616 cycles/byte
  RSA-2048                 :      30 ms/ public
  RSA-2048                 :    1041 ms/private
  RSA-4096                 :     100 ms/ public
  RSA-4096                 :    5742 ms/private
  ECDSA-secp384r1          :  mbed assertation failed: interrupts_disabled, file: .\mbed-os\hal\common\mbed_critical.c, line 54

mbed OS version

[mbed] Importing program "mbed-os-example-tls" from "https://github.com/armmbed/mbed-os-example-tls" at latest revision in the current branch
[mbed] Adding library "authcrypt\mbed-os" from "https://github.com/ARMmbed/mbed-os" at rev #21dd7008a154
[mbed] Adding library "benchmark\mbed-os" from "https://github.com/ARMmbed/mbed-os" at rev #21dd7008a154
[mbed] Adding library "hashing\mbed-os" from "https://github.com/ARMmbed/mbed-os" at rev #21dd7008a154
[mbed] Adding library "tls-client\mbed-os" from "https://github.com/ARMmbed/mbed-os" at rev #21dd7008a154
[mbed] Couldn't find build tools in your program. Downloading the mbed 2.0 SDK tools...

Build command

$ cd benchmark
$ mbed compile -m K64F -t GCC_ARM
@mrudu172
Copy link

I am also facing the exact same issue. Please post here if any solution is found!
Thank you.

@ciarmcom
Copy link
Member

ARM Internal Ref: IOTSSL-2430

@RonEld
Copy link
Contributor

RonEld commented Aug 1, 2018

This is an old issue, and I believe it was resolved with 83dd137#diff-11d19f91de60e62a1952ab3e8b07cd0c

@simonbutcher
Copy link
Contributor

If it wasn't already fixed, it's now fixed by PR #194 which has now been merged. Issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants