Lines Matching refs:sz
501 size_t sz = 0; in step_asymm_operation() local
707 sz = ecdsa_get_input_max_byte_size(proc->tee_op_handle); in step_asymm_operation()
708 if (!in_size || !sz) { in step_asymm_operation()
717 if (in_size > sz) in step_asymm_operation()
718 in_size = sz; in step_asymm_operation()
720 if (function == PKCS11_FUNCTION_VERIFY && in2_size != 2 * sz) { in step_asymm_operation()
731 sz = ecdsa_get_input_max_byte_size(proc->tee_op_handle); in step_asymm_operation()
732 if (!sz) { in step_asymm_operation()
738 in2_size != 2 * sz) { in step_asymm_operation()
758 sz = rsa_get_input_max_byte_size(proc->tee_op_handle); in step_asymm_operation()
759 if (!sz) { in step_asymm_operation()
764 if (function == PKCS11_FUNCTION_VERIFY && in2_size != sz) { in step_asymm_operation()
838 if (in_size > sz) { in step_asymm_operation()
858 if (in_size > sz) { in step_asymm_operation()
882 if (in_size != sz) { in step_asymm_operation()
884 in_size, sz); in step_asymm_operation()
889 if (out_size < sz) { in step_asymm_operation()
891 out_size = sz; in step_asymm_operation()
896 temp_size = sz; in step_asymm_operation()
902 if (!res && temp_size != sz) { in step_asymm_operation()
904 temp_size, sz); in step_asymm_operation()
909 TEE_MemMove(out_buf, temp_buf, sz); in step_asymm_operation()
910 TEE_MemFill(temp_buf, 0xa5, sz); in step_asymm_operation()
914 out_size = sz; in step_asymm_operation()
922 temp_size = sz; in step_asymm_operation()