Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/wpa_supplicant/test/
Dtest_crypto.c47 uint8_t buf1[32], buf2[32], buf3[32], buf4[32]; variable
57 buf4[count] = 0x0; //Calculated result
68 TEST_ASSERT(crypto_bignum_to_bin(sum, buf4, 32, 0) == 32);
70 TEST_ASSERT(!memcmp(buf3, buf4, 32));
78 uint8_t buf1[32], buf2[32], buf3[32], buf4[32]; variable
88 buf4[count] = 0x0; //Calculated result
99 TEST_ASSERT(crypto_bignum_to_bin(mod, buf4, 32, 0) == 32);
101 TEST_ASSERT(!memcmp(buf3, buf4, 32));
109 uint8_t buf1[32], buf2[32], buf3[32], buf4[32]; variable
119 buf4[count] = 0x0; //Calculated result
[all …]
Dtest_sae.c270 struct wpabuf *buf1, *buf2, *buf3, *buf4; variable
319 buf4 = wpabuf_alloc2(SAE_COMMIT_MAX_LEN);
321 sae_write_confirm(&sae2, buf4);
322 … ESP_LOG_BUFFER_HEXDUMP("SAE: Confirm2", wpabuf_mhead_u8(buf4), wpabuf_len(buf4), ESP_LOG_INFO);
325 TEST_ASSERT(sae_check_confirm(&sae1, wpabuf_mhead(buf4), buf4->used) == 0);
336 wpabuf_free2(buf4);
358 struct wpabuf *buf1, *buf2, *buf3, *buf4; variable
403 buf4 = wpabuf_alloc2(SAE_COMMIT_MAX_LEN);
405 sae_write_confirm(&sae2, buf4);
408 TEST_ASSERT(sae_check_confirm(&sae1, wpabuf_mhead(buf4), buf4->used) != 0);
[all …]