Re: Crypto API skcipher key size question

2019-07-30 Thread Herbert Xu
On Tue, Jul 30, 2019 at 04:51:15PM +, Pascal Van Leeuwen wrote: > Hi, > > Quick question about skcipher algorithms supporting only > a single keysize, i.e. having min_keysize = max_keysize: > > Do I need to do a key size check here or does the crypto > API already ensure the key size is betwe

Crypto API skcipher key size question

2019-07-30 Thread Pascal Van Leeuwen
Hi, Quick question about skcipher algorithms supporting only a single keysize, i.e. having min_keysize = max_keysize: Do I need to do a key size check here or does the crypto API already ensure the key size is between min and max? (and therefore guaranteed to be always correct here) Just trying