Skip to content

Commit

Permalink
drivers: crypto: stm32: lower verbosity on SAES use
Browse files Browse the repository at this point in the history
Changes SAES context allocation/release trace message from debug level
to flow level otherwise each access to the secure storage emits debug
messages.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
  • Loading branch information
etienne-lms committed Oct 13, 2023
1 parent ed89e93 commit c3a91c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/drivers/crypto/stm32/cipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static TEE_Result alloc_cryp_ctx(void **ctx, enum stm32_cryp_algo_mode algo)
if (!c)
return TEE_ERROR_OUT_OF_MEMORY;

DMSG("Using CRYP %d", algo);
FMSG("Using CRYP %d", algo);
c->ip_ctx.cryp.algo = algo;
c->ops = &cryp_ops;
*ctx = &c->c_ctx;
Expand All @@ -186,7 +186,7 @@ static TEE_Result alloc_saes_ctx(void **ctx, enum stm32_saes_chaining_mode algo)
if (!c)
return TEE_ERROR_OUT_OF_MEMORY;

DMSG("Using SAES %d", algo);
FMSG("Using SAES %d", algo);
c->ip_ctx.saes.algo = algo;
c->ops = &saes_ops;
*ctx = &c->c_ctx;
Expand Down

0 comments on commit c3a91c1

Please sign in to comment.