mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 15:50:47 -04:00
Add more information to comment on test hooks
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
3e77e982d5
commit
114d82407c
@ -5562,7 +5562,10 @@ exit:
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Memory copying test hooks */
|
/* Memory copying test hooks. These are called before input copy, after input
|
||||||
|
* copy, before output copy and after output copy, respectively.
|
||||||
|
* They are used by memory-poisoning tests to temporarily unpoison buffers
|
||||||
|
* while they are copied. */
|
||||||
#if defined(MBEDTLS_TEST_HOOKS)
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
void (*psa_input_pre_copy_hook)(const uint8_t *input, size_t input_len) = NULL;
|
void (*psa_input_pre_copy_hook)(const uint8_t *input, size_t input_len) = NULL;
|
||||||
void (*psa_input_post_copy_hook)(const uint8_t *input, size_t input_len) = NULL;
|
void (*psa_input_post_copy_hook)(const uint8_t *input, size_t input_len) = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user