Skip to content

Commit

Permalink
Merge pull request #22 from Siskin-framework/master
Browse files Browse the repository at this point in the history
Replaced old checksum code with implementations from the Mbed TLS library
  • Loading branch information
Oldes committed Jan 14, 2021
2 parents 3790723 + 7751551 commit 463c973
Show file tree
Hide file tree
Showing 56 changed files with 12,618 additions and 325 deletions.
95 changes: 53 additions & 42 deletions NOTICE
@@ -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/
36 changes: 0 additions & 36 deletions make/make-settings.r
Expand Up @@ -4,39 +4,3 @@ REBOL [

TOOLS-Win32: "x:/MingW/mingw32/bin/"
TOOLS-Win64: "x:/MingW/mingw64/bin/"

;@@ If you add or remove some of these defines bellow, you should `make clean`
;@@ to make sure that all affected files will be recompiled!
Defines: [
USE_BMP_CODEC
USE_PNG_CODEC
USE_GIF_CODEC
USE_JPG_CODEC
;USE_WAV_CODEC ;-- deprecated; using Rebol codec instead
;USE_NO_INFINITY ;-- use when you don't want to support IEEE infinity
USE_LZMA ;-- adds support for LZMA [de]compression
USE_MIDI_DEVICE ;-- includes MIDI device when possible (Windows & macOS)
USE_IMAGE_NATIVES ;-- additional image native functions (for example `resize`)

;INCLUDE_TASK ;-- tasks are not implemented yet, so include it only on demand
INCLUDE_BASE85 ;-- adds support for enbase/debase with base 85 (ASCII85)

;@@ optional fine tuning:
;DO_NOT_NORMALIZE_MAP_KEYS
; with above define you would get:
; [a b:] = words-of make map! [a 1 b: 2]
; [a 1 b: 2] = body-of make map! [a 1 b: 2]
;
; else:
; [a b] = words-of make map! [a 1 b: 2]
; [a: 1 b: 2] = body-of make map! [a 1 b: 2]

;USE_EMPTY_HASH_AS_NONE ;-- A single # means NONE, else error; Used in l-scan.c file
;FORCE_ANSI_ESC_EMULATION_ON_WINDOWS ;-- would not try to use MS' built-in VIRTUAL_TERMINAL_PROCESSING
;EXCLUDE_VECTOR_MATH ;-- don't include vector math support (like: 3 * #[vector! integer! 8 3 [1 2 3]])
;EXCLUDE_CHACHA20POLY1305 ;-- chacha20 and poly1305 cipher/authentication is not used

;DEBUG_MIDI ;-- prints some of internal traces from MIDI device handler
;DEBUG_DRAW_REGIONS ;-- draws clip region frame

]
7 changes: 2 additions & 5 deletions make/make.r3
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

0 comments on commit 463c973

Please sign in to comment.