Skip to content

Commit

Permalink
FEAT: replacing old checksum code with implementations from the Mbed …
Browse files Browse the repository at this point in the history
…TLS library (including optionally also SHA224, MD4 and RIPE-MD-160 checksums)
  • Loading branch information
Oldes committed Jan 13, 2021
1 parent 9723d43 commit 7751551
Show file tree
Hide file tree
Showing 41 changed files with 12,418 additions and 270 deletions.
95 changes: 53 additions & 42 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
REBOL [R3] Language Interpreter and Run-time Environment
Copyright 2012 REBOL Technologies
Copyright 2012-2021 Rebol Open Source Developers
REBOL is a trademark of REBOL Technologies
Licensed under the Apache License, Version 2.0
See included LICENSE file for details
Expand All @@ -8,59 +9,69 @@ See included LICENSE file for details
Credits for Non-REBOL orginated C files and modules
---------------------------------------------------

Unicode encoding/decoding functions:
Copyright 2001-2004 Unicode, Inc.

ECDH:
Copyright (c) 2014, Kenneth MacKay - https://github.com/kmackay/micro-ecc
All rights reserved.
* MbedTLS parts (checksums so far):
Copyright The Mbed TLS Contributors
SPDX-License-Identifier: Apache-2.0
https://github.com/ARMmbed/mbedtls

CHACHA20:
Copyright (c) 2014, insane coder - http://chacha20.insanecoding.org/
Copyright (c) 2016-2018, Eduard Suica
* Unicode encoding/decoding functions:
Copyright 2001-2004 Unicode, Inc.

POLY1305:
Daniel Bernstein (http://cr.yp.to/mac.html)
Andrew Moon (https://github.com/floodyberry/poly1305-donna)
* ECDH:
Copyright (c) 2014, Kenneth MacKay - https://github.com/kmackay/micro-ecc
All rights reserved.

MD5:
This software contains code derived from the RSA Data Security
Inc. MD5 Message-Digest Algorithm, including various
modifications by Spyglass Inc., Carnegie Mellon University, and
Bell Communications Research, Inc (Bellcore).
* CHACHA20:
Copyright (c) 2014, insane coder - http://chacha20.insanecoding.org/
Copyright (c) 2016-2018, Eduard Suica

SHA1:
Copyright 1995-1998 Eric Young (eay@cryptsoft.com)
All rights reserved.
* POLY1305:
Daniel Bernstein (http://cr.yp.to/mac.html)
Andrew Moon (https://github.com/floodyberry/poly1305-donna)

SHA256/384/512:
Copyright (c) 2000-2001, Aaron D. Gifford - http://www.aarongifford.com/
* RC4, AES, DH:
Copyright (c) 2007, Cameron Rich
All rights reserved.

RC4, AES, DH:
Copyright (c) 2007, Cameron Rich
All rights reserved.
* ZLIB general purpose compression library:
Version 1.1.2, March 19th, 1998
Copyright 1995-1998 Jean-loup Gailly and Mark Adler

ZLIB general purpose compression library:
Version 1.1.2, March 19th, 1998
Copyright 1995-1998 Jean-loup Gailly and Mark Adler
* LZMA (optional):
Copyright (C) 2018, Igor Pavlov
Public domain - https://www.7-zip.org/sdk.html

LZMA (optional):
Copyright (C) 2018, Igor Pavlov
Public domain - https://www.7-zip.org/sdk.html
* JPEG decoder:
Copyright 1994-1996, Thomas G. Lane.
This file is part of the Independent JPEG Group's software.

JPEG decoder:
Copyright 1994-1996, Thomas G. Lane.
This file is part of the Independent JPEG Group's software.
* JSON codec:
Copyright (C) 2019 Red Foundation. All rights reserved.

JSON codec:
Copyright (C) 2019 Red Foundation. All rights reserved.
* dtoa:
The author of this software is David M. Gay.
Copyright (c) 1991, 2000, 2001 by Lucent Technologies.

dtoa:
The author of this software is David M. Gay.
Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
* qsort:
Copyright (c) 1992, 1993 The Regents of the University of California.

qsort:
Copyright (c) 1992, 1993 The Regents of the University of California.
* UTF-8 decoder:
Copyright (c) 2008-2010 Bjoern Hoehrmann <bjoern@hoehrmann.de>

UTF-8 decoder:
Copyright (c) 2008-2010 Bjoern Hoehrmann <bjoern@hoehrmann.de>

Credits for currently deprecated code
-------------------------------------

* MD5:
This software contains code derived from the RSA Data Security
Inc. MD5 Message-Digest Algorithm, including various
modifications by Spyglass Inc., Carnegie Mellon University, and
Bell Communications Research, Inc (Bellcore).

* SHA1:
Copyright 1995-1998 Eric Young (eay@cryptsoft.com)
All rights reserved.

* SHA256/384/512:
Copyright (c) 2000-2001, Aaron D. Gifford - http://www.aarongifford.com/
7 changes: 2 additions & 5 deletions make/make.r3
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,8 @@ append cmd-menu {^-^[[1;32;49mc^[[0m: Clean^/}
append cmd-menu {^-^[[1;32;49mq^[[0m: Quit^/}

clean-project: func[/local dir][
dir: %objs/
foreach file read dir [
print ["Deleting:" dir/:file]
delete dir/:file
]
print ["Deleting directory:" clean-path %objs/]
delete-dir %objs/
]

eval-cmd: func[cmd [string! block!] /local err][
Expand Down
Loading

0 comments on commit 7751551

Please sign in to comment.