mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-21 15:41:00 +00:00
psa_crypto_ffdh: move dhm.h inclusion to c file
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
724a2abf01
commit
1a54352f5a
@ -10,6 +10,12 @@
|
|||||||
|
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||||
|
|
||||||
|
/* This header is only needed because it defines
|
||||||
|
* MBEDTLS_DHM_RFC7919_FFDHExxxx_[P|G]_BIN symbols that are used in
|
||||||
|
* mbedtls_psa_ffdh_set_prime_generator(). A part from that, this module
|
||||||
|
* only uses bignum functions for arithmetic. */
|
||||||
|
#include <mbedtls/dhm.h>
|
||||||
|
|
||||||
#include <psa/crypto.h>
|
#include <psa/crypto.h>
|
||||||
#include "psa_crypto_core.h"
|
#include "psa_crypto_core.h"
|
||||||
#include "psa_crypto_ffdh.h"
|
#include "psa_crypto_ffdh.h"
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#define PSA_CRYPTO_FFDH_H
|
#define PSA_CRYPTO_FFDH_H
|
||||||
|
|
||||||
#include <psa/crypto.h>
|
#include <psa/crypto.h>
|
||||||
#include <mbedtls/dhm.h>
|
|
||||||
|
|
||||||
/** Perform a key agreement and return the FFDH shared secret.
|
/** Perform a key agreement and return the FFDH shared secret.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user