OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcRngInternals.h File Reference

Go to the source code of this file.

Data Structures

struct  OC_RNG_CONTEXT_
 

Macros

#define RDRAND_RETRY_LIMIT   10
 
#define MAX_BYTES_TO_EMIT   1600000
 
#define MAX_BYTES_IN_BUF   (16*64)
 

Typedefs

typedef struct OC_RNG_CONTEXT_ OC_RNG_CONTEXT
 

Functions

UINT64 EFIAPI AsmAddRngJitter (IN UINT64 Value)
 

Detailed Description

Copyright (C) 2020, vit9696. All rights reserved.

All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file OcRngInternals.h.

Macro Definition Documentation

◆ MAX_BYTES_IN_BUF

#define MAX_BYTES_IN_BUF   (16*64)

Definition at line 49 of file OcRngInternals.h.

◆ MAX_BYTES_TO_EMIT

#define MAX_BYTES_TO_EMIT   1600000

Definition at line 44 of file OcRngInternals.h.

◆ RDRAND_RETRY_LIMIT

#define RDRAND_RETRY_LIMIT   10

Definition at line 39 of file OcRngInternals.h.

Typedef Documentation

◆ OC_RNG_CONTEXT

Random Number Generator context.

Function Documentation

◆ AsmAddRngJitter()

UINT64 EFIAPI AsmAddRngJitter ( IN UINT64 Value)

Performs delay on target platform to cause microoperating scheduling and introduce timing entropy.

Parameters
[in]ValueDummy value.
Return values
Dummyvalue.