diff options
| author | Eric Biggers <[email protected]> | 2019-03-31 13:04:16 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-04-08 14:42:55 +0800 |
| commit | 5e27f38f1f3f45a0c938299c3a34a2d2db77165a (patch) | |
| tree | 9b6e91b325c5b4f941044f624f051504cd495e25 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | dcaca01a42cc2c425154a13412b4124293a6e11e (diff) | |
crypto: chacha20poly1305 - set cra_name correctly
If the rfc7539 template is instantiated with specific implementations,
e.g. "rfc7539(chacha20-generic,poly1305-generic)" rather than
"rfc7539(chacha20,poly1305)", then the implementation names end up
included in the instance's cra_name. This is incorrect because it then
prevents all users from allocating "rfc7539(chacha20,poly1305)", if the
highest priority implementations of chacha20 and poly1305 were selected.
Also, the self-tests aren't run on an instance allocated in this way.
Fix it by setting the instance's cra_name from the underlying
algorithms' actual cra_names, rather than from the requested names.
This matches what other templates do.
Fixes: 71ebc4d1b27d ("crypto: chacha20poly1305 - Add a ChaCha20-Poly1305 AEAD construction, RFC7539")
Cc: <[email protected]> # v4.2+
Cc: Martin Willi <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Martin Willi <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions