Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_skein.h File Reference

Skein interface. More...

#include <stddef.h>
#include <crypto/sph_types.h>
+ Include dependency graph for sph_skein.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Skein interface.

The Skein specification defines three main functions, called Skein-256, Skein-512 and Skein-1024, which can be further parameterized with an output length. For the SHA-3 competition, Skein-512 is used for output sizes of 224, 256, 384 and 512 bits; this is what this code implements. Thus, we hereafter call Skein-224, Skein-256, Skein-384 and Skein-512 what the Skein specification defines as Skein-512-224, Skein-512-256, Skein-512-384 and Skein-512-512, respectively.

==========================(LICENSE BEGIN)============================

Copyright (c) 2007-2010 Projet RNRT SAPHIR

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

===========================(LICENSE END)=============================

Author
Thomas Pornin thoma.nosp@m.s.po.nosp@m.rnin@.nosp@m.cryp.nosp@m.tolog.nosp@m..com

Definition in file sph_skein.h.

Released under the MIT license