Skip to content

Commit 0458dd2

Browse files
committed
[crypto] PSA API: initialize crypto platform for LinkRaw
This commit ensures that OpenThread Platform Crypto Init API is called for all cases. Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>
1 parent 8eb7bc4 commit 0458dd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/mac/link_raw.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ LinkRaw::LinkRaw(Instance &aInstance)
5858
, mSubMac(aInstance.Get<SubMac>())
5959
#endif
6060
{
61+
otPlatCryptoInit();
62+
6163
Init();
6264
}
6365

0 commit comments

Comments
 (0)