Re: [PATCH v2 0/3] crypto: fix regression in hash result buffer handling

2024-10-21 Thread Daniel P . Berrangé
On Wed, Oct 16, 2024 at 07:33:56PM +0600, Dorjoy Chowdhury wrote: > On Wed, Oct 16, 2024 at 4:20 PM Daniel P. Berrangé > wrote: > > > > > > > > Daniel P. Berrangé (3): > > crypto/hash: avoid overwriting user supplied result pointer > > tests: correctly validate result buffer in hash/hmac test

Re: [PATCH v2 0/3] crypto: fix regression in hash result buffer handling

2024-10-16 Thread Dorjoy Chowdhury
On Wed, Oct 16, 2024 at 4:20 PM Daniel P. Berrangé wrote: > > > > Daniel P. Berrangé (3): > crypto/hash: avoid overwriting user supplied result pointer > tests: correctly validate result buffer in hash/hmac tests > include/crypto: clarify @result/@result_len for hash/hmac APIs > > crypto/ha

[PATCH v2 0/3] crypto: fix regression in hash result buffer handling

2024-10-16 Thread Daniel P . Berrangé
Daniel P. Berrangé (3): crypto/hash: avoid overwriting user supplied result pointer tests: correctly validate result buffer in hash/hmac tests include/crypto: clarify @result/@result_len for hash/hmac APIs crypto/hash-gcrypt.c | 15 --- crypto/hash-glib.c