Mbed OS Reference
Loading...
Searching...
No Matches
ecc_key_t Struct Reference

Structure definition to carry pointer and size information about an Elliptic curve key which is stored in a buffer(key_buf) in raw format (without encoding): More...

#include <tfm_plat_crypto_keys.h>

Detailed Description

Structure definition to carry pointer and size information about an Elliptic curve key which is stored in a buffer(key_buf) in raw format (without encoding):

  • priv_key Base address of the private key in key_buf. It must be present on the device.
  • priv_key_size Size of the private key in bytes.
  • pubx_key Base address of x-coordinate of the public key in key_buf. It can be empty, because it can be recomputed based on private key.
  • pubx_key_size Length of x-coordinate of the public key in key_buf. It can be empty, because it can be recomputed based on private key.
  • puby_key Base address of y-coordinate of the public key in key_buf. It can be empty, because either it can be recomputed based on private key or some curve type works without it.
  • puby_key_size Length of y-coordinate of the public key in key_buf.

Definition at line 54 of file tfm_plat_crypto_keys.h.