Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add authtag HS80 support #1

Closed
juha-h opened this issue Apr 27, 2017 · 1 comment
Closed

add authtag HS80 support #1

juha-h opened this issue Apr 27, 2017 · 1 comment

Comments

@juha-h
Copy link

juha-h commented Apr 27, 2017

This patch adds authtag HS80 support to the lib.

*** /tmp/zrtp.c 2017-04-27 22:16:39.478109117 +0300
--- libzrtp/src/zrtp.c 2017-04-27 22:07:02.999066420 +0300


*** 810,815 ****
--- 810,816 ----
profile->cipher_types[0] = ZRTP_CIPHER_AES256;
profile->cipher_types[1] = ZRTP_CIPHER_AES128;
profile->auth_tag_lens[0] = ZRTP_ATL_HS32;

  • profile->auth_tag_lens[1] = ZRTP_ATL_HS80;
    profile->hash_schemes[0] = ZRTP_HASH_SHA256;

    if (zrtp && (ZRTP_LICENSE_MODE_PASSIVE == zrtp->lic_mode)) {


*** 865,871 ****
ZRTP_LOG(1, (ZTU,"WARNING! can't find '32 ' in profile.\n"));
return zrtp_status_fail;
}
!
/*
* Check that each component in the profile is in the global set of components.
/
--- 866,877 ----
ZRTP_LOG(1, (ZTU,"WARNING! can't find '32 ' in profile.\n"));
return zrtp_status_fail;
}
!
! if (0 > zrtp_profile_find(profile, ZRTP_CC_ATL, ZRTP_ATL_HS80)) {
! ZRTP_LOG(1, (ZTU,"WARNING! can't find '80 ' in profile.\n"));
! return zrtp_status_fail;
! }
!
/

* Check that each component in the profile is in the global set of components.
*/

@juha-h
Copy link
Author

juha-h commented May 7, 2017

Will create proper pull request.

@juha-h juha-h closed this as completed May 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant