l8w8jwt
Loading...
Searching...
No Matches
algs.h
Go to the documentation of this file.
1/*
2 Copyright 2020 Raphael Beck
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
23#ifndef L8W8JWT_ALGS_H
24#define L8W8JWT_ALGS_H
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
33#define L8W8JWT_ALG_HS256 0
34
38#define L8W8JWT_ALG_HS384 1
39
43#define L8W8JWT_ALG_HS512 2
44
48#define L8W8JWT_ALG_RS256 3
49
53#define L8W8JWT_ALG_RS384 4
54
58#define L8W8JWT_ALG_RS512 5
59
63#define L8W8JWT_ALG_PS256 6
64
68#define L8W8JWT_ALG_PS384 7
69
73#define L8W8JWT_ALG_PS512 8
74
78#define L8W8JWT_ALG_ES256 9
79
83#define L8W8JWT_ALG_ES384 10
84
88#define L8W8JWT_ALG_ES512 11
89
93#define L8W8JWT_ALG_ES256K 12
94
98#define L8W8JWT_ALG_ED25519 13
99
100#ifndef L8W8JWT_ENABLE_EDDSA
104#define L8W8JWT_ENABLE_EDDSA 0
105#endif
106
107#ifdef __cplusplus
108} // extern "C"
109#endif
110
111#endif // L8W8JWT_ALGS_H