Debian Codegraph @

debian/rust-vendor/openssl-src/openssl/crypto/lms/lms_sig.c

raw
1 /*
2 * Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
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 "crypto/lms_sig.h"
11
12 /**
13 * @brief Create a new LMS_SIG object
14 */
15 LMS_SIG *ossl_lms_sig_new(void)
16 {
17 return OPENSSL_zalloc(sizeof(LMS_SIG));
18 }
19
20 /**
21 * @brief Destroy an existing LMS_SIG object
22 */
23 void ossl_lms_sig_free(LMS_SIG *sig)
24 {
25 OPENSSL_free(sig);
26 }