[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v7 4/7] crypto: add ecc curve and expose them
On Wed, Feb 03, 2021 at 03:03:44PM -0300, Saulo Alessandre wrote:
> In this patch I'm using akcipher allocate like ecdsa(sha1,sha256,...),
> because the ecdsa algo is generic, and using the curve name and ndigits
> inside vli_mmod_fast to discover the curve, but I agree the correct way
> would be allocate ecdsa-nist-p521(sha1,...) and have all params for the
> curve inside strut ecc_curve, remembering that we have anothers curves
> incoming, like Edwards.

I'm not sure whether we really should encode hash into the algorithm
name. This may be something that we can move into setkey instead.

Email: Herbert Xu <>
Home Page:
PGP Key:

 \ /
  Last update: 2021-02-04 06:43    [W:0.168 / U:1.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site