this file under the terms of any one of the MPL, the GPL or the LGPL.
***** END LICENSE BLOCK ***** */
FIPS pub 180-2: Secure Hash Standard based on:
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
trtwofsh.c
Copyright (c) 2002 by Niels Ferguson.
The author hereby grants a perpetual license to everybody to use this code for any purpose
as long as the copyright message is included in the source code of this or any derived work.
Yes, this means that you, your company, your club, and anyone else can use this code
anywhere you want.
You can change it and distribute it under the GPL, include it in your commercial product
without releasing the source code, put it on the web, etc.
The only thing you cannot do is remove my copyright message, or distribute any source
code based on this implementation that does not include my copyright message.
I appreciate a mention in the documentation or credits, but I understand if that is difficult to
do.
I also appreciate it if you tell me where and why you used my code.
DISCLAIMER: As I'm giving away my work for free, I'm of course not going to accept any
liability of any form.
This code, or the Twofish cipher, might very well be flawed; you have been warned.
This software is provided as-is, without any kind of warrenty or guarantee.
And that is really all you can expect when you download code for free from the Internet.
trqsort.c
Copyright (c) 1992, 1993
The Regents of the University of California.
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.
3. All advertising materials mentioning features or use of this software must display the
following acknowledgement:
This product includes software developed by the University of California, Berkeley and
its contributors.
4. Neither the name of the University nor the names of its contributors may be used to
endorse or promote products derived from this software without specific prior written
permission.