|
Packit Service |
4684c1 |
====================================================================
|
|
Packit Service |
4684c1 |
Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
|
|
Packit Service |
4684c1 |
project. The module is, however, dual licensed under OpenSSL and
|
|
Packit Service |
4684c1 |
CRYPTOGAMS licenses depending on where you obtain it. For further
|
|
Packit Service |
4684c1 |
details see https://www.openssl.org/~appro/cryptogams/.
|
|
Packit Service |
4684c1 |
====================================================================
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Copyright (c) 2006-2012, CRYPTOGAMS by <appro@openssl.org>
|
|
Packit Service |
4684c1 |
All rights reserved.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
4684c1 |
modification, are permitted provided that the following conditions
|
|
Packit Service |
4684c1 |
are met:
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
* Redistributions of source code must retain copyright notices,
|
|
Packit Service |
4684c1 |
this list of conditions and the following disclaimer.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
* Redistributions in binary form must reproduce the above
|
|
Packit Service |
4684c1 |
copyright notice, this list of conditions and the following
|
|
Packit Service |
4684c1 |
disclaimer in the documentation and/or other materials
|
|
Packit Service |
4684c1 |
provided with the distribution.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
* Neither the name of the CRYPTOGAMS nor the names of its
|
|
Packit Service |
4684c1 |
copyright holder and contributors may be used to endorse or
|
|
Packit Service |
4684c1 |
promote products derived from this software without specific
|
|
Packit Service |
4684c1 |
prior written permission.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
ALTERNATIVELY, provided that this notice is retained in full, this
|
|
Packit Service |
4684c1 |
product may be distributed under the terms of the GNU General Public
|
|
Packit Service |
4684c1 |
License (GPL), in which case the provisions of the GPL apply INSTEAD OF
|
|
Packit Service |
4684c1 |
those given above.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
|
|
Packit Service |
4684c1 |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
Packit Service |
4684c1 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
Packit Service |
4684c1 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
Packit Service |
4684c1 |
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
Packit Service |
4684c1 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
Packit Service |
4684c1 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
Packit Service |
4684c1 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
Packit Service |
4684c1 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
Packit Service |
4684c1 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
Packit Service |
4684c1 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
######################################################################
|
|
Packit Service |
4684c1 |
## Constant-time SSSE3 AES core implementation.
|
|
Packit Service |
4684c1 |
## version 0.1
|
|
Packit Service |
4684c1 |
##
|
|
Packit Service |
4684c1 |
## By Mike Hamburg (Stanford University), 2009
|
|
Packit Service |
4684c1 |
## Public domain.
|
|
Packit Service |
4684c1 |
##
|
|
Packit Service |
4684c1 |
## For details see https://shiftleft.org/papers/vector_aes/ and
|
|
Packit Service |
4684c1 |
## https://crypto.stanford.edu/vpaes/.
|