Re: [PATCH v4] crypto: rsassa-pkcs1 - Avoid cacheline sharing with underlying driver

From: Changwei Zou

Date: Thu Jul 30 2026 - 08:46:06 EST


Hi Lukas,

I will move the new declaration up below the one for child_req.

Since out_buf is incremented later in the function rsassa_pkcs1_verify(),
key_buf was introduced to preserve the original address returned by kmalloc().

I tried the following approach, but it would require replacing all existing
occurrences of out_buf with ptr.

u8 *out_buf __free(kfree_sensitive) = NULL;

u8 *ptr;

ptr = out_buf;

Could you please give me some advice on this?
Thanks a lot.

Kind regards,
Changwei