diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-06-09 12:05:54 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-07-05 13:22:35 +0800 |
| commit | 3e84fb698abada239d3e35ed3d52a24dbfda5f6a (patch) | |
| tree | add450a074bcb579a0c04c7e8fb56380f85a946b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4c7a4a34048eb3fd7fd5d1d7304278d742f99f1a (diff) | |
crypto: atmel-ecc - clean up and improve ECDH comments
Improve the kerneldoc for struct atmel_ecdh_ctx by removing the stale
"unsupported curves" wording, since the device only supports a single
curve (P-256), and move the set_secret() constraint to the description.
In atmel_ecdh_set_secret(), clarify that the device generates the
private key, and drop the redundant "only supports NIST P256" comment.
In atmel_ecdh_done() and atmel_ecdh_generate_public_key(), clarify the
truncation comments. Also note that a P-256 public key consists of two
32-byte coordinates in atmel_ecdh_compute_shared_secret(), and remove
the unnecessary fall-through comment and other redundant comments.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
