Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chacha20 poly1305 #439

Open
wants to merge 83 commits into
base: chacha20_poly1305_dev
Choose a base branch
from
Open

Commits on Jan 24, 2018

  1. Add fuzzer

    Signed-off-by: Guido Vranken <[email protected]>
    guidovranken committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    ff1b3c9 View commit details
    Browse the repository at this point in the history
  2. Build with -g (debugging information) for more detailed sanitizer sta…

    …ck traces
    
    Signed-off-by: Guido Vranken <[email protected]>
    guidovranken committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    89d1395 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2018

  1. Configuration menu
    Copy the full SHA
    60b59a5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Remove --debug mode

    guidovranken committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    451dcfd View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2018

  1. Configuration menu
    Copy the full SHA
    3d05ffa View commit details
    Browse the repository at this point in the history
  2. Add corpus

    guidovranken committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    6655fd5 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2018

  1. Configuration menu
    Copy the full SHA
    79d516c View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2019

  1. Configuration menu
    Copy the full SHA
    35816c7 View commit details
    Browse the repository at this point in the history
  2. Makefile: fix clean

    guidovranken committed Feb 24, 2019
    Configuration menu
    Copy the full SHA
    1cd7152 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ae9f85 View commit details
    Browse the repository at this point in the history
  4. Use CXXFLAGS

    guidovranken committed Feb 24, 2019
    Configuration menu
    Copy the full SHA
    f7c9d7f View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2019

  1. Configuration menu
    Copy the full SHA
    ef704df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    849ab5e View commit details
    Browse the repository at this point in the history
  3. Remove --enable-asan, --enable-ubsan, --enable-code-coverage: compile…

    … flags can be inhereted from env
    guidovranken committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    608838f View commit details
    Browse the repository at this point in the history

Commits on May 11, 2019

  1. Configuration menu
    Copy the full SHA
    b0f6ff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64a3957 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. output counters of rtp_decoder

    Indicate both successful decodes and errors.
    pabuhler committed May 15, 2019
    Configuration menu
    Copy the full SHA
    eaa8a9b View commit details
    Browse the repository at this point in the history
  2. change ssrc type of rtp_decoder to ssrc_any_inbound

    Previously the type ssrc_specific was used, this effectively
    meant that only the first SSRC in the input would ever be able
    to be decoded.
    This would be ok in some cases but the input is never validated
    so when processing pcap files the first packet would bet treated
    as an RTP packet regardless of its actual content.
    By changing to ssrc_any_inbound, rtp_decoder becomes more flexible
    and supports SSRC multiplexing.
    pabuhler committed May 15, 2019
    Configuration menu
    Copy the full SHA
    7486bcc View commit details
    Browse the repository at this point in the history
  3. extend rtp_decoder to support rtcp

    Add -m flag to set the mode to either rtp (default), rtcp
    or rtcp-mux (rfc5761).
    pabuhler committed May 15, 2019
    Configuration menu
    Copy the full SHA
    5a63104 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. rtp_decoder fix checking against tag size

    The key size was incorrectly used to determine the
    policy function to use. The correct variable to check
    against was the tag size.
    pabuhler committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    4d80578 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. fix is rtp check

    pabuhler committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    4ef280d View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2019

  1. Merge pull request cisco#447 from pabuhler/rtp_decoder_check_tag_size

    rtp_decoder fix checking against tag size
    pabuhler committed Jun 5, 2019
    Configuration menu
    Copy the full SHA
    1090fea View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. Merge pull request cisco#444 from pabuhler/extend-rtp-decoder

    Extend rtp_ecoder to support RTCP and multiplexed SSRC's
    pabuhler committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    b0f48a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Add CMake build file

    This can potentially replace the visual studio build files.
    
    These can now be generated with e.g.:
    
      cmake . -G "Visual Studio 15"
    
    Or for 64 bit:
    
      cmake . -G "Visual Studio 15 2017 Win64"
    
    Also updated readme to reflect this.
    Johan 't Hart committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    23a3ce1 View commit details
    Browse the repository at this point in the history
  2. Make compilable in C89

    So it also compiles in Visual Studio 2012 which uses C89.
    Johan 't Hart committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    c4bd93d View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2019

  1. Format code based on libSRTP code format guide.

    If this code is to be in the libSRTP repo and it
    is libSRTP specific then it is reasonable that it
    follows the libSRTP format guide.
    pabuhler committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    803fcb2 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. regenerate configure

    required to get Makefile on fuzzer directory
    pabuhler committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    ac97f3e View commit details
    Browse the repository at this point in the history
  2. Add building of fuzzer to travis

    The intention is not to run the fuzzer but to
    ensure build breakage is detected.
    
    Requires a newish version of clang so bump distro
    to xenial
    pabuhler committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    277eaaf View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master'

    # Conflicts:
    #	test/rtp_decoder.c
    pabuhler committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    eb27e85 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2019

  1. crypto/cipher: Reset the EVP_CIPHER_CTX structure before each test

    Reusing a EVP_CIPHER_CTX between EVP_*Init_ex() calls is not allowed
    unless one calls EVP_CIPHER_CTX_init() first.
    
    EVP_EncryptInit_ex() expects the cipher context to be initialized, which
    isn't done by EVP_CIPHER_CTX_new() in OpenSSL-1.1.x.
    henribak-te committed Jun 27, 2019
    Configuration menu
    Copy the full SHA
    20cd0d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Merge pull request cisco#442 from guidovranken/fuzzing

    Implement fuzzers
    pabuhler committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    f668f20 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cisco#449 from Jopie64/master

    Make it easy to use lib in VS2012
    pabuhler committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    5c3c739 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Use EVP_CIPHER_CTX_cleanup instead

    With openssl 1.1 this will map to the same
    EVP_CIPHER_CTX_reset function.
    With older version it will ensure memory is
    released when the ctx is reused.
    pabuhler committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    0912953 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Merge pull request cisco#452 from hbakken/work/reset-cipher-ctx-befor…

    …e-reuse
    
    crypto/cipher: Reset the EVP_CIPHER_CTX structure before each test
    pabuhler committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    bff011b View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. Configuration menu
    Copy the full SHA
    d268abd View commit details
    Browse the repository at this point in the history
  2. Update cmake to support most of the options available with configure

    Remove hard coded config and allow cmake to be used
    on windows, linux & osx
    
    Adds support for debugging and openssl.
    Add high level test apps.
    pabuhler committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    3b35432 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12ab659 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. When using cmake generate config.h into CMAKE_CURRENT_BINARY_DIR

    This enables multiple builds from same source tree.
    
    Ensure previous build is cleaned up in travis before
    running cmake
    pabuhler committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    ac1d740 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

  1. Merge pull request cisco#455 from pabuhler/cmake-support

    cmake support
    pabuhler committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    9b77ac5 View commit details
    Browse the repository at this point in the history
  2. Add cmake check for inline

    Not supported on older msvc version and
    was previously hard coded.
    pabuhler committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    6dd5f6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ade1cb View commit details
    Browse the repository at this point in the history
  4. remove support for rand_s in tests

    Since rand_s is only supported on windows
    and this functions is only for tests.
    pabuhler committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    3e29307 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. if inline is not supported check for __inline

    This preserves the exisiting behaviour if
    config.h_win32vc7 was used.
    pabuhler committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    adfe809 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b173a64 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2019

  1. Merge pull request cisco#457 from Sean-Der/master

    Fix docs crypto_policy_* -> srtp_crypto_policy_*
    pabuhler committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    e95cf69 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Merge pull request cisco#456 from pabuhler/vc2010-support

    vc 2010 support
    pabuhler committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    e8629b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Add missing symbols to export into srtp.def

    srtp_protect_mki
    srtp_unprotect_mki
    srtp_protect_rtcp_mki
    srtp_unprotect_rtcp_mki
    srtp_set_stream_roc
    srtp_get_stream_roc
    xhaakon committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    21c114f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. support building shared library on windows

    Add remaining symbols to def file.
    Add srtp prefix to all exported symbols.
    Add shared build in travis.
    pabuhler committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    670ed79 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cisco#459 from xhaakon/msvc-build

    Add missing symbols to export into srtp.def
    pabuhler committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    46755e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2019

  1. problem on srtp_aes_icm_openssl_encrypt cisco#462

    jsanchez committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    8bd2113 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2019

  1. Merge pull request cisco#463 from juancarlossanchez/master

    problem on srtp_aes_icm_openssl_encrypt cisco#462
    pabuhler committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    e5567d8 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. add oss-fuzz badge to readme

    This should round off cisco#393
    pabuhler committed Sep 3, 2019
    2 Configuration menu
    Copy the full SHA
    56a0655 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. add debug_print0 for use with zero arguments

    This prevents the NULL being passed srtp_err_report
    when the format string did not expect an argument.
    This should have no function change but enabled
    better checking of format arguments.
    
    reported by https://scan.coverity.com/projects/cisco-libsrtp
    pabuhler committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    d6e87f8 View commit details
    Browse the repository at this point in the history
  2. use PRIx64 instead of llx in format string

    Increase compatability accross platfroms.
    
    reported by scan.coverity.com
    pabuhler committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    835fbed View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. Merge pull request cisco#467 from pabuhler/coverity-format-warnings

    Coverity format warnings
    pabuhler committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    6d9601f View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. set xcode version in travis for some osx builds

    travis osx builds that use brew seam to need a
    newer version of xcode in order to have a ruby
    version that works. This really should have been
    automatic on the travis side.
    Nss is now pre installed.
    pabuhler committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    9c6e915 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cisco#469 from pabuhler/fix-osx-travis-builds

    set xcode version in travis for some osx builds
    pabuhler committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    d92328b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. Add extra command line options for more flexibility

    Allow the pcap file to be read from a physical file, but maintain
    default stdin behaviour.
    
    Allow the byte offset of the RTP packet to be specified such that if a
    non-tcp transport is used (e.g. UDP) the RTP packet can still be read
    correctly.
    Michael Malone committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    38fa163 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. Merge pull request cisco#471 from michaelmalonenz/add-flexibility

    Add extra command line options for more flexibility
    pabuhler committed Nov 22, 2019
    Configuration menu
    Copy the full SHA
    3ef1d8f View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. use brew --prefix in osx ci builds

    This prevents hardcoded paths from breaking
    the build.
    pabuhler committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    17ac1c6 View commit details
    Browse the repository at this point in the history
  2. add android build to ci

    Using android-ndk-r20b and test both
    cmake and configure builds
    pabuhler committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    65b21dc View commit details
    Browse the repository at this point in the history
  3. add ios build to ci

    include the build fixed for shared libraries suggested in
    issue cisco#411 ansd pr cisco#432
    pabuhler committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    cf776df View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Merge pull request cisco#472 from pabuhler/add-ci-builds-for-ios-and-…

    …android
    
    Add ci builds for ios and android
    pabuhler committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    0ec8614 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. Configuration menu
    Copy the full SHA
    29f419b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59fe48d View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Merge pull request cisco#473 from pabuhler/coverity-fixes

    Coverity fixes
    pabuhler committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    7b34553 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. Configuration menu
    Copy the full SHA
    425bf6e View commit details
    Browse the repository at this point in the history
  2. Merge pull request cisco#474 from pabuhler/add-pcap-flag

    enable a flag to disable pcap dependency when build test apps
    pabuhler committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    92ec3aa View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2019

  1. Configuration menu
    Copy the full SHA
    9b09c87 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2019

  1. 2.3.0 release

    pabuhler committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    d02d211 View commit details
    Browse the repository at this point in the history
  2. bump version post release

    pabuhler committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    f55b0f7 View commit details
    Browse the repository at this point in the history
  3. Update CHANGES

    Bump version
    pabuhler committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    46ce8ef View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2020

  1. Configuration menu
    Copy the full SHA
    ef9d54d View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. Merge pull request cisco#478 from bwalden/cmake-install-fix

    Modify cmake to install crypto_types.h instead of cipher_types.h
    pabuhler committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    920f86d View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Don't set LD_LIBRARY_PATH if CRYPTO_LIBDIR is not set.

    This avoids overriding LD_LIBRARY_PATH that may be set by the user who
    invokes the building/testing process when not necessary.
    Lastique committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    d3ac6cb View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. Configuration menu
    Copy the full SHA
    1057b86 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cisco#483 from Lastique/fix-ld_library_path-in-tests

    Don't set LD_LIBRARY_PATH if CRYPTO_LIBDIR is not set
    pabuhler committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    08adae2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request cisco#484 from sipsorcery/typos

    Spelling and typo corrections.
    pabuhler committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    32b628d View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. Fix building with gcc-10

    gcc-10 defaults to -fno-common which reveals a symbol conflict with
    bit_string. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678
    stha09 committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    716a738 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Merge pull request cisco#486 from stha09/gcc10

    Fix building with gcc-10
    pabuhler committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    90b3124 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Fix two-byte RTP header extension encryption

    Also ignores the application bits as required by RFC 8285, sec 4.3
    Fixes cisco#490
    lgrahl committed May 18, 2020
    Configuration menu
    Copy the full SHA
    5529951 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

  1. Merge pull request cisco#491 from lgrahl/patch-1

    Fix two-byte RTP header extension encryption
    paulej committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    72c7541 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. chacha20 poly1305

    unknown committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    e7c5081 View commit details
    Browse the repository at this point in the history