OLD | NEW |
1 /* tlsprfalg.c - TLS Pseudo Random Function (PRF) implementation | 1 /* tlsprfalg.c - TLS Pseudo Random Function (PRF) implementation |
2 * | 2 * |
3 * This Source Code Form is subject to the terms of the Mozilla Public | 3 * This Source Code Form is subject to the terms of the Mozilla Public |
4 * License, v. 2.0. If a copy of the MPL was not distributed with this | 4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 /* $Id$ */ | |
7 | 6 |
8 #ifdef FREEBL_NO_DEPEND | 7 #ifdef FREEBL_NO_DEPEND |
9 #include "stubs.h" | 8 #include "stubs.h" |
10 #endif | 9 #endif |
11 | 10 |
12 #include "blapi.h" | 11 #include "blapi.h" |
13 #include "hasht.h" | 12 #include "hasht.h" |
14 #include "alghmac.h" | 13 #include "alghmac.h" |
15 | 14 |
16 | 15 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 result->data[i] ^= tmp.data[i]; | 127 result->data[i] ^= tmp.data[i]; |
129 | 128 |
130 rv = SECSuccess; | 129 rv = SECSuccess; |
131 | 130 |
132 loser: | 131 loser: |
133 if (tmp.data != NULL) | 132 if (tmp.data != NULL) |
134 PORT_ZFree(tmp.data, tmp.len); | 133 PORT_ZFree(tmp.data, tmp.len); |
135 return rv; | 134 return rv; |
136 } | 135 } |
137 | 136 |
OLD | NEW |