s4:torture: Initialize struct cldap_netlogon
[Samba.git] / librpc / rpc / dcerpc_lsa.h
blob7049e80ff1e7be683065f4f2a12785266d9d868d
1 /*
2 * Copyright (c) 2023 Andreas Schneider <asn@samba.org>
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef _DCERPC_LSA_H
19 #define _DCERPC_LSA_H
21 #include <util/discard.h>
22 #include "lib/util/data_blob.h"
24 #define LSA_AES256_ENC_KEY_STRING \
25 "Microsoft LSAD encryption key AEAD-AES-256-CBC-HMAC-SHA512 16"
26 /* Including terminating null byte */
27 #define LSA_AES256_ENC_KEY_STRING_LEN sizeof(LSA_AES256_ENC_KEY_STRING)
29 #define LSA_AES256_MAC_KEY_STRING \
30 "Microsoft LSAD MAC key AEAD-AES-256-CBC-HMAC-SHA512 16"
31 /* Including terminating null byte */
32 #define LSA_AES256_MAC_KEY_STRING_LEN sizeof(LSA_AES256_MAC_KEY_STRING)
34 static const DATA_BLOB lsa_aes256_enc_key_salt = {
35 .data = discard_const_p(uint8_t, LSA_AES256_ENC_KEY_STRING),
36 .length = LSA_AES256_ENC_KEY_STRING_LEN,
39 static const DATA_BLOB lsa_aes256_mac_key_salt = {
40 .data = discard_const_p(uint8_t, LSA_AES256_MAC_KEY_STRING),
41 .length = LSA_AES256_MAC_KEY_STRING_LEN,
44 #endif /* _DCERPC_LSA_H */