Re: [PATCH v5 5/8] lib: rsa: free local arrays after use in rsa_gen_key_prop()

2020-05-25 Thread Heiko Stübner
Am Freitag, 22. Mai 2020, 16:19:34 CEST schrieb Heiko Stuebner: > From: Heiko Stuebner > > n, rr and rrtmp are used for internal calculations, but in the end > the results are copied into separately allocated elements of the > actual key_prop, so the n, rr and rrtmp elements are not used anymore

[PATCH v5 5/8] lib: rsa: free local arrays after use in rsa_gen_key_prop()

2020-05-22 Thread Heiko Stuebner
From: Heiko Stuebner n, rr and rrtmp are used for internal calculations, but in the end the results are copied into separately allocated elements of the actual key_prop, so the n, rr and rrtmp elements are not used anymore when returning from the function and should of course be freed. Signed-of