mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Only build ecjpake_do_round() is PSA_WANT_ALG_JPAKE is defined
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
8c2e8a6cda
commit
75673abef5
|
|
@ -705,6 +705,7 @@ exit:
|
|||
return( test_ok );
|
||||
}
|
||||
|
||||
#if defined(PSA_WANT_ALG_JPAKE)
|
||||
static int ecjpake_do_round( psa_algorithm_t alg, unsigned int primitive,
|
||||
psa_pake_operation_t *server,
|
||||
psa_pake_operation_t *client,
|
||||
|
|
@ -994,6 +995,7 @@ exit:
|
|||
mbedtls_free( buffer1 );
|
||||
return( ret );
|
||||
}
|
||||
#endif /* PSA_WANT_ALG_JPAKE */
|
||||
|
||||
/* END_HEADER */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue