TianoCore EDK2 master
Loading...
Searching...
No Matches
OpensslLibConstructor.c File Reference
#include <Base.h>

Go to the source code of this file.

Functions

VOID OPENSSL_cpuid_setup (VOID)
 
RETURN_STATUS EFIAPI OpensslLibConstructor (VOID)
 

Detailed Description

Constructor to initialize CPUID data for OpenSSL assembly operations.

Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file OpensslLibConstructor.c.

Function Documentation

◆ OPENSSL_cpuid_setup()

VOID OPENSSL_cpuid_setup ( VOID  )

An internal OpenSSL function which fetches a local copy of the hardware capability flags.

◆ OpensslLibConstructor()

RETURN_STATUS EFIAPI OpensslLibConstructor ( VOID  )

Constructor routine for OpensslLib.

The constructor calls an internal OpenSSL function which fetches a local copy of the hardware capability flags, used to enable native crypto instructions.

Parameters
None
Return values
EFI_SUCCESSThe construction succeeded.

Definition at line 35 of file OpensslLibConstructor.c.