On 28 December 2016 at 09:23, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > On Wed, Dec 28, 2016 at 09:19:32AM +0000, Ard Biesheuvel wrote: >> >> Ok, so that implies a field in the skcipher algo struct then, rather than some definition internal to the driver? > > Oh yes it should definitely be visible to other crypto API drivers > and algorithms. It's just that we don't want to export it outside > of the crypto API, e.g., to IPsec or algif. > Understood. So about this chunksize, is it ever expected to assume other values than 1 (for stream ciphers) or the block size (for block ciphers)? Having block size, IV size *and* chunk size fields may be confusing to some already, so if the purpose of chunk size can be fulfilled by a single 'stream cipher' flag, perhaps we should change that first. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html