|
Mbed OS Reference
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
28#ifndef MBEDTLS_CHECK_CRYPTO_CONFIG_H
29#define MBEDTLS_CHECK_CRYPTO_CONFIG_H
31#if defined(PSA_WANT_ALG_DETERMINISTIC_ECDSA) && \
32 !( defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR) || \
33 defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY) )
34#error "PSA_WANT_ALG_DETERMINISTIC_ECDSA defined, but not all prerequisites"
37#if defined(PSA_WANT_ALG_ECDSA) && \
38 !( defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR) || \
39 defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY) )
40#error "PSA_WANT_ALG_ECDSA defined, but not all prerequisites"
43#if defined(PSA_WANT_ALG_RSA_PKCS1V15_CRYPT) && \
44 !( defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR) || \
45 defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY) )
46#error "PSA_WANT_ALG_RSA_PKCS1V15_CRYPT defined, but not all prerequisites"
49#if defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN) && \
50 !( defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR) || \
51 defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY) )
52#error "PSA_WANT_ALG_RSA_PKCS1V15_SIGN defined, but not all prerequisites"
55#if defined(PSA_WANT_ALG_RSA_OAEP) && \
56 !( defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR) || \
57 defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY) )
58#error "PSA_WANT_ALG_RSA_OAEP defined, but not all prerequisites"
61#if defined(PSA_WANT_ALG_RSA_PSS) && \
62 !( defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR) || \
63 defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY) )
64#error "PSA_WANT_ALG_RSA_PSS defined, but not all prerequisites"
67#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR) && \
68 !defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY)
69#error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR defined, but not all prerequisites"