Lines Matching defs:step

1731  * In case of failure at any step, stop the sequence and call
6124 * 4. If k > N - 2, discard the result and return to step 1.
6212 /* 4. If k > N - 2, discard the result and return to step 1.
6722 psa_key_derivation_step_t step,
6728 switch (step) {
6923 psa_key_derivation_step_t step,
6927 switch (step) {
7034 psa_key_derivation_step_t step,
7038 switch (step) {
7049 return psa_tls12_prf_input(prf, step, data, data_length);
7059 psa_key_derivation_step_t step,
7064 step != PSA_KEY_DERIVATION_INPUT_SECRET) {
7083 psa_key_derivation_step_t step,
7086 if (step != PSA_KEY_DERIVATION_INPUT_COST) {
7228 psa_key_derivation_step_t step,
7232 switch (step) {
7244 * input step of a key derivation.
7253 psa_key_derivation_step_t step,
7256 switch (step) {
7301 psa_key_derivation_step_t step,
7309 status = psa_key_derivation_check_input_type(step, key_type);
7317 step, data, data_length);
7323 step, data, data_length);
7329 step, data, data_length);
7335 &operation->ctx.tls12_ecjpake_to_pms, step, data, data_length);
7341 step, data, data_length);
7361 psa_key_derivation_step_t step,
7370 &operation->ctx.pbkdf2, step, value);
7374 (void) step;
7388 psa_key_derivation_step_t step,
7397 status = psa_key_derivation_input_internal(operation, step,
7409 psa_key_derivation_step_t step,
7412 return psa_key_derivation_input_integer_internal(operation, step, value);
7417 psa_key_derivation_step_t step,
7433 if (step == PSA_KEY_DERIVATION_INPUT_SECRET ||
7434 step == PSA_KEY_DERIVATION_INPUT_PASSWORD) {
7439 step, slot->attr.type,
7531 psa_key_derivation_step_t step,
7556 status = psa_key_derivation_input_internal(operation, step,
7566 psa_key_derivation_step_t step,
7586 status = psa_key_agreement_internal(operation, step,
7598 if (step == PSA_KEY_DERIVATION_INPUT_SECRET) {
8424 computation_stage->step = PSA_PAKE_STEP_KEY_SHARE;
8605 /* Auxiliary function to convert core computation stage to single driver step. */
8630 return (psa_crypto_driver_pake_step_t) (key_share_step + stage->step - PSA_PAKE_STEP_KEY_SHARE);
8680 psa_pake_step_t step,
8683 if (step != PSA_PAKE_STEP_KEY_SHARE &&
8684 step != PSA_PAKE_STEP_ZK_PUBLIC &&
8685 step != PSA_PAKE_STEP_ZK_PROOF) {
8697 /* Check that the step we are given is the one we were expecting */
8698 if (step != computation_stage->step) {
8702 if (step == PSA_PAKE_STEP_KEY_SHARE &&
8724 if (stage->step == PSA_PAKE_STEP_ZK_PROOF) {
8745 stage->step = PSA_PAKE_STEP_KEY_SHARE;
8747 stage->step++;
8756 psa_pake_step_t step,
8786 status = psa_jpake_prologue(operation, step, PSA_JPAKE_OUTPUT);
8795 (void) step;
8833 psa_pake_step_t step,
8841 step);
8864 status = psa_jpake_prologue(operation, step, PSA_JPAKE_INPUT);
8873 (void) step;