]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/provider_predefined.c
RSA: Do not set NULL OAEP labels
[thirdparty/openssl.git] / crypto / provider_predefined.c
CommitLineData
c41f3ae0 1/*
33388b44 2 * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
c41f3ae0
RL
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#include <openssl/core.h>
11#include "provider_local.h"
12
c41f3ae0 13OSSL_provider_init_fn ossl_default_provider_init;
7b4344ac 14OSSL_provider_init_fn ossl_null_provider_init;
3593266d 15OSSL_provider_init_fn fips_intern_provider_init;
318e074e
RL
16#ifdef STATIC_LEGACY
17OSSL_provider_init_fn ossl_legacy_provider_init;
18#endif
c41f3ae0 19const struct predefined_providers_st predefined_providers[] = {
f844f9eb 20#ifdef FIPS_MODULE
3593266d
MC
21 { "fips", fips_intern_provider_init, 1 },
22#else
c41f3ae0 23 { "default", ossl_default_provider_init, 1 },
318e074e
RL
24# ifdef STATIC_LEGACY
25 { "legacy", ossl_legacy_provider_init, 0 },
26# endif
7b4344ac 27 { "null", ossl_null_provider_init, 0 },
3593266d 28#endif
c41f3ae0
RL
29 { NULL, NULL, 0 }
30};