/linux/drivers/crypto/caam/ |
H A D | error.h | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | error.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | key_gen.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | qi.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caampkc.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caamalg_qi2.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caamalg_qi.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caamhash.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caamalg.c | diff 1984aaeec372fbfb597883074253d290cbd543d4 Wed Jul 31 15:08:03 CEST 2019 Horia Geantă <horia.geanta@nxp.com> crypto: caam - fix return code in completion callbacks
Modify drive to provide a valid errno (and not the HW error ID) to the user, via completion callbacks.
A "valid errno" is currently not explicitly mentioned in the docs, however the error code is expected to match the one returned by the generic SW implementation.
Note: in most error cases caam/qi and caam/qi2 returned -EIO; align all caam drivers to return -EINVAL.
While here, ratelimit prints triggered by fuzz testing, such that console is not flooded.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|