Lines Matching refs:step
284 psa_crypto_driver_pake_step_t step,
291 (void) step; // Unused parameter
304 * data is stored in an intermediate buffer at first step output call,
306 * to return the right parts on each step.
310 if (step == PSA_JPAKE_X1_STEP_KEY_SHARE) {
322 } else if (step == PSA_JPAKE_X2S_STEP_KEY_SHARE) {
339 * that the data for each step is prepended with a length byte, and
343 * In PSA, we output each step separately, and don't prepend the
347 if (step == PSA_JPAKE_X2S_STEP_KEY_SHARE &&
373 if ((step == PSA_JPAKE_X2_STEP_ZK_PROOF) ||
374 (step == PSA_JPAKE_X2S_STEP_ZK_PROOF)) {
383 (void) step;
392 psa_crypto_driver_pake_step_t step,
398 operation, step, output, output_size, output_length);
405 psa_crypto_driver_pake_step_t step,
410 (void) step; // Unused parameter
422 * In order to achieve API compatibility, each X1+X2 or X4S step data
424 * Mbed TLS JPAKE API on the last step.
426 * This causes any input error to be only detected on the last step.
432 * The summary is that the data for each step is prepended with a
438 if (step == PSA_JPAKE_X4S_STEP_KEY_SHARE &&
476 if (step == PSA_JPAKE_X2_STEP_ZK_PROOF) {
487 } else if (step == PSA_JPAKE_X4S_STEP_ZK_PROOF) {
503 (void) step;
511 psa_crypto_driver_pake_step_t step,
516 operation, step, input, input_length);