2024-11-08 21:14:33 +08:00
|
|
|
/*
|
2025-03-12 21:35:59 +08:00
|
|
|
* Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.
|
2024-11-08 21:14:33 +08:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <openssl/core_dispatch.h>
|
|
|
|
|
|
|
|
/* Fake cipher provider implementation */
|
|
|
|
OSSL_PROVIDER *fake_cipher_start(OSSL_LIB_CTX *libctx);
|
|
|
|
void fake_cipher_finish(OSSL_PROVIDER *p);
|
|
|
|
|
|
|
|
#define FAKE_PROV_NAME "fake-cipher"
|
|
|
|
#define FAKE_CIPHER_FETCH_PROPS "provider=fake-cipher"
|
|
|
|
|
|
|
|
#define FAKE_CIPHER_PARAM_KEY_NAME "key_name"
|