11.12.3.4.290. Function sss_se05x_key_store_set_key

11.12.3.4.290.1. Function Documentation

sss_status_t sss_se05x_key_store_set_key(sss_se05x_key_store_t *keyStore, sss_se05x_object_t *keyObject, const uint8_t *data, size_t dataLen, size_t keyBitLen, void *options, size_t optionsLen)

This function moves data[] from memory to the destination key store.

Return

Parameters
  • keyStore: Key store context

  • keyObject: Reference to a key and it’s properties

  • data: Data to be stored in Key. When setting ecc private key only, do not include key header.

  • dataLen: Length of the data

  • keyBitLen: Crypto algorithm key bit length

  • options: Pointer to implementation specific options

  • optionsLen: Length of the options in bytes