]>
Commit | Line | Data |
---|---|---|
8a73348b MC |
1 | /* |
2 | * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. | |
3 | * | |
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use | |
5 | * this file except in compliance with the License. You can obtain a copy | |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
8 | */ | |
9 | ||
10 | #ifndef OSSL_CORE_NAMES_H | |
11 | # define OSSL_CORE_NAMES_H | |
12 | ||
13 | # ifdef __cplusplus | |
14 | extern "C" { | |
15 | # endif | |
16 | ||
17 | /* | |
18 | * Well known parameter names that Providers can define | |
19 | */ | |
20 | ||
21 | /* | |
22 | * A printable name for this provider | |
23 | * Type: OSSL_PARAM_UTF8_STRING | |
24 | */ | |
25 | #define OSSL_PROV_PARAM_NAME "name" | |
26 | /* | |
27 | * A version string for this provider | |
28 | * Type: OSSL_PARAM_UTF8_STRING | |
29 | */ | |
30 | #define OSSL_PROV_PARAM_VERSION "version" | |
31 | /* | |
32 | * A string providing provider specific build information | |
33 | * Type: OSSL_PARAM_UTF8_STRING | |
34 | */ | |
35 | #define OSSL_PROV_PARAM_BUILDINFO "buildinfo" | |
36 | ||
df05f2ce MC |
37 | |
38 | /* Well known cipher parameters */ | |
39 | ||
40 | #define OSSL_CIPHER_PARAM_PADDING "padding" | |
718b133a | 41 | #define OSSL_CIPHER_PARAM_MODE "mode" |
df05f2ce | 42 | |
8a73348b MC |
43 | # ifdef __cplusplus |
44 | } | |
45 | # endif | |
46 | ||
47 | #endif |