NCBI C++ ToolKit
Functions
md_psa.h File Reference
#include "common.h"
#include "mbedtls/md.h"
#include "psa/crypto.h"
+ Include dependency graph for md_psa.h:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

int mbedtls_md_error_from_psa (psa_status_t status)
 Translation between MD and PSA identifiers (algorithms, errors). More...
 

Function Documentation

◆ mbedtls_md_error_from_psa()

int mbedtls_md_error_from_psa ( psa_status_t  status)

Translation between MD and PSA identifiers (algorithms, errors).

Note: this internal module will go away when everything becomes based on PSA Crypto; it is a helper for the transition period.

Copyright The Mbed TLS Contributors SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later Convert PSA status to MD error code.

Parameters
statusPSA status.
Returns
The corresponding MD error code,
Modified on Wed Jul 17 13:18:38 2024 by modify_doxy.py rev. 669887