nrfxlib API 2.8.99
Loading...
Searching...
No Matches
ecjpake_alt.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 - 2024 Nordic Semiconductor ASA
3 * Copyright (c) since 2013 Oberon microsystems AG
4 *
5 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6 */
7
8
9#ifndef ECJPAKE_ALT_H
10#define ECJPAKE_ALT_H
11
12#include "common.h"
13#include "mbedtls/ecp.h"
14#include "mbedtls/md.h"
15
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21
23 mbedtls_ecjpake_role role; // Are we client or server?
24 int point_format; // Format for point export
25
26 unsigned char secret[32];
27 unsigned char s_key2[32]; // secret key 2
28 unsigned char p_key1[64]; // public key 1
29 unsigned char p_key2[64]; // public key 2
30 unsigned char r_key1[64]; // remote key 1
31 unsigned char r_key2[64]; // remote key 2
32 unsigned char r_key3[64]; // remote key 3
34
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif
unsigned char p_key2[64]
Definition ecjpake_alt.h:29
unsigned char r_key1[64]
Definition ecjpake_alt.h:30
unsigned char r_key2[64]
Definition ecjpake_alt.h:31
unsigned char secret[32]
Definition ecjpake_alt.h:26
mbedtls_ecjpake_role role
Definition ecjpake_alt.h:23
unsigned char s_key2[32]
Definition ecjpake_alt.h:27
unsigned char r_key3[64]
Definition ecjpake_alt.h:32
int point_format
Definition ecjpake_alt.h:24
unsigned char p_key1[64]
Definition ecjpake_alt.h:28
Definition ecjpake_alt.h:22