11.12.3.4.242. Function sss_se05x_asymmetric_encrypt

11.12.3.4.242.1. Function Documentation

sss_status_t sss_se05x_asymmetric_encrypt(sss_se05x_asymmetric_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)

Asymmetric encryption The function uses asymmetric algorithm to encrypt data. Public key portion of a key pair is used for encryption.

Return

Status of the operation

Parameters
  • context: Pointer to asymmetric context.

  • srcData: Input buffer

  • srcLen: Length of the input in bytes

  • destData: Output buffer

  • destLen: Length of the output in bytes

Return Value