Lines Matching +full:- +full:t
2 * HKDF implementation -- RFC 5869
5 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
74 unsigned char t[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hkdf_expand() local
111 memset(t, 0, hash_len); in mbedtls_hkdf_expand()
114 * Compute T = T(1) | T(2) | T(3) | ... | T(N) in mbedtls_hkdf_expand()
115 * Where T(N) is defined in RFC 5869 Section 2.3 in mbedtls_hkdf_expand()
126 ret = mbedtls_md_hmac_update(&ctx, t, t_len); in mbedtls_hkdf_expand()
136 /* The constant concatenated to the end of each T(n) is a single octet. in mbedtls_hkdf_expand()
143 ret = mbedtls_md_hmac_finish(&ctx, t); in mbedtls_hkdf_expand()
148 num_to_copy = i != n ? hash_len : okm_len - where; in mbedtls_hkdf_expand()
149 memcpy(okm + where, t, num_to_copy); in mbedtls_hkdf_expand()
156 mbedtls_platform_zeroize(t, sizeof(t)); in mbedtls_hkdf_expand()