mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Drop calls to mbedtls_ecjpake_check()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
@ -419,12 +419,6 @@ psa_status_t psa_pake_output( psa_pake_operation_t *operation,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( operation->state >= PSA_PAKE_STATE_READY &&
|
|
||||||
mbedtls_ecjpake_check( &operation->ctx.ecjpake ) != 0 )
|
|
||||||
{
|
|
||||||
return( PSA_ERROR_BAD_STATE );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( operation->state != PSA_PAKE_STATE_READY &&
|
if( operation->state != PSA_PAKE_STATE_READY &&
|
||||||
operation->state != PSA_PAKE_OUTPUT_X1_X2 &&
|
operation->state != PSA_PAKE_OUTPUT_X1_X2 &&
|
||||||
operation->state != PSA_PAKE_OUTPUT_X2S )
|
operation->state != PSA_PAKE_OUTPUT_X2S )
|
||||||
@ -625,12 +619,6 @@ psa_status_t psa_pake_input( psa_pake_operation_t *operation,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( operation->state >= PSA_PAKE_STATE_READY &&
|
|
||||||
mbedtls_ecjpake_check( &operation->ctx.ecjpake ) != 0 )
|
|
||||||
{
|
|
||||||
return( PSA_ERROR_BAD_STATE );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( operation->state != PSA_PAKE_STATE_READY &&
|
if( operation->state != PSA_PAKE_STATE_READY &&
|
||||||
operation->state != PSA_PAKE_INPUT_X1_X2 &&
|
operation->state != PSA_PAKE_INPUT_X1_X2 &&
|
||||||
operation->state != PSA_PAKE_INPUT_X4S )
|
operation->state != PSA_PAKE_INPUT_X4S )
|
||||||
|
Reference in New Issue
Block a user