TianoCore EDK2 master
Loading...
Searching...
No Matches
uefiprov.c File Reference
#include <string.h>
#include <stdio.h>
#include <openssl/opensslconf.h>
#include <openssl/core.h>
#include <openssl/core_dispatch.h>
#include <openssl/core_names.h>
#include <openssl/params.h>
#include "prov/bio.h"
#include "prov/provider_ctx.h"
#include "prov/providercommon.h"
#include "prov/implementations.h"
#include "prov/names.h"
#include "prov/provider_util.h"
#include "prov/seeding.h"
#include "internal/nelem.h"
#include "provider_local.h"
#include "decoders.inc"

Go to the source code of this file.

Macros

#define ALGC(NAMES, FUNC, CHECK)   { { NAMES, "provider=default", FUNC }, CHECK }
 
#define ALG(NAMES, FUNC)   ALGC(NAMES, FUNC, NULL)
 
#define DECODER_PROVIDER   "default"
 

Functions

int ossl_uefi_provider_init (const OSSL_CORE_HANDLE *handle, const OSSL_DISPATCH *in, const OSSL_DISPATCH **out, void **provctx)
 

Variables

OSSL_provider_init_fn ossl_uefi_provider_init
 
const OSSL_PROVIDER_INFO ossl_predefined_providers []
 

Detailed Description

UEFI Openssl provider implementation.

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

Definition in file uefiprov.c.

Macro Definition Documentation

◆ ALG

#define ALG (   NAMES,
  FUNC 
)    ALGC(NAMES, FUNC, NULL)

Definition at line 41 of file uefiprov.c.

◆ ALGC

#define ALGC (   NAMES,
  FUNC,
  CHECK 
)    { { NAMES, "provider=default", FUNC }, CHECK }

Definition at line 40 of file uefiprov.c.

Function Documentation

◆ ossl_uefi_provider_init()

int ossl_uefi_provider_init ( const OSSL_CORE_HANDLE *  handle,
const OSSL_DISPATCH *  in,
const OSSL_DISPATCH **  out,
void **  provctx 
)

Definition at line 285 of file uefiprov.c.

Variable Documentation

◆ ossl_predefined_providers

const OSSL_PROVIDER_INFO ossl_predefined_providers[]
Initial value:
= {
{ "default", NULL, ossl_uefi_provider_init, NULL, 1 },
{ NULL, NULL, NULL, NULL, 0 }
}
#define NULL
Definition: Base.h:319

Definition at line 27 of file uefiprov.c.

◆ ossl_uefi_provider_init

OSSL_provider_init_fn ossl_uefi_provider_init

Definition at line 26 of file uefiprov.c.