11.12.3.4.175. Function sss_asymmetric_decrypt

11.12.3.4.175.1. Function Documentation

sss_status_t sss_asymmetric_decrypt(sss_asymmetric_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)

Asymmetric decryption The function uses asymmetric algorithm to decrypt data. Private key portion of a key pair is used for decryption.

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