Closed aectaan closed 2 years ago
Hello @aectaan this is an expected behavior as the Security Monitor is in play here. For customized samples that behavior can be changed (relaxed)
WOW! Thank you so much for lighting fast response. Will check it now.
can we close the issue?
Prerequisites
Can you reproduce the problem reliably? YES Did you check current release notes for known issues? YES If this is not the latest release, have you checked newer releases? YES Description: TIme to sign data depends on
optiga_crypt_ecdsa_sign()
calling frequency. If you call it relatively often (1 sec), time to sign increases every call, from 75ms to 5 sec with step of ~40ms. If you call this function every 10 sec, time to sign decreases with the same step. Digest is fixed. PAL implementation attached.Steps to Reproduce: main.c
Expected Result: sign duration is constant and is around 80msec. Actual Result:
Frequency (1/1, 1/50, 1/100): 1/1 Build/Commit: f64c42da2cc5ac59825bb995df4f0499557a1708 Target: SoC: nRF52840, OS: Zephyr v3.0.0. Host OS and Version: Linux egor-WRT-WX9 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Compiler: arm-zephyr-eabi, SDK v0.14.2
PAL.zip