Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Daf_alg.c3f69cc60 Thu Apr 06 03:16:09 CDT 2017 Herbert Xu <herbert@gondor.apana.org.au> crypto: af_alg - Allow arbitrarily long algorithm names

This patch removes the hard-coded 64-byte limit on the length
of the algorithm name through bind(2). The address length can
now exceed that. The user-space structure remains unchanged.
In order to use a longer name simply extend the salg_name array
beyond its defined 64 bytes length.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
3f69cc60 Thu Apr 06 03:16:09 CDT 2017 Herbert Xu <herbert@gondor.apana.org.au> crypto: af_alg - Allow arbitrarily long algorithm names

This patch removes the hard-coded 64-byte limit on the length
of the algorithm name through bind(2). The address length can
now exceed that. The user-space structure remains unchanged.
In order to use a longer name simply extend the salg_name array
beyond its defined 64 bytes length.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>