Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/yotta/data/example-hashing/
Dmain.cpp45 static const unsigned char *hello_buffer = (const unsigned char *) hello_str; variable
58 mbedtls_sha256(hello_buffer, hello_len, output1, 0); in example()
74 mbedtls_sha256_update(&ctx2, hello_buffer, 1); in example()
75 mbedtls_sha256_update(&ctx2, hello_buffer + 1, 1); in example()
76 mbedtls_sha256_update(&ctx2, hello_buffer + 2, hello_len - 2); in example()
98 int ret3 = mbedtls_md(md_info3, hello_buffer, hello_len, output3); in example()
136 mbedtls_md_update(&ctx4, hello_buffer, 1); in example()
137 mbedtls_md_update(&ctx4, hello_buffer + 1, 1); in example()
138 mbedtls_md_update(&ctx4, hello_buffer + 2, hello_len - 2); in example()