blob: 57f4b15e49c12d33ebb949df2557be2234789729 [file] [log] [blame]
Manuel Pégourié-Gonnard4d8685b2015-08-05 15:44:42 +02001/**
2 * \file ecjpake.h
3 *
4 * \brief Elliptic curve J-PAKE
5 *
6 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
7 * SPDX-License-Identifier: Apache-2.0
8 *
9 * Licensed under the Apache License, Version 2.0 (the "License"); you may
10 * not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 *
21 * This file is part of mbed TLS (https://tls.mbed.org)
22 */
23#ifndef MBEDTLS_ECJPAKE_H
24#define MBEDTLS_ECJPAKE_H
25
26#include "ecp.h"
27#include "md.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33#if defined(MBEDTLS_SELF_TEST)
34/**
35 * \brief Checkup routine
36 *
37 * \return 0 if successful, or 1 if a test failed
38 */
39int mbedtls_ecjpake_self_test( int verbose );
40#endif
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* ecjpake.h */