1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/libsrtp
Tijl Coosemans bfc941deb4 Backport OpenSSL 1.1 support (and prerequisites) from libsrtp2.
84faa631a5
  Refactor memory allocation for the symmetric ciphers context structures.

5781341d99
  Use the OpenSSL HMAC implementation, and thus also the OpenSSL EVP_sha1()
  implementation.

  Experiments show about a 1.5x speedup on Intel CPUs with AVX2.

fb95445019
  When building with OpenSSL, pass the AES_ICM key to the EVP context (and
  thus, do AES key expansion) in srtp_cipher_init, not srtp_cipher_set_iv.

  This means that AES key expansion is done once per key, rather than once
  per packet, resulting in a 2-3x speedup for AES-128.

1acba56991
  When building with OpenSSL, pass the AES_GCM key to the EVP context (and
  thus, do AES key expansion) in srtp_cipher_init, not srtp_cipher_set_iv.

  Improves AES_GCM performance 2x-3x.

0b45423678
  Changes for OpenSSL 1.1.0 compatibility.

  In OpenSSL 1.1.0, EVP_CIPHER_CTX, HMAC_CTX, and EVP_MD_CTX are opaque
  types, and have to be allocated with *_new methods and deallocated with
  *_free.

  EVP_CIPHER_CTX_new/free is present in OpenSSL 1.0.1 and later, but
  HMAC_CTX_new and EVP_MD_CTX_new are new in OpenSSL 1.1.0.

  Use the _new unconditionally for ciphers, and conditionally use the old
  or new APIs for HMAC and MD.

  No noticible performance change for older OpenSSL.

PR:		228866
2018-06-11 08:18:30 +00:00
..
files Backport OpenSSL 1.1 support (and prerequisites) from libsrtp2. 2018-06-11 08:18:30 +00:00
distinfo
Makefile Backport OpenSSL 1.1 support (and prerequisites) from libsrtp2. 2018-06-11 08:18:30 +00:00
pkg-descr
pkg-plist