mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 00:46:22 -04:00
psa_util: add include asn1write.h in public header
This is mandatory to have support for the error codes defined in the asn1write.h header file. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
bda440f82d
commit
99c0369d31
@ -16,6 +16,11 @@
|
|||||||
|
|
||||||
#include "psa/crypto.h"
|
#include "psa/crypto.h"
|
||||||
|
|
||||||
|
/* ASN1 defines used in the ECDSA conversion functions. */
|
||||||
|
#if defined(MBEDTLS_ASN1_WRITE_C) || defined(MBEDTLS_ASN1_PARSE_C)
|
||||||
|
#include <mbedtls/asn1write.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||||
|
|
||||||
/* Expose whatever RNG the PSA subsystem uses to applications using the
|
/* Expose whatever RNG the PSA subsystem uses to applications using the
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/* BEGIN_HEADER */
|
/* BEGIN_HEADER */
|
||||||
#include <stdint.h>
|
|
||||||
#include <test/helpers.h>
|
#include <test/helpers.h>
|
||||||
#include <mbedtls/psa_util.h>
|
#include <mbedtls/psa_util.h>
|
||||||
#include <mbedtls/asn1write.h>
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ECDSA_RAW_TO_DER = 0,
|
ECDSA_RAW_TO_DER = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user