Commit 1ed1618e authored by Matthieu Tanon's avatar Matthieu Tanon Committed by johan

Add note on ZRTP auxiliary secret use by LIMEv2

parent 580cc66e
......@@ -416,6 +416,9 @@ BZRTP_EXPORT int bzrtp_getChannelStatus(bzrtpContext_t *zrtpContext, uint32_t se
* @param[in] auxSecretLength lenght of the previous buffer
*
* @return 0 on success, error code otherwise
*
* @note The auxiliary shared secret mechanic is used by LIMEv2 for encryption security purposes but might be used for its original purpose in a regular
* ZRTP session if it becomes necessary in the future, or by another encryption engine for example. In that case the API will need an adaptation work.
*/
BZRTP_EXPORT int bzrtp_setAuxiliarySharedSecret(bzrtpContext_t *zrtpContext, const uint8_t *auxSecret, size_t auxSecretLength);
......
......@@ -952,6 +952,9 @@ int bzrtp_getSelfHelloHash(bzrtpContext_t *zrtpContext, uint32_t selfSSRC, uint8
* @param[in] auxSecretLength lenght of the previous buffer
*
* @return 0 on success, error code otherwise
*
* @note The auxiliary shared secret mechanic is used by LIMEv2 for encryption security purposes but might be used for its original purpose in a regular
* ZRTP session if it becomes necessary in the future, or by another encryption engine for example. In that case the API will need an adaptation work.
*/
int bzrtp_setAuxiliarySharedSecret(bzrtpContext_t *zrtpContext, const uint8_t *auxSecret, size_t auxSecretLength) {
if (zrtpContext == NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment