Home
last modified time | relevance | path

Searched hist:"1 c23b466" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/crypto/
H A Drsa.c1c23b466 Thu May 25 02:18:13 CDT 2017 Tudor-Dan Ambarus <tudor.ambarus@microchip.com> crypto: rsa - comply with crypto_akcipher_maxsize()

crypto_akcipher_maxsize() asks for the output buffer size without
caring for errors. It allways assume that will be called after
a valid setkey. Comply with it and return what he wants.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1c23b466 Thu May 25 02:18:13 CDT 2017 Tudor-Dan Ambarus <tudor.ambarus@microchip.com> crypto: rsa - comply with crypto_akcipher_maxsize()

crypto_akcipher_maxsize() asks for the output buffer size without
caring for errors. It allways assume that will be called after
a valid setkey. Comply with it and return what he wants.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>