On Tue, Jul 30, 2019 at 04:51:15PM +0000, 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 between min and max? > (and therefore guaranteed to be always correct here) You don't need to. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt