Commit 1828f3aa authored by Sergio Ammirata's avatar Sergio Ammirata
Browse files

Make sure all files are properly licensed

parent 9604b753
......@@ -16,4 +16,5 @@ SipRadius LLC for funding this project.
And all the librist Authors (git shortlog -sn), including:
Sergio Ammirata, Kuldeep Singh Dhaka, Daniele Lacamera, Antonio Cardace, Gijs Peskens.
Sergio Ammirata, Kuldeep Singh Dhaka, Daniele Lacamera, Antonio Cardace, Gijs Peskens, James Hurley,
Marvin Scholz, Stephan Mueller
/*
* Copyright © 2018, VideoLAN and dav1d authors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2020, VideoLAN and librist authors
* Copyright © 2019-2020 SipRadius LLC
* All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#ifndef GCCVER_STDATOMIC_H_
#define GCCVER_STDATOMIC_H_
......
#ifndef __GETOPT_H__
/**
/*
* Copyright © 2020, VideoLAN and librist authors
* Copyright © 2019-2020 SipRadius LLC
* All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
/*
* DISCLAIMER
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
......
/*
* Copyright © 2018, VideoLAN and dav1d authors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2020, VideoLAN and librist authors
* Copyright © 2019-2020 SipRadius LLC
* All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#ifndef MSCVER_STDATOMIC_H_
#define MSCVER_STDATOMIC_H_
......
......@@ -13,6 +13,13 @@
* http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf .
The CCM mode of operation is specified by NIST SP80-38 C, available at:
* http://csrc.nist.gov/publications/nistpubs/800-38C/SP800-38C_updated-July20_2007.pdf
*
* File copied from the project: https://github.com/B-Con/crypto-algorithms
* License (quoting from author's github project):
* This code is released into the public domain free of any restrictions. The author requests
* acknowledgement if the code is used, but does not require it. This code is provided free of any
* liability and without any quality claims by the author.
*
*********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable: 4244)
......
......@@ -4,6 +4,13 @@
* Copyright:
* Disclaimer: This code is presented "as is" without any guarantees.
* Details: Defines the API for the corresponding AES implementation.
*
* File copied from the project: https://github.com/B-Con/crypto-algorithms
* License (quoting from author's github project):
* This code is released into the public domain free of any restrictions. The author requests
* acknowledgement if the code is used, but does not require it. This code is provided free of any
* liability and without any quality claims by the author.
*
*********************************************************************/
#ifndef AES_H
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#ifndef __ENDIAN_SHIM_H
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* Changes:
* - Removed SHA1 and SHA512 as the functions are not available
* - Moved to self hosted SHA254 instead of OpenSSL
*/
/*
* fast-pbkdf2 - Optimal PBKDF2-HMAC calculation
* Written in 2015 by Joseph Birr-Pixton <jpixton@gmail.com>
......@@ -20,6 +11,14 @@
* along with this software. If not, see
* <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* Changes:
* - Removed SHA1 and SHA512 as the functions are not available
* - Moved to self hosted SHA256 instead of OpenSSL
*/
#include "fastpbkdf2.h"
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* Note: Removed SHA1 and SHA512 as the functions are not available
*/
/*
* fastpbkdf2 - Faster PBKDF2-HMAC calculation
* Written in 2015 by Joseph Birr-Pixton <jpixton@gmail.com>
......@@ -18,6 +11,12 @@
* along with this software. If not, see
* <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* Note: Removed SHA1 and SHA512 as the functions are not available
*/
#ifndef FASTPBKDF2_H
#define FASTPBKDF2_H
......
......@@ -20,7 +20,7 @@
* Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
*/
/*-
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
......
#if defined(_WIN32)
#ifndef __GETOPT_H__
/**
* DISCLAIMER
* This file has no copyright assigned and is placed in the Public Domain.
......@@ -12,6 +9,9 @@
* warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#if defined(_WIN32)
#ifndef __GETOPT_H__
#define __GETOPT_H__
/* All the headers include this file. */
......
/* Copyright (C) 2014 - 2019, Stephan Mueller <smueller@chronox.de>
* Copyright 2020 in2ip B.V.
* Linux Crypto API, based on libkcapi
/* Copyright © 2014-2019, Stephan Mueller <smueller@chronox.de>
* Copyright © 2020 in2ip B.V.
* Linux Crypto API, based on libkcapi, relicensed to BSD-2 with author's permission
* Author: Stephan Mueller <smueller@chronox.de>
* Modified for librist by: Gijs Peskens <gijs@in2ip.nl>
* Modified for librist by: Sergio Ammirata <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#ifdef __linux
......
/* librist. Copyright 2020 in2ip B.V. All right reserved.
/* librist. Copyright © 2020 in2ip B.V. All right reserved.
* Author: Gijs Peskens <gijs@in2ip.nl>
* Author: Sergio Ammirata <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#ifndef __LINUX_CRYPTO_H
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#include "time-shim.h"
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#ifndef __PTHREAD_SHIM_H
......
......@@ -10,6 +10,13 @@
Algorithm specification can be found here:
* http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf
This implementation uses little endian byte order.
*
* File copied from the project: https://github.com/B-Con/crypto-algorithms
* License (quoting from author's github project):
* This code is released into the public domain free of any restrictions. The author requests
* acknowledgement if the code is used, but does not require it. This code is provided free of any
* liability and without any quality claims by the author.
*
*********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable: 4244)
......
......@@ -4,6 +4,13 @@
* Copyright:
* Disclaimer: This code is presented "as is" without any guarantees.
* Details: Defines the API for the corresponding SHA1 implementation.
*
* File copied from the project: https://github.com/B-Con/crypto-algorithms
* License (quoting from author's github project):
* This code is released into the public domain free of any restrictions. The author requests
* acknowledgement if the code is used, but does not require it. This code is provided free of any
* liability and without any quality claims by the author.
*
*********************************************************************/
#ifndef SHA256_H
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Kuldeep Singh Dhaka <kuldeep@madresistor.com>
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*/
......
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
/*
* Secure Remote Password 6a implementation based on mbedtls.
*
......@@ -66,6 +62,11 @@ extern "C" {
* hash & prime number pairings.
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
#ifndef SRP_H
#define SRP_H
......
/* librist. Copyright 2019 SipRadius LLC. All right reserved.
/* librist. Copyright © 2019 SipRadius LLC. All right reserved.
* Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#include "stdio-shim.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment