providers/implementations/signature/rsa_sig.c
providers/implementations/signature/slh_dsa_sig.c
providers/implementations/signature/sm2_sig.c
-providers/implementations/skeymgmt/generic.c
+providers/implementations/skeymgmt/generic.inc
providers/implementations/storemgmt/file_store_any2obj.c
providers/implementations/storemgmt/file_store.c
providers/implementations/storemgmt/winstore_store.c
providers/implementations/ciphers/cipher_null.c
providers/implementations/ciphers/cipher_rc4_hmac_md5.c
providers/implementations/ciphers/cipher_sm2_xts.c
+providers/implementations/ciphers/cipher_sm4_xts.c
providers/implementations/digests/blake2_prov.c
providers/implementations/digests/digestcommon.c
providers/implementations/digests/mdc2_prov.c
providers/implementations/signature/rsa_sig.c \
providers/implementations/signature/slh_dsa_sig.c \
providers/implementations/signature/sm2_sig.c \
- providers/implementations/skeymgmt/generic.c \
+ providers/implementations/skeymgmt/generic.inc \
providers/implementations/storemgmt/file_store_any2obj.c \
providers/implementations/storemgmt/file_store.c \
providers/implementations/storemgmt/winstore_store.c \
providers/implementations/signature/rsa_sig.c \
providers/implementations/signature/slh_dsa_sig.c \
providers/implementations/signature/sm2_sig.c \
- providers/implementations/skeymgmt/generic.c \
+ providers/implementations/skeymgmt/generic.inc \
providers/implementations/storemgmt/file_store_any2obj.c \
providers/implementations/storemgmt/file_store.c \
providers/implementations/storemgmt/winstore_store.c \
providers/implementations/signature/slh_dsa_sig.c.in
GENERATE[providers/implementations/signature/sm2_sig.c]=\
providers/implementations/signature/sm2_sig.c.in
-GENERATE[providers/implementations/skeymgmt/generic.c]=\
- providers/implementations/skeymgmt/generic.c.in
+GENERATE[providers/implementations/skeymgmt/generic.inc]=\
+ providers/implementations/skeymgmt/generic.inc.in
GENERATE[providers/implementations/storemgmt/file_store_any2obj.c]=\
providers/implementations/storemgmt/file_store_any2obj.c.in
GENERATE[providers/implementations/storemgmt/file_store.c]=\
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
-{-
-use OpenSSL::paramnames qw(produce_param_decoder);
--}
#include <string.h>
#include <openssl/core_dispatch.h>
#include "prov/implementations.h"
#include "prov/skeymgmt_lcl.h"
+#include "providers/implementations/skeymgmt/generic.inc"
+
void generic_free(void *keydata)
{
PROV_SKEY *generic = keydata;
OPENSSL_free(generic);
}
-{- produce_param_decoder('generic_skey_import',
- (['OSSL_SKEY_PARAM_RAW_BYTES', 'raw_bytes', 'octet_string'],
- )); -}
-
void *generic_import(void *provctx, int selection, const OSSL_PARAM params[])
{
OSSL_LIB_CTX *libctx = PROV_LIBCTX_OF(provctx);
--- /dev/null
+/*
+ * Copyright 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
+ */
+{-
+use OpenSSL::paramnames qw(produce_param_decoder);
+-}
+
+{- produce_param_decoder('generic_skey_import',
+ (['OSSL_SKEY_PARAM_RAW_BYTES', 'raw_bytes', 'octet_string'],
+ )); -}