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

2020-06-24 Thread Ard Biesheuvel
On Wed, 24 Jun 2020 at 18:32, Eric Biggers wrote: > > On Wed, Jun 24, 2020 at 03:34:27PM +0200, Ard Biesheuvel wrote: > > 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] net: phy: mscc: avoid skcipher API for single block AES encryption

2020-06-24 Thread Eric Biggers
On Wed, Jun 24, 2020 at 03:34:27PM +0200, Ard Biesheuvel wrote: > 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

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

2020-06-24 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