VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.4/providers/fips/self_test.h@ 103050

最後變更 在這個檔案從103050是 102863,由 vboxsync 提交於 10 月 前

openssl-3.1.4: Applied and adjusted our OpenSSL changes to 3.1.3. bugref:10577

檔案大小: 1.5 KB
 
1/*
2 * Copyright 2019-2020 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 <openssl/core_dispatch.h>
11#include <openssl/types.h>
12#include <openssl/self_test.h>
13
14typedef struct self_test_post_params_st {
15 /* FIPS module integrity check parameters */
16 const char *module_filename; /* Module file to perform MAC on */
17 const char *module_checksum_data; /* Expected module MAC integrity */
18
19 /* Used for KAT install indicator integrity check */
20 const char *indicator_version; /* version - for future proofing */
21 const char *indicator_data; /* data to perform MAC on */
22 const char *indicator_checksum_data; /* Expected MAC integrity value */
23
24 /* Used for continuous tests */
25 const char *conditional_error_check;
26
27 /* BIO callbacks supplied to the FIPS provider */
28 OSSL_FUNC_BIO_new_file_fn *bio_new_file_cb;
29 OSSL_FUNC_BIO_new_membuf_fn *bio_new_buffer_cb;
30 OSSL_FUNC_BIO_read_ex_fn *bio_read_ex_cb;
31 OSSL_FUNC_BIO_free_fn *bio_free_cb;
32 OSSL_CALLBACK *cb;
33 void *cb_arg;
34 OSSL_LIB_CTX *libctx;
35
36} SELF_TEST_POST_PARAMS;
37
38int SELF_TEST_post(SELF_TEST_POST_PARAMS *st, int on_demand_test);
39int SELF_TEST_kats(OSSL_SELF_TEST *event, OSSL_LIB_CTX *libctx);
40
41void SELF_TEST_disable_conditional_error_state(void);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette