Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v2 0/1] Allow Non-Ephemeral ECC Key Sets
@ 2018-04-27 17:10 Brian Gix
  2018-04-27 17:10 ` [PATCH BlueZ v2 1/1] shared/ecc: Allow pre-composed Private Keys Brian Gix
  2018-04-30  7:19 ` [PATCH BlueZ v2 0/1] Allow Non-Ephemeral ECC Key Sets Luiz Augusto von Dentz
  0 siblings, 2 replies; 5+ messages in thread
From: Brian Gix @ 2018-04-27 17:10 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth; +Cc: Brian Gix

Version 2, to address uninitialized private_key issue, by adding a new
API. This is separates the two major tasks of generating ECC key sets,
which are:

a) Create a Private Key (Only used here when creating Ephemeral set)
b) Create the matching Public Key from the Private Key.

In hindsight, we may have wanted to call the original API something like
ecc_make_keys() or ecc_make_key_set() instead of the singlular ecc_make_key.
Making that change now will require more wide-reaching changes, however. But
I am willing to do it in a v3 if people think it better.

Some minor spelling/capitalization issues were also addressed

Mesh will be the first to use non-Ephemeral keys

Brian Gix (1):
  shared/ecc: Allow pre-composed Private Keys

 src/shared/ecc.c | 42 +++++++++++++++++++++++++++++-------------
 src/shared/ecc.h | 17 ++++++++++++++---
 2 files changed, 43 insertions(+), 16 deletions(-)

-- 
2.14.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-30 15:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27 17:10 [PATCH BlueZ v2 0/1] Allow Non-Ephemeral ECC Key Sets Brian Gix
2018-04-27 17:10 ` [PATCH BlueZ v2 1/1] shared/ecc: Allow pre-composed Private Keys Brian Gix
2018-04-30  8:46   ` Marcel Holtmann
2018-04-30 15:47     ` Gix, Brian
2018-04-30  7:19 ` [PATCH BlueZ v2 0/1] Allow Non-Ephemeral ECC Key Sets Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox