Ignore:
Timestamp:
Aug 8, 2016 9:09:29 AM (8 years ago)
Author:
ming
Message:

Re #1943: AES-GCM crypto support for SRTP

Special thanks to Alexander Traud for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r5410 r5412  
    954954 
    955955/** 
     956 * Maximum number of SRTP cryptos. 
     957 * 
     958 * Default: 16 
     959 */ 
     960#ifndef PJMEDIA_SRTP_MAX_CRYPTOS 
     961#   define PJMEDIA_SRTP_MAX_CRYPTOS                 16 
     962#endif 
     963 
     964 
     965/** 
     966 * Enable AES_CM_256 cryptos in SRTP. 
     967 * Default: enabled. 
     968 */ 
     969#ifndef PJMEDIA_SRTP_HAS_AES_CM_256 
     970#   define PJMEDIA_SRTP_HAS_AES_CM_256              1 
     971#endif 
     972 
     973 
     974/** 
     975 * Enable AES_CM_192 cryptos in SRTP 
     976 * Default: disabled. 
     977 */ 
     978#ifndef PJMEDIA_SRTP_HAS_AES_CM_192 
     979#   define PJMEDIA_SRTP_HAS_AES_CM_192              0 
     980#endif 
     981 
     982 
     983/** 
     984 * Enable AES_CM_128 cryptos in SRTP. 
     985 * Default: enabled. 
     986 */ 
     987#ifndef PJMEDIA_SRTP_HAS_AES_CM_128 
     988#   define PJMEDIA_SRTP_HAS_AES_CM_128              1 
     989#endif 
     990 
     991 
     992/** 
     993 * Enable AES_GCM_256 cryptos in SRTP. 
     994 * Default: disabled. 
     995 */ 
     996#ifndef PJMEDIA_SRTP_HAS_AES_GCM_256 
     997#   define PJMEDIA_SRTP_HAS_AES_GCM_256             0 
     998#endif 
     999 
     1000 
     1001/** 
     1002 * Enable AES_GCM_128 cryptos in SRTP. 
     1003 * Default: disabled. 
     1004 */ 
     1005#ifndef PJMEDIA_SRTP_HAS_AES_GCM_128 
     1006#   define PJMEDIA_SRTP_HAS_AES_GCM_128             0 
     1007#endif 
     1008 
     1009 
     1010/** 
    9561011 * Let the library handle libsrtp initialization and deinitialization. 
    9571012 * Application may want to disable this and manually perform libsrtp 
Note: See TracChangeset for help on using the changeset viewer.