]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/fipskey.h.in
Rename OPENSSL_CTX prefix to OSSL_LIB_CTX
[thirdparty/openssl.git] / include / openssl / fipskey.h.in
CommitLineData
31214258
RS
1/*
2 * {- join("\n * ", @autowarntext) -}
3 *
4 * Copyright 2020 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
15# ifdef __cplusplus
16extern "C" {
17# endif
18
19/*
20 * The FIPS validation HMAC key, usable as an array initializer.
21 */
22#define FIPS_KEY_ELEMENTS \
23 {- join(', ', map { "0x$_" } unpack("(A2)*", $config{FIPSKEY})) -}
24
25/*
26 * The FIPS validation key, as a string.
27 */
28#define FIPS_KEY_STRING "{- $config{FIPSKEY} -}"
29
e7869ef1
JS
30# ifdef __cplusplus
31}
32# endif
33
31214258 34#endif