Parent: 01404f570c67281b49cc6da6e3f9331309c3c9a2
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2021-05-19 22:54:40
Tree: f1eef9d6464e8b607d9d2dd9e2332e4a30450324
mesh: Normalize endian of public/private ECC keys The Mesh profile specification defines a Mesh byte order of Big Endian for Public keys used to calculate shared secrets. Further the specification sample data also show this same byte order for Private keys. However, our internal ECDH shared secret calculation requires Little Endian byte ordering. This fixes our DBus interface, and debugging output to use Mesh Byte Ordering (Big Endian) for all human readable input/output.
Diffstat
| M | mesh/prov-acceptor.c | | | 8 | +++++++- |
| M | mesh/prov-initiator.c | | | 3 | +++ |
2 files changed, 10 insertions(+), 1 deletions(-)