Searched refs:BUFSIZE (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/benchmarks/mbedtls/src/ |
D | benchmark.c | 137 #define BUFSIZE 1024 macro 189 ii * BUFSIZE / 1024, \ 190 (unsigned long)(delta / (jj * BUFSIZE))); \ 279 unsigned char buf[BUFSIZE]; 312 TIME_AND_TSC("MD5", mbedtls_md5(buf, BUFSIZE, tmp)); in main() 319 mbedtls_ripemd160(buf, BUFSIZE, tmp)); in main() 325 TIME_AND_TSC("SHA-1", mbedtls_sha1(buf, BUFSIZE, tmp)); in main() 332 BUFSIZE, tmp, 0)); in main() 339 BUFSIZE, tmp, 0)); in main() 355 BUFSIZE, tmp, buf, buf)); in main() [all …]
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 178 #define BUFSIZE 10 macro 180 char buffer[BUFSIZE]; 211 (void)memset(buffer, '\0', BUFSIZE); in ZTEST() 216 zassert_equal(strnlen(buffer, BUFSIZE), 5, "strnlen failed"); in ZTEST() 252 __ASSERT_NO_MSG(sizeof(pattern) - 1 > BUFSIZE); in ZTEST() 253 memcpy(buffer, pattern, BUFSIZE); in ZTEST() 258 zassert_true((strncmp(buffer, "eeeeeeeeeeeff", BUFSIZE) == 0), in ZTEST() 262 buffer[BUFSIZE - 1] = '\0'; in ZTEST() 263 zassert_true((strncmp(buffer, buffer, BUFSIZE) == 0), in ZTEST() 276 (void)memset(buffer, '\0', BUFSIZE); in ZTEST() [all …]
|