pub fn decrypt(
components: &EcKeyComponents,
auth: &[u8],
data: &[u8]
) -> Result<Vec<u8>>
Expand description
Decrypt a block using the AES128GCM encryption scheme.
components
: The public and private key components of the local message recipientauth
: The authentication secret of the remote message recipientdata
: The encrypted data block
For the equivalent function using legacy AESGCM encryption scheme
use legacy::decrypt_aesgcm
.