Searched hist:"7 ba683a6deba70251756aa5a021cdaa5c875a7a2" (Results 1 – 4 of 4) sorted by relevance
/linux/crypto/ |
H A D | aead.c | diff 7ba683a6deba70251756aa5a021cdaa5c875a7a2 Sun Dec 02 08:49:21 CET 2007 Herbert Xu <herbert@gondor.apana.org.au> [CRYPTO] aead: Make authsize a run-time parameter
As it is authsize is an algorithm paramter which cannot be changed at run-time. This is inconvenient because hardware that implements such algorithms would have to register each authsize that they support separately.
Since authsize is a property common to all AEAD algorithms, we can add a function setauthsize that sets it at run-time, just like setkey.
This patch does exactly that and also changes authenc so that authsize is no longer a parameter of its template.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | gcm.c | diff 7ba683a6deba70251756aa5a021cdaa5c875a7a2 Sun Dec 02 08:49:21 CET 2007 Herbert Xu <herbert@gondor.apana.org.au> [CRYPTO] aead: Make authsize a run-time parameter
As it is authsize is an algorithm paramter which cannot be changed at run-time. This is inconvenient because hardware that implements such algorithms would have to register each authsize that they support separately.
Since authsize is a property common to all AEAD algorithms, we can add a function setauthsize that sets it at run-time, just like setkey.
This patch does exactly that and also changes authenc so that authsize is no longer a parameter of its template.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | authenc.c | diff 7ba683a6deba70251756aa5a021cdaa5c875a7a2 Sun Dec 02 08:49:21 CET 2007 Herbert Xu <herbert@gondor.apana.org.au> [CRYPTO] aead: Make authsize a run-time parameter
As it is authsize is an algorithm paramter which cannot be changed at run-time. This is inconvenient because hardware that implements such algorithms would have to register each authsize that they support separately.
Since authsize is a property common to all AEAD algorithms, we can add a function setauthsize that sets it at run-time, just like setkey.
This patch does exactly that and also changes authenc so that authsize is no longer a parameter of its template.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
/linux/include/linux/ |
H A D | crypto.h | diff 7ba683a6deba70251756aa5a021cdaa5c875a7a2 Sun Dec 02 08:49:21 CET 2007 Herbert Xu <herbert@gondor.apana.org.au> [CRYPTO] aead: Make authsize a run-time parameter
As it is authsize is an algorithm paramter which cannot be changed at run-time. This is inconvenient because hardware that implements such algorithms would have to register each authsize that they support separately.
Since authsize is a property common to all AEAD algorithms, we can add a function setauthsize that sets it at run-time, just like setkey.
This patch does exactly that and also changes authenc so that authsize is no longer a parameter of its template.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|