sd_ecb_block_encrypt() related question [closed]

Valer_I gravatar image

asked 2017-04-19 16:58:44 +0200

Hello, I just want to clarity the sd_ecb_block_encrypt() operation cases (S110).

In pp. 23.1.3 of RM (Shared resources) sayed:

The ECB, CCM, and AAR share the same AES module. The ECB will always have lowest priority and if there is a sharing conflict during encryption, the ECB operation will be aborted and an ERRORECB event will be generated.

In PS sayed:

Time for a 16 byte AES block encrypt. 8.5 - 17 μs

So the question is whether the sd_ecb_block_encrypt() handles ERRORECB event and waits untill shared resource become available to perform the ECB encryption. If correct answer - YES, what timings of the sd_ecb_block_encrypt()?

edit retag flag offensive reopen delete report spam

Closed as "the question is answered, right answer was accepted" by Valer_I at 2017-04-21 14:45:28 +0200


Which version of S110 are you using?

Jørgen Holmefjord ( 2017-04-20 14:01:09 +0200 )editconvert to answer

S110 V.8.0.0

Valer_I ( 2017-04-20 22:03:56 +0200 )editconvert to answer

1 answer

Sort by » oldest newest most voted
joh2 gravatar image

answered 2017-04-21 11:14:49 +0200


A call to sd_ecb_block_encrypt() will block until the encryption is completed. If encryption is interrupted by higher priority call, the function will retry over and over until it is successfull. The timing will thus depend on what other tasks require access to the shared resource.

Best regards,


edit flag offensive delete publish link more


Thanks, now its clear!

Valer_I ( 2017-04-21 14:45:12 +0200 )editconvert to answer

User menu

    or sign up

Recent questions

Question Tools

1 follower


Asked: 2017-04-19 16:58:44 +0200

Seen: 277 times

Last updated: Apr 21