Functions | |
BOOLEAN EFIAPI | RdRand16Step (OUT UINT16 *Rand) |
BOOLEAN EFIAPI | RdRand32Step (OUT UINT32 *Rand) |
BOOLEAN EFIAPI | RdRand64Step (OUT UINT64 *Rand) |
Copyright (c) 2013, Intel Corporation. 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.
BOOLEAN EFIAPI RdRand16Step | ( | OUT UINT16 * | Rand | ) |
Generates a 16-bit random number through RDRAND instruction.
[out] | Rand | Buffer pointer to store the random result. |
TRUE | RDRAND call was successful. | |
FALSE | Failed attempts to call RDRAND. |
References BOOLEAN().
BOOLEAN EFIAPI RdRand32Step | ( | OUT UINT32 * | Rand | ) |
Generates a 32-bit random number through RDRAND instruction.
[out] | Rand | Buffer pointer to store the random result. |
TRUE | RDRAND call was successful. | |
FALSE | Failed attempts to call RDRAND. |
References BOOLEAN().
BOOLEAN EFIAPI RdRand64Step | ( | OUT UINT64 * | Rand | ) |
Generates a 64-bit random number through RDRAND instruction.
[out] | Rand | Buffer pointer to store the random result. |
TRUE | RDRAND call was successful. | |
FALSE | Failed attempts to call RDRAND. |
References BOOLEAN().