diff options
author | Tom Lendacky <[email protected]> | 2014-09-05 10:31:09 -0500 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2014-09-24 14:23:34 +0800 |
commit | c9f21cb6388898bfe69886d001316dae7ecc9a4b (patch) | |
tree | 6ebee443acb2d588656f3a36c935ff383f8a5608 /tools/perf/scripts/python | |
parent | 413e55742a4f18da6173271ca66748e690997f30 (diff) |
crypto: ccp - Check for CCP before registering crypto algs
If the ccp is built as a built-in module, then ccp-crypto (whether
built as a module or a built-in module) will be able to load and
it will register its crypto algorithms. If the system does not have
a CCP this will result in -ENODEV being returned whenever a command
is attempted to be queued by the registered crypto algorithms.
Add an API, ccp_present(), that checks for the presence of a CCP
on the system. The ccp-crypto module can use this to determine if it
should register it's crypto alogorithms.
Cc: [email protected]
Reported-by: Scot Doyle <[email protected]>
Signed-off-by: Tom Lendacky <[email protected]>
Tested-by: Scot Doyle <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions