BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_DHWCtrl_AesDecrypt | ( | brp_protocol | protocol, |
brp_DHWCtrl_AesDecrypt_WrappedKeyNr | WrappedKeyNr, | ||
brp_buf | EncBlock, | ||
size_t | EncBlock_len, | ||
brp_buf | Key, | ||
size_t | Key_len, | ||
brp_buf * | Block, | ||
size_t * | Block_len, | ||
brp_mempool * | mempool | ||
) |
Decrypts a block.
[in] | protocol | used to execute the command |
[in] | WrappedKeyNr | |
[in] | EncBlock | Encrypted block to decrypt |
[in] | EncBlock_len | |
[in] | Key | Key to use for decryption |
[in] | Key_len | |
[out] | Block | Decrypted block |
[out] | Block_len | |
[in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |