]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/fipskey.h.in
Update copyright year
[thirdparty/openssl.git] / include / openssl / fipskey.h.in
1 /*
2 * {- join("\n * ", @autowarntext) -}
3 *
4 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
5 *
6 * Licensed under the Apache License 2.0 (the "License"). You may not use
7 * this file except in compliance with the License. You can obtain a copy
8 * in the file LICENSE in the source distribution or at
9 * https://www.openssl.org/source/license.html
10 */
11
12 #ifndef OPENSSL_FIPSKEY_H
13 # define OPENSSL_FIPSKEY_H
14 # pragma once
15
16 # ifdef __cplusplus
17 extern "C" {
18 # endif
19
20 /*
21 * The FIPS validation HMAC key, usable as an array initializer.
22 */
23 #define FIPS_KEY_ELEMENTS \
24 {- join(', ', map { "0x$_" } unpack("(A2)*", $config{FIPSKEY})) -}
25
26 /*
27 * The FIPS validation key, as a string.
28 */
29 #define FIPS_KEY_STRING "{- $config{FIPSKEY} -}"
30
31 # ifdef __cplusplus
32 }
33 # endif
34
35 #endif