# Enabling AES\_256\_GCM encryption suite

**URL:** <https://community.asterisk.org/t/enabling-aes-256-gcm-encryption-suite/98345>\
**Category:** Asterisk SIP\
**Created:** [August 24, 2023, 4:39am UTC](https://community.asterisk.org/t/enabling-aes-256-gcm-encryption-suite/98345 "2023-08-24T04:39:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aravind090](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Aravind090](https://community.asterisk.org/u/Aravind090)\
**Post date:** [August 24, 2023, 4:39am UTC](https://community.asterisk.org/t/enabling-aes-256-gcm-encryption-suite/98345/1 "2023-08-24T04:39:07Z")

</div>

Hello Everyone,

I am trying to enable the AES\_256\_GCM crypto suite on asterisk 18. I tried below things but didn’t work. Can some one help me on that.

1. CFLAGS=‘-DENABLE\_SRTP\_AES\_GCM’ ./configure (It is enabling 128 bit GCM but not 256)
2. CFLAGS=‘-DENABLE\_SRTP\_AES\_256\_GCM’ ./configure(Not working)
3. CFLAGS=‘-DENABLE\_SRTP\_AES\_GCM\_256’ ./configure(not working)

Please let me know using which flag we can enable the AES\_256\_GCM crypto suite.

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [August 24, 2023, 8:54am UTC](https://community.asterisk.org/t/enabling-aes-256-gcm-encryption-suite/98345/2 "2023-08-24T08:54:49Z")

</div>

According to the source code I believe it would be:

```auto
CFLAGS=‘-DENABLE_SRTP_AES_GCM -DENABLE_SRTP_AES_256’ ./configure

```

---

<div class="post-metadata">

**Author:** ![Aravind090](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Aravind090](https://community.asterisk.org/u/Aravind090)\
**Post date:** [August 24, 2023, 10:16am UTC](https://community.asterisk.org/t/enabling-aes-256-gcm-encryption-suite/98345/3 "2023-08-24T10:16:21Z")

</div>

Its working !! Thankyou

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [September 23, 2023, 10:16am UTC](https://community.asterisk.org/t/enabling-aes-256-gcm-encryption-suite/98345/4 "2023-09-23T10:16:22Z")

</div>

Closed on September 23, 2023, 10:16am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
