Re: [PATCH v2] net: phy: mscc: avoid skcipher API for single block AES encryption

2020-06-25 Thread Ard Biesheuvel
On Thu, 25 Jun 2020 at 21:16, David Miller wrote: > > From: Ard Biesheuvel > Date: Thu, 25 Jun 2020 09:18:16 +0200 > > > The skcipher API dynamically instantiates the transformation object > > on request that implements the requested algorithm optimally on the > > given platform. This notion of o

Re: [PATCH v2] net: phy: mscc: avoid skcipher API for single block AES encryption

2020-06-25 Thread David Miller
From: Ard Biesheuvel Date: Thu, 25 Jun 2020 09:18:16 +0200 > The skcipher API dynamically instantiates the transformation object > on request that implements the requested algorithm optimally on the > given platform. This notion of optimality only matters for cases like > bulk network or disk enc

Re: [PATCH v2] net: phy: mscc: avoid skcipher API for single block AES encryption

2020-06-25 Thread Antoine Tenart
Hello Ard, Quoting Ard Biesheuvel (2020-06-25 09:18:16) > The skcipher API dynamically instantiates the transformation object > on request that implements the requested algorithm optimally on the > given platform. This notion of optimality only matters for cases like > bulk network or disk encrypt

[PATCH v2] net: phy: mscc: avoid skcipher API for single block AES encryption

2020-06-25 Thread Ard Biesheuvel
The skcipher API dynamically instantiates the transformation object on request that implements the requested algorithm optimally on the given platform. This notion of optimality only matters for cases like bulk network or disk encryption, where performance can be a bottleneck, or in cases where the