]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/fipskey.h.in
errors: update error message (to be squashed)
[thirdparty/openssl.git] / include / openssl / fipskey.h.in
CommitLineData
31214258
RS
1/*
2 * {- join("\n * ", @autowarntext) -}
3 *
a28d06f3 4 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
31214258
RS
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
d59068bd 14# pragma once
31214258
RS
15
16# ifdef __cplusplus
17extern "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
e7869ef1
JS
31# ifdef __cplusplus
32}
33# endif
34
31214258 35#endif