Searched refs:clear_len (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/library/ |
D | ssl_ticket.c | 210 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local 241 &clear_len ) ) != 0 || in mbedtls_ssl_ticket_write() 242 (unsigned long) clear_len > 65535 ) in mbedtls_ssl_ticket_write() 246 MBEDTLS_PUT_UINT16_BE( clear_len, state_len_bytes, 0 ); in mbedtls_ssl_ticket_write() 253 state, clear_len, in mbedtls_ssl_ticket_write() 259 if( ciph_len != clear_len + TICKET_AUTH_TAG_BYTES ) in mbedtls_ssl_ticket_write() 307 size_t enc_len, clear_len; in mbedtls_ssl_ticket_parse() local 346 ticket, enc_len, &clear_len, in mbedtls_ssl_ticket_parse() 354 if( clear_len != enc_len ) in mbedtls_ssl_ticket_parse() 361 if( ( ret = mbedtls_ssl_session_load( session, ticket, clear_len ) ) != 0 ) in mbedtls_ssl_ticket_parse()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_reconfig.c | 318 size_t clear_len, attr_len, len[2]; in dpp_reconfig_build_resp() local 324 clear_len = 4 + auth->curve->nonce_len + in dpp_reconfig_build_resp() 326 clear = wpabuf_alloc(clear_len); in dpp_reconfig_build_resp() 561 size_t clear_len, attr_len, len[2]; in dpp_reconfig_build_conf() local 567 clear_len = 4 + 1 + 4 + 1 + 2 * (4 + auth->curve->nonce_len) + in dpp_reconfig_build_conf() 569 clear = wpabuf_alloc(clear_len); in dpp_reconfig_build_conf()
|
D | dpp_pkex.c | 583 size_t clear_len, attr_len; in dpp_pkex_build_commit_reveal_req() local 591 clear_len = 4 + 2 * curve->prime_len + 4 + curve->hash_len; in dpp_pkex_build_commit_reveal_req() 592 clear = wpabuf_alloc(clear_len); in dpp_pkex_build_commit_reveal_req() 593 attr_len = 4 + clear_len + AES_BLOCK_SIZE; in dpp_pkex_build_commit_reveal_req() 907 size_t clear_len, attr_len; in dpp_pkex_build_commit_reveal_resp() local 910 clear_len = 4 + 2 * curve->prime_len + 4 + curve->hash_len; in dpp_pkex_build_commit_reveal_resp() 911 clear = wpabuf_alloc(clear_len); in dpp_pkex_build_commit_reveal_resp() 912 attr_len = 4 + clear_len + AES_BLOCK_SIZE; in dpp_pkex_build_commit_reveal_resp()
|
D | dpp.c | 661 size_t json_len, clear_len; in dpp_build_conf_req_attr() local 678 clear_len = 4 + nonce_len + 4 + json_len; in dpp_build_conf_req_attr() 679 clear = wpabuf_alloc(clear_len); in dpp_build_conf_req_attr() 680 attr_len = 4 + clear_len + AES_BLOCK_SIZE; in dpp_build_conf_req_attr() 1699 size_t clear_len, attr_len; in dpp_build_conf_resp() local 1736 clear_len = 4 + e_nonce_len; in dpp_build_conf_resp() 1738 clear_len += 4 + wpabuf_len(conf); in dpp_build_conf_resp() 1740 clear_len += 4 + wpabuf_len(conf2); in dpp_build_conf_resp() 1742 clear_len += 4 + wpabuf_len(env_data); in dpp_build_conf_resp() 1745 clear_len += 4; in dpp_build_conf_resp() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | dpp.c | 2365 size_t json_len, clear_len; in dpp_build_conf_req_attr() local 2382 clear_len = 4 + nonce_len + 4 + json_len; in dpp_build_conf_req_attr() 2383 clear = wpabuf_alloc(clear_len); in dpp_build_conf_req_attr() 2384 attr_len = 4 + clear_len + AES_BLOCK_SIZE; in dpp_build_conf_req_attr() 4849 size_t clear_len, attr_len; in dpp_build_conf_resp() local 4865 clear_len = 4 + e_nonce_len; in dpp_build_conf_resp() 4867 clear_len += 4 + wpabuf_len(conf); in dpp_build_conf_resp() 4868 clear = wpabuf_alloc(clear_len); in dpp_build_conf_resp() 4869 attr_len = 4 + 1 + 4 + clear_len + AES_BLOCK_SIZE; in dpp_build_conf_resp() 6100 size_t nonce_len, clear_len, attr_len; in dpp_build_conf_result() local [all …]
|