]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/core_names.h
Regenerate mkerr files
[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 37
459b15d4
SL
38/* cipher parameters */
39#define OSSL_CIPHER_PARAM_PADDING "padding" /* int */
40#define OSSL_CIPHER_PARAM_MODE "mode" /* int */
41#define OSSL_CIPHER_PARAM_BLOCK_SIZE "blocksize" /* int */
42#define OSSL_CIPHER_PARAM_FLAGS "flags" /* ulong */
43#define OSSL_CIPHER_PARAM_KEYLEN "keylen" /* int */
44#define OSSL_CIPHER_PARAM_IVLEN "ivlen" /* int */
45#define OSSL_CIPHER_PARAM_IV "iv" /* octet_string OR octet_ptr */
46#define OSSL_CIPHER_PARAM_NUM "num" /* int */
47#define OSSL_CIPHER_PARAM_AEAD_TAG "tag" /* octet_string */
48#define OSSL_CIPHER_PARAM_AEAD_TLS1_AAD "tlsaad" /* octet_string */
49#define OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD "tlsaadpad" /* size_t */
50#define OSSL_CIPHER_PARAM_AEAD_TLS1_IV_FIXED "tlsivfixed" /* octet_string */
51#define OSSL_CIPHER_PARAM_AEAD_IVLEN "aeadivlen" /* size_t */
df05f2ce 52
d5e5e2ff
SL
53/* digest parameters */
54#define OSSL_DIGEST_PARAM_XOFLEN "xoflen"
83b4a243 55#define OSSL_DIGEST_PARAM_SSL3_MS "ssl3-ms"
d5e5e2ff
SL
56#define OSSL_DIGEST_PARAM_PAD_TYPE "pad_type"
57#define OSSL_DIGEST_PARAM_MICALG "micalg"
58
8a73348b
MC
59# ifdef __cplusplus
60}
61# endif
62
63#endif