Re: [PATCH 18/18] keyctl_pkey: Add pkey parameter slen to pass in PSS salt length

2021-03-31 Thread Jarkko Sakkinen
On Tue, Mar 30, 2021 at 10:28:29PM +0200, Varad Gautam wrote: > keyctl pkey_* operations accept enc and hash parameters at present. > RSASSA-PSS signatures also require passing in the signature salt > length. > > Add another parameter 'slen' to feed in salt length of a PSS > signature. > > Signed

[PATCH 18/18] keyctl_pkey: Add pkey parameter slen to pass in PSS salt length

2021-03-30 Thread Varad Gautam
keyctl pkey_* operations accept enc and hash parameters at present. RSASSA-PSS signatures also require passing in the signature salt length. Add another parameter 'slen' to feed in salt length of a PSS signature. Signed-off-by: Varad Gautam --- crypto/asymmetric_keys/asymmetric_type.c | 1 + in