Deleted Added
full compact
sha1-tlsprf.c (252726) sha1-tlsprf.c (289549)
1/*
2 * TLS PRF (SHA1 + MD5)
3 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8

--- 81 unchanged lines hidden (view full) ---

90 }
91
92 out[i] = P_MD5[MD5_pos] ^ P_SHA1[SHA1_pos];
93
94 MD5_pos++;
95 SHA1_pos++;
96 }
97
1/*
2 * TLS PRF (SHA1 + MD5)
3 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8

--- 81 unchanged lines hidden (view full) ---

90 }
91
92 out[i] = P_MD5[MD5_pos] ^ P_SHA1[SHA1_pos];
93
94 MD5_pos++;
95 SHA1_pos++;
96 }
97
98 os_memset(A_MD5, 0, MD5_MAC_LEN);
99 os_memset(P_MD5, 0, MD5_MAC_LEN);
100 os_memset(A_SHA1, 0, SHA1_MAC_LEN);
101 os_memset(P_SHA1, 0, SHA1_MAC_LEN);
102
98 return 0;
99}
103 return 0;
104}