Re: [PATCH 2/3] lib: rsa: Leverage existing data buffer instead of systematic copy

2022-04-11 Thread Tom Rini
On Wed, Mar 09, 2022 at 01:27:16AM -0800, SESA644425 wrote: > Prior to introduction of modifications in rsassa_pss functions > related to padding verification, doing a pass to reduce memory > consumption of function by replacing memory copies of parts of > const buffer by pointers to the original

Re: [PATCH 2/3] lib: rsa: Leverage existing data buffer instead of systematic copy

2022-03-11 Thread Simon Glass
Hi, On Wed, 9 Mar 2022 at 02:28, SESA644425 wrote: > > Prior to introduction of modifications in rsassa_pss functions > related to padding verification, doing a pass to reduce memory > consumption of function by replacing memory copies of parts of > const buffer by pointers to the original

[PATCH 2/3] lib: rsa: Leverage existing data buffer instead of systematic copy

2022-03-09 Thread SESA644425
Prior to introduction of modifications in rsassa_pss functions related to padding verification, doing a pass to reduce memory consumption of function by replacing memory copies of parts of const buffer by pointers to the original buffer (masked_db and h are subparts of msg buffer which is declared