C API for BALTECH SDK

§ brp_DHWCtrl_AesWrapKey()

brp_errcode brp_DHWCtrl_AesWrapKey ( brp_protocol  protocol,
brp_DHWCtrl_AesWrapKey_WrappedKeyNr  WrappedKeyNr,
brp_buf  Key,
size_t  Key_len,
brp_buf WrappedKey,
size_t *  WrappedKey_len,
brp_mempool mempool 
)

Wraps an AES key for secure storage

Parameters
[in]protocolused to execute the command
[in]WrappedKeyNr
[in]KeyKey to use for wrapping
[in]Key_len
[out]WrappedKeyWrapped key
[out]WrappedKey_len
[in]mempoolis 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