mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Build SRT from source by SRS. 4.0.115
This commit is contained in:
parent
262f0fc8c8
commit
90f1b482ab
115 changed files with 44513 additions and 19 deletions
22
trunk/3rdparty/srt-1-fit/haicrypt/cryspr-config.h
vendored
Normal file
22
trunk/3rdparty/srt-1-fit/haicrypt/cryspr-config.h
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef INC__CRYSPR_CONFIG_H
|
||||
#define INC__CRYSPR_CONFIG_H
|
||||
|
||||
// Size of the single block for encryption.
|
||||
// This might need tweaking for particular implementation library.
|
||||
#define CRYSPR_AESBLKSZ 16 /* 128-bit */
|
||||
|
||||
#if defined(USE_OPENSSL)
|
||||
#include "cryspr-openssl.h"
|
||||
#define cryspr4SRT() crysprOpenSSL()
|
||||
#elif defined(USE_GNUTLS)
|
||||
#include "cryspr-gnutls.h"
|
||||
#define cryspr4SRT() crysprGnuTLS()
|
||||
#elif defined(USE_MBEDTLS)
|
||||
#include "cryspr-mbedtls.h"
|
||||
#define cryspr4SRT() crysprMbedtls()
|
||||
#else
|
||||
#error Cryspr implementation not selected. Please define USE_* + OPENSSL/GNUTLS/MBEDTLS.
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue