[asterisk-bugs] [JIRA] (ASTERISK-27356) [patch] libsrtp-2.x.x + AES-GCM support

Alexander Traud (JIRA) noreply at issues.asterisk.org
Mon Dec 25 00:54:41 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Traud updated ASTERISK-27356:
---------------------------------------

    Target Release Version/s:     (was: 13.19.0)

> [patch] libsrtp-2.x.x + AES-GCM support
> ---------------------------------------
>
>                 Key: ASTERISK-27356
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27356
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_srtp
>    Affects Versions: 14.6.0, 15.0.0
>            Reporter: Alexander Traud
>            Severity: Minor
>              Labels: patch
>      Target Release: 15.2.0
>
>         Attachments: libSRTP_2_x_x+GCM.patch
>
>
> Since ASTERISK-26976, libSRTP 2.x.x can be linked. However, the user might have linked libSRTP to OpenSSL. In that case, libSRTP supports AES-GCM which is auto-detected since ASTERISK-26190. Then, two additional DEFINEs are accessed in libSRTP. However, those were not covered by ASTERISK-26976 and therefore Asterisk does not compile when libSRTP 2.x.x with AES-GCM is present:
> {code}
>    [CC] res_srtp.c -> res_srtp.o
> res_srtp.c: In function ‘res_sdp_crypto_parse_offer’:
> res_srtp.c:901:22: error: ‘AES_128_GCM_KEYSIZE_WSALT’ undeclared (first use in this function)
>    key_len_expected = AES_128_GCM_KEYSIZE_WSALT;
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~
> res_srtp.c:901:22: note: each undeclared identifier is reported only once for each function it appears in
> res_srtp.c:906:22: error: ‘AES_256_GCM_KEYSIZE_WSALT’ undeclared (first use in this function)
>    key_len_expected = AES_256_GCM_KEYSIZE_WSALT;
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~
> Makefile.rules:149: recipe for target 'res_srtp.o' failed
> make[1]: *** [res_srtp.o] Error 1
> Makefile:367: recipe for target 'res' failed
> make: *** [res] Error 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list