]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/core_names.h
remove end of line whitespace
[thirdparty/openssl.git] / include / openssl / core_names.h
CommitLineData
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
14extern "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"
80942379
RL
42#define OSSL_CIPHER_PARAM_BLOCK_SIZE "blocksize" /* OSSL_PARAM_INTEGER */
43#define OSSL_CIPHER_PARAM_FLAGS "flags" /* OSSL_PARAM_UNSIGNED_INTEGER */
44#define OSSL_CIPHER_PARAM_KEYLEN "keylen" /* OSSL_PARAM_INTEGER */
45#define OSSL_CIPHER_PARAM_IVLEN "ivlen" /* OSSL_PARAM_INTEGER */
46#define OSSL_CIPHER_PARAM_IV "iv" /* OSSL_PARAM_OCTET_PTR */
47#define OSSL_CIPHER_PARAM_NUM "num" /* OSSL_PARAM_INTEGER */
df05f2ce 48
d5e5e2ff
SL
49/* digest parameters */
50#define OSSL_DIGEST_PARAM_XOFLEN "xoflen"
83b4a243 51#define OSSL_DIGEST_PARAM_SSL3_MS "ssl3-ms"
d5e5e2ff
SL
52#define OSSL_DIGEST_PARAM_PAD_TYPE "pad_type"
53#define OSSL_DIGEST_PARAM_MICALG "micalg"
54
8a73348b
MC
55# ifdef __cplusplus
56}
57# endif
58
59#endif