Searched hist:"0 df4adf8682a017e43579ac8c9ec1a31c538e940" (Results 1 – 4 of 4) sorted by relevance
/linux/include/crypto/ |
H A D | aead.h | diff 0df4adf8682a017e43579ac8c9ec1a31c538e940 Thu Feb 16 11:35:11 CET 2023 Herbert Xu <herbert@gondor.apana.org.au> crypto: aead - Count error stats differently
Move all stat code specific to aead into the aead code.
While we're at it, change the stats so that bytes and counts are always incremented even in case of error. This allows the reference counting to be removed as we can now increment the counters prior to the operation.
After the operation we simply increase the error count if necessary. This is safe as errors can only occur synchronously (or rather, the existing code already ignored asynchronous errors which are only visible to the callback function).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
/linux/crypto/ |
H A D | aead.c | diff 0df4adf8682a017e43579ac8c9ec1a31c538e940 Thu Feb 16 11:35:11 CET 2023 Herbert Xu <herbert@gondor.apana.org.au> crypto: aead - Count error stats differently
Move all stat code specific to aead into the aead code.
While we're at it, change the stats so that bytes and counts are always incremented even in case of error. This allows the reference counting to be removed as we can now increment the counters prior to the operation.
After the operation we simply increase the error count if necessary. This is safe as errors can only occur synchronously (or rather, the existing code already ignored asynchronous errors which are only visible to the callback function).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | algapi.c | diff 0df4adf8682a017e43579ac8c9ec1a31c538e940 Thu Feb 16 11:35:11 CET 2023 Herbert Xu <herbert@gondor.apana.org.au> crypto: aead - Count error stats differently
Move all stat code specific to aead into the aead code.
While we're at it, change the stats so that bytes and counts are always incremented even in case of error. This allows the reference counting to be removed as we can now increment the counters prior to the operation.
After the operation we simply increase the error count if necessary. This is safe as errors can only occur synchronously (or rather, the existing code already ignored asynchronous errors which are only visible to the callback function).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
/linux/include/linux/ |
H A D | crypto.h | diff 0df4adf8682a017e43579ac8c9ec1a31c538e940 Thu Feb 16 11:35:11 CET 2023 Herbert Xu <herbert@gondor.apana.org.au> crypto: aead - Count error stats differently
Move all stat code specific to aead into the aead code.
While we're at it, change the stats so that bytes and counts are always incremented even in case of error. This allows the reference counting to be removed as we can now increment the counters prior to the operation.
After the operation we simply increase the error count if necessary. This is safe as errors can only occur synchronously (or rather, the existing code already ignored asynchronous errors which are only visible to the callback function).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|