]>
Commit | Line | Data |
---|---|---|
c41f3ae0 | 1 | /* |
3c2bdd7d | 2 | * Copyright 2019-2021 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 | 13 | OSSL_provider_init_fn ossl_default_provider_init; |
dfc0857d | 14 | OSSL_provider_init_fn ossl_base_provider_init; |
7b4344ac | 15 | OSSL_provider_init_fn ossl_null_provider_init; |
c8830891 | 16 | OSSL_provider_init_fn ossl_fips_intern_provider_init; |
318e074e RL |
17 | #ifdef STATIC_LEGACY |
18 | OSSL_provider_init_fn ossl_legacy_provider_init; | |
19 | #endif | |
b7248964 | 20 | const OSSL_PROVIDER_INFO ossl_predefined_providers[] = { |
f844f9eb | 21 | #ifdef FIPS_MODULE |
352d482a | 22 | { "fips", NULL, ossl_fips_intern_provider_init, NULL, 1 }, |
3593266d | 23 | #else |
352d482a | 24 | { "default", NULL, ossl_default_provider_init, NULL, 1 }, |
318e074e | 25 | # ifdef STATIC_LEGACY |
352d482a | 26 | { "legacy", NULL, ossl_legacy_provider_init, NULL, 0 }, |
318e074e | 27 | # endif |
352d482a MC |
28 | { "base", NULL, ossl_base_provider_init, NULL, 0 }, |
29 | { "null", NULL, ossl_null_provider_init, NULL, 0 }, | |
3593266d | 30 | #endif |
352d482a | 31 | { NULL, NULL, NULL, NULL, 0 } |
c41f3ae0 | 32 | }; |