openssl/test/fake_cipherprov.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
654 B
C
Raw Normal View History

/*
* Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.
*
* 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"