Home
last modified time | relevance | path

Searched refs:step (Results 1 – 24 of 24) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_pake.c284 psa_crypto_driver_pake_step_t step, in mbedtls_psa_pake_output_internal() argument
291 (void) step; // Unused parameter in mbedtls_psa_pake_output_internal()
310 if (step == PSA_JPAKE_X1_STEP_KEY_SHARE) { in mbedtls_psa_pake_output_internal()
322 } else if (step == PSA_JPAKE_X2S_STEP_KEY_SHARE) { in mbedtls_psa_pake_output_internal()
347 if (step == PSA_JPAKE_X2S_STEP_KEY_SHARE && in mbedtls_psa_pake_output_internal()
373 if ((step == PSA_JPAKE_X2_STEP_ZK_PROOF) || in mbedtls_psa_pake_output_internal()
374 (step == PSA_JPAKE_X2S_STEP_ZK_PROOF)) { in mbedtls_psa_pake_output_internal()
383 (void) step; in mbedtls_psa_pake_output_internal()
392 psa_crypto_driver_pake_step_t step, in mbedtls_psa_pake_output() argument
398 operation, step, output, output_size, output_length); in mbedtls_psa_pake_output()
[all …]
H A Dpsa_crypto_pake.h75 psa_crypto_driver_pake_step_t step,
113 psa_crypto_driver_pake_step_t step,
H A Dpsa_crypto.c6976 psa_key_derivation_step_t step, in psa_hkdf_input() argument
6982 switch (step) { in psa_hkdf_input()
7177 psa_key_derivation_step_t step, in psa_tls12_prf_input() argument
7181 switch (step) { in psa_tls12_prf_input()
7288 psa_key_derivation_step_t step, in psa_tls12_prf_psk_to_ms_input() argument
7292 switch (step) { in psa_tls12_prf_psk_to_ms_input()
7303 return psa_tls12_prf_input(prf, step, data, data_length); in psa_tls12_prf_psk_to_ms_input()
7313 psa_key_derivation_step_t step, in psa_tls12_ecjpake_to_pms_input() argument
7318 step != PSA_KEY_DERIVATION_INPUT_SECRET) { in psa_tls12_ecjpake_to_pms_input()
7337 psa_key_derivation_step_t step, in psa_pbkdf2_set_input_cost() argument
[all …]
H A Dpsa_crypto_driver_wrappers.h2783 psa_crypto_driver_pake_step_t step, in psa_driver_wrapper_pake_output() argument
2792 return( mbedtls_psa_pake_output( &operation->data.ctx.mbedtls_ctx, step, in psa_driver_wrapper_pake_output()
2801 step, output, output_size, output_length ) ); in psa_driver_wrapper_pake_output()
2805 (void) step; in psa_driver_wrapper_pake_output()
2815 psa_crypto_driver_pake_step_t step, in psa_driver_wrapper_pake_input() argument
2824 step, input, in psa_driver_wrapper_pake_input()
2833 step, in psa_driver_wrapper_pake_input()
2838 (void) step; in psa_driver_wrapper_pake_input()
H A Dssl_tls.c9093 for (psa_pake_step_t step = PSA_PAKE_STEP_KEY_SHARE; in mbedtls_psa_ecjpake_read_round() local
9094 step <= PSA_PAKE_STEP_ZK_PROOF; in mbedtls_psa_ecjpake_read_round()
9095 ++step) { in mbedtls_psa_ecjpake_read_round()
9104 status = psa_pake_input(pake_ctx, step, in mbedtls_psa_ecjpake_read_round()
9137 for (psa_pake_step_t step = PSA_PAKE_STEP_KEY_SHARE; in mbedtls_psa_ecjpake_write_round() local
9138 step <= PSA_PAKE_STEP_ZK_PROOF; in mbedtls_psa_ecjpake_write_round()
9139 ++step) { in mbedtls_psa_ecjpake_write_round()
9144 status = psa_pake_output(pake_ctx, step, in mbedtls_psa_ecjpake_write_round()
/optee_os/ta/pkcs11/src/
H A Dprocessing_digest.c112 enum processing_step step, in step_digest_operation() argument
142 switch (step) { in step_digest_operation()
149 TEE_Panic(step); in step_digest_operation()
161 switch (step) { in step_digest_operation()
205 TEE_Panic(step); in step_digest_operation()
H A Dprocessing.c708 enum processing_step step) in entry_processing_step() argument
728 if (step == PKCS11_FUNC_STEP_UPDATE_KEY) { in entry_processing_step()
743 if (step == PKCS11_FUNC_STEP_UPDATE_KEY) { in entry_processing_step()
762 function, step); in entry_processing_step()
767 rc = step_symm_operation(session, function, step, in entry_processing_step()
770 rc = step_asymm_operation(session, function, step, in entry_processing_step()
773 rc = step_digest_operation(session, step, obj, ptypes, params); in entry_processing_step()
777 if (rc == PKCS11_CKR_OK && (step == PKCS11_FUNC_STEP_UPDATE || in entry_processing_step()
778 step == PKCS11_FUNC_STEP_UPDATE_KEY)) { in entry_processing_step()
779 session->processing->step = PKCS11_FUNC_STEP_UPDATE; in entry_processing_step()
[all …]
H A Dprocessing_symm.c735 enum processing_step step, in step_symm_operation() argument
775 switch (step) { in step_symm_operation()
784 if (step != PKCS11_FUNC_STEP_FINAL) { in step_symm_operation()
808 if (step == PKCS11_FUNC_STEP_FINAL || in step_symm_operation()
809 step == PKCS11_FUNC_STEP_ONESHOT) in step_symm_operation()
833 if (step == PKCS11_FUNC_STEP_FINAL || in step_symm_operation()
834 step == PKCS11_FUNC_STEP_ONESHOT) in step_symm_operation()
857 if (step == PKCS11_FUNC_STEP_FINAL) in step_symm_operation()
869 if (step == PKCS11_FUNC_STEP_ONESHOT) { in step_symm_operation()
899 if (step == PKCS11_FUNC_STEP_UPDATE) in step_symm_operation()
[all …]
H A Dprocessing.h97 enum processing_step step);
136 enum processing_step step,
159 enum processing_step step,
200 enum processing_step step,
H A Dpkcs11_attributes.h167 enum processing_step step);
H A Dpkcs11_attributes.c65 enum processing_step step) in check_mechanism_against_processing() argument
69 switch (step) { in check_mechanism_against_processing()
94 if (session->processing->step == PKCS11_FUNC_STEP_UPDATE || in check_mechanism_against_processing()
95 session->processing->step == PKCS11_FUNC_STEP_FINAL) { in check_mechanism_against_processing()
108 if (session->processing->step == PKCS11_FUNC_STEP_ONESHOT || in check_mechanism_against_processing()
109 session->processing->step == PKCS11_FUNC_STEP_FINAL) { in check_mechanism_against_processing()
132 if (session->processing->step == PKCS11_FUNC_STEP_ONESHOT) { in check_mechanism_against_processing()
139 TEE_Panic(step); in check_mechanism_against_processing()
146 function, step); in check_mechanism_against_processing()
H A Dprocessing_asymm.c478 enum processing_step step, in step_asymm_operation() argument
524 switch (step) { in step_asymm_operation()
624 if (step == PKCS11_FUNC_STEP_UPDATE) { in step_asymm_operation()
H A Dpkcs11_token.h147 enum processing_step step; member
H A Dpkcs11_token.c230 proc->step = PKCS11_FUNC_STEP_INIT; in set_processing_state()
/optee_os/core/drivers/qcom/ramblur/
H A Dramblur_pimem_v3.c26 uint32_t step; member
233 uint32_t *step) in get_hardware_version() argument
241 *step = (val & RAMBLUR_VERSION_STEP_BMSK) >> in get_hardware_version()
275 ramblur_version.step == 0) in initialize_window()
307 &ramblur_version.step); in qti_ramblur_pimem_init()
312 ramblur_version.step, in qti_ramblur_pimem_init()
/optee_os/core/include/drivers/
H A Dclk.h91 unsigned long *max, unsigned long *step);
237 unsigned long *max, unsigned long *step);
/optee_os/core/lib/scmi-server/
H A Dscmi_clock_consumer.c90 unsigned long *step) in scmi_clk_get_rates_steps() argument
96 res = clk_get_rates_steps(clk->parent, min, max, step); in scmi_clk_get_rates_steps()
100 *step = 1; in scmi_clk_get_rates_steps()
/optee_os/core/drivers/
H A Dstm32_cpu_opp.c133 int step = levels[2]; in opp_voltage_is_supported() local
139 DIV_ROUND_UP(target_volt_uv - min, step) * step; in opp_voltage_is_supported()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_extra.h1113 psa_pake_step_t MBEDTLS_PRIVATE(step);
1711 psa_pake_step_t step,
1766 psa_pake_step_t step,
H A Dcrypto.h3398 psa_key_derivation_step_t step,
3441 psa_key_derivation_step_t step,
3509 psa_key_derivation_step_t step,
3577 psa_key_derivation_step_t step,
/optee_os/scripts/
H A Dsign_rproc_fw.py109 def dump_buffer(buf, step=16, name="", logger=logging.debug, indent=""): argument
111 for i in range(0, len(buf), step):
113 join(["%02X" % c for c in buf[i:i+step]]))
/optee_os/core/drivers/clk/
H A Dclk.c364 unsigned long *max, unsigned long *step) in clk_get_rates_steps() argument
369 return clk->ops->get_rates_steps(clk, min, max, step); in clk_get_rates_steps()
/optee_os/core/lib/qcbor/
H A DREADME.md137 last step or an encode or decode. TinyCBOR requires an error check on
234 `-DBUILD_SHARED_LIBS=ON` option at the CMake configuration step.
264 you can use the `BUILD_QCBOR_WARN` option at the CMake configuration step:
369 step and setting their value to 'ON' (True). The following table shows the
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog1785 for algorithm values that fully encode the hashing step, as per the PSA
2957 or from a buffer regardless of the step type.