VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.3/crypto/rand/rand_local.h@ 102427

最後變更 在這個檔案從102427是 101211,由 vboxsync 提交於 17 月 前

openssl-3.1.3: Applied and adjusted our OpenSSL changes to 3.1.2. bugref:10527

檔案大小: 1.0 KB
 
1/*
2 * Copyright 1995-2021 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#ifndef OSSL_CRYPTO_RAND_LOCAL_H
11# define OSSL_CRYPTO_RAND_LOCAL_H
12
13# include <openssl/aes.h>
14# include <openssl/evp.h>
15# include <openssl/sha.h>
16# include <openssl/hmac.h>
17# include <openssl/ec.h>
18# include <openssl/rand.h>
19# include "internal/tsan_assist.h"
20# include "crypto/rand.h"
21
22/* Default reseed intervals */
23# define PRIMARY_RESEED_INTERVAL (1 << 8)
24# define SECONDARY_RESEED_INTERVAL (1 << 16)
25# define PRIMARY_RESEED_TIME_INTERVAL (60 * 60) /* 1 hour */
26# define SECONDARY_RESEED_TIME_INTERVAL (7 * 60) /* 7 minutes */
27
28# ifndef FIPS_MODULE
29/* The global RAND method, and the global buffer and DRBG instance. */
30extern RAND_METHOD ossl_rand_meth;
31# endif
32
33#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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