TianoCore EDK2 master
Loading...
Searching...
No Matches
ossl_store.c File Reference
#include <openssl/types.h>
#include <openssl/core_dispatch.h>
#include <openssl/store.h>

Go to the source code of this file.

Functions

void ossl_store_cleanup_int (void)
 
int ossl_store_loader_store_cache_flush (OSSL_LIB_CTX *libctx)
 
int ossl_store_loader_store_remove_all_provided (OSSL_PROVIDER *prov)
 
OSSL_STORE_CTX * OSSL_STORE_open (const char *uri, const UI_METHOD *ui_method, void *ui_data, OSSL_STORE_post_process_info_fn post_process, void *post_process_data)
 
OSSL_STORE_CTX * OSSL_STORE_open_ex (const char *uri, OSSL_LIB_CTX *libctx, const char *propq, const UI_METHOD *ui_method, void *ui_data, const OSSL_PARAM params[], OSSL_STORE_post_process_info_fn post_process, void *post_process_data)
 
int OSSL_STORE_INFO_get_type (const OSSL_STORE_INFO *info)
 
int OSSL_STORE_find (OSSL_STORE_CTX *ctx, const OSSL_STORE_SEARCH *search)
 
OSSL_STORE_INFO * OSSL_STORE_load (OSSL_STORE_CTX *ctx)
 
const char * OSSL_STORE_INFO_get0_NAME (const OSSL_STORE_INFO *info)
 
X509 * OSSL_STORE_INFO_get0_CERT (const OSSL_STORE_INFO *info)
 
X509_CRL * OSSL_STORE_INFO_get0_CRL (const OSSL_STORE_INFO *info)
 
int OSSL_STORE_eof (OSSL_STORE_CTX *ctx)
 
int OSSL_STORE_error (OSSL_STORE_CTX *ctx)
 
int OSSL_STORE_close (OSSL_STORE_CTX *ctx)
 
void OSSL_STORE_INFO_free (OSSL_STORE_INFO *info)
 
OSSL_STORE_SEARCH * OSSL_STORE_SEARCH_by_name (X509_NAME *name)
 
void OSSL_STORE_SEARCH_free (OSSL_STORE_SEARCH *search)
 

Variables

const OSSL_DISPATCH ossl_file_store_functions []
 

Detailed Description

Dummy implement ossl_store(Store retrieval functions) for UEFI.

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

Definition in file ossl_store.c.

Function Documentation

◆ ossl_store_cleanup_int()

void ossl_store_cleanup_int ( void  )

Definition at line 19 of file ossl_store.c.

◆ OSSL_STORE_close()

int OSSL_STORE_close ( OSSL_STORE_CTX *  ctx)

Definition at line 148 of file ossl_store.c.

◆ OSSL_STORE_eof()

int OSSL_STORE_eof ( OSSL_STORE_CTX *  ctx)

Definition at line 132 of file ossl_store.c.

◆ OSSL_STORE_error()

int OSSL_STORE_error ( OSSL_STORE_CTX *  ctx)

Definition at line 140 of file ossl_store.c.

◆ OSSL_STORE_find()

int OSSL_STORE_find ( OSSL_STORE_CTX *  ctx,
const OSSL_STORE_SEARCH *  search 
)

Definition at line 91 of file ossl_store.c.

◆ OSSL_STORE_INFO_free()

void OSSL_STORE_INFO_free ( OSSL_STORE_INFO *  info)

Definition at line 156 of file ossl_store.c.

◆ OSSL_STORE_INFO_get0_CERT()

X509 * OSSL_STORE_INFO_get0_CERT ( const OSSL_STORE_INFO *  info)

Definition at line 116 of file ossl_store.c.

◆ OSSL_STORE_INFO_get0_CRL()

X509_CRL * OSSL_STORE_INFO_get0_CRL ( const OSSL_STORE_INFO *  info)

Definition at line 124 of file ossl_store.c.

◆ OSSL_STORE_INFO_get0_NAME()

const char * OSSL_STORE_INFO_get0_NAME ( const OSSL_STORE_INFO *  info)

Definition at line 108 of file ossl_store.c.

◆ OSSL_STORE_INFO_get_type()

int OSSL_STORE_INFO_get_type ( const OSSL_STORE_INFO *  info)

Definition at line 83 of file ossl_store.c.

◆ OSSL_STORE_load()

OSSL_STORE_INFO * OSSL_STORE_load ( OSSL_STORE_CTX *  ctx)

Definition at line 100 of file ossl_store.c.

◆ ossl_store_loader_store_cache_flush()

int ossl_store_loader_store_cache_flush ( OSSL_LIB_CTX *  libctx)

Definition at line 26 of file ossl_store.c.

◆ ossl_store_loader_store_remove_all_provided()

int ossl_store_loader_store_remove_all_provided ( OSSL_PROVIDER *  prov)

Definition at line 34 of file ossl_store.c.

◆ OSSL_STORE_open()

OSSL_STORE_CTX * OSSL_STORE_open ( const char *  uri,
const UI_METHOD *  ui_method,
void *  ui_data,
OSSL_STORE_post_process_info_fn  post_process,
void *  post_process_data 
)

Definition at line 56 of file ossl_store.c.

◆ OSSL_STORE_open_ex()

OSSL_STORE_CTX * OSSL_STORE_open_ex ( const char *  uri,
OSSL_LIB_CTX *  libctx,
const char *  propq,
const UI_METHOD *  ui_method,
void *  ui_data,
const OSSL_PARAM  params[],
OSSL_STORE_post_process_info_fn  post_process,
void *  post_process_data 
)

Definition at line 68 of file ossl_store.c.

◆ OSSL_STORE_SEARCH_by_name()

OSSL_STORE_SEARCH * OSSL_STORE_SEARCH_by_name ( X509_NAME *  name)

Definition at line 163 of file ossl_store.c.

◆ OSSL_STORE_SEARCH_free()

void OSSL_STORE_SEARCH_free ( OSSL_STORE_SEARCH *  search)

Definition at line 171 of file ossl_store.c.

Variable Documentation

◆ ossl_file_store_functions

const OSSL_DISPATCH ossl_file_store_functions[]
Initial value:
= {
{ OSSL_FUNC_STORE_OPEN, (void (*)(void)) file_open },
{ 0, NULL },
}
#define NULL
Definition: Base.h:319

Definition at line 50 of file ossl_store.c.