Lines Matching defs:rand2
89 uint_t labellen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2,
92 uint_t labellen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2,
99 uint_t secretlen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2,
110 uint_t rand1len, uchar_t *rand2, uint_t rand2len, int rounds,
124 SHA1Update(&sha1_ctx, rand2, rand2len);
145 uchar_t *rand1, uint_t rand1len, uchar_t *rand2, uint_t rand2len,
189 * the 'seed' here is rand1 + rand2
193 P_MD5(S1, L_S1, label, labellen, rand1, rand1len, rand2, rand2len,
197 P_SHA1(S2, L_S2, label, labellen, rand1, rand1len, rand2, rand2len,
214 * The seed is the concatenation of 'babel', 'rand1', and 'rand2'.
218 uchar_t *rand1, uint_t rand1len, uchar_t *rand2, uint_t rand2len,
239 /* A(1) = HMAC_MD5(secret, rand1 + rand2) */
243 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand2, rand2len);
264 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, rand2, rand2len);
298 uchar_t *rand1, uint_t rand1len, uchar_t *rand2, uint_t rand2len,
319 /* A(1) = HMAC_SHA1(secret, rand1 + rand2) */
323 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, rand2, rand2len);
345 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, rand2, rand2len);
1061 uchar_t *rand1, uint_t rand1len, uchar_t *rand2, uint_t rand2len,
1072 MD5Update(&exp_md5_ctx, rand2, rand2len);
1079 rand1, rand1len, rand2, rand2len, result, 16);
1084 rand2, rand2len, rand1, rand1len, result, 16);