Lines Matching refs:buffer
318 const u8 *buffer, size_t buffer_len, in eap_teap_tls_mac() argument
329 res = hmac_sha1(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac()
332 res = hmac_sha256(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac()
335 res = hmac_sha384(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac()
361 u8 *pos, *buffer; in eap_teap_compound_mac() local
373 buffer = os_malloc(buffer_len); in eap_teap_compound_mac()
374 if (!buffer) in eap_teap_compound_mac()
377 pos = buffer; in eap_teap_compound_mac()
382 tmp_cb = (struct teap_tlv_crypto_binding *) buffer; in eap_teap_compound_mac()
409 buffer_len = pos - buffer; in eap_teap_compound_mac()
416 buffer, buffer_len); in eap_teap_compound_mac()
418 buffer, buffer_len, in eap_teap_compound_mac()
420 os_free(buffer); in eap_teap_compound_mac()