Thread (38 messages) 38 messages, 7 authors, 2024-09-26

Re: [PATCH v6 06/17] firmware: qcom: scm: add a call for deriving the software secret

From: Bartosz Golaszewski <hidden>
Date: 2024-09-26 14:45:15
Also in: dm-devel, linux-arm-msm, linux-doc, linux-fscrypt, linux-fsdevel, linux-mmc, linux-scsi, lkml

On Mon, Sep 9, 2024 at 1:23 PM Konrad Dybcio [off-list ref] wrote:
quoted
+
+     memzero_explicit(secret_buf, sw_secret_size);
+
+out_free_wrapped:
Is there a reason to zero out the buffer that's being zero-allocated?
It's my understanding that it is a good practice in crypto routines to
immediately and explicitly zero out the memory used for storing
secrets.

Bart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help