| 1 |
/* |
/* |
| 2 |
(C) 2004-2016 TeraTerm Project |
* (C) 2004-2017 TeraTerm Project |
| 3 |
All rights reserved. |
* All rights reserved. |
| 4 |
|
* |
| 5 |
Redistribution and use in source and binary forms, with or without modification, |
* Redistribution and use in source and binary forms, with or without |
| 6 |
are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions |
| 7 |
|
* are met: |
| 8 |
1. Redistributions of source code must retain the above copyright notice, |
* |
| 9 |
this list of conditions and the following disclaimer. |
* 1. Redistributions of source code must retain the above copyright |
| 10 |
2. Redistributions in binary form must reproduce the above copyright notice, |
* notice, this list of conditions and the following disclaimer. |
| 11 |
this list of conditions and the following disclaimer in the documentation |
* 2. Redistributions in binary form must reproduce the above copyright |
| 12 |
and/or other materials provided with the distribution. |
* notice, this list of conditions and the following disclaimer in the |
| 13 |
3. The name of the author may not be used to endorse or promote products derived |
* documentation and/or other materials provided with the distribution. |
| 14 |
from this software without specific prior written permission. |
* 3. The name of the author may not be used to endorse or promote products |
| 15 |
|
* derived from this software without specific prior written permission. |
| 16 |
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
* |
| 17 |
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR |
| 18 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 19 |
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 20 |
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, |
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 21 |
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 22 |
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 |
OF SUCH DAMAGE. |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 |
*/ |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 |
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 |
|
*/ |
| 28 |
|
|
| 29 |
#ifndef __ED25519_CRYPTO_API_H |
#ifndef __ED25519_CRYPTO_API_H |
| 30 |
#define __ED25519_CRYPTO_API_H |
#define __ED25519_CRYPTO_API_H |