diff options
| author | 2026-06-09 12:05:54 +0200 | |
|---|---|---|
| committer | 2026-07-05 13:22:35 +0800 | |
| commit | 3e84fb698abada239d3e35ed3d52a24dbfda5f6a (patch) | |
| tree | add450a074bcb579a0c04c7e8fb56380f85a946b /scripts/Makefile.thinlto | |
| parent | crypto: atmel-i2c - improve comment in atmel_i2c_init_ecdh_cmd (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
