Lines Matching defs:secret
86 unsigned char secret[64];
90 /* Munge the password into a 64-byte secret. */
91 memset(secret, 0, sizeof(secret));
92 if (len <= sizeof(secret))
93 memcpy(secret, password, len);
95 apr_md5(secret, password, len);
97 /* Compute MD5(secret XOR opad, MD5(secret XOR ipad, challenge)),
99 for (i = 0; i < sizeof(secret); i++)
100 secret[i] ^= 0x36;
102 apr_md5_update(&ctx, secret, sizeof(secret));
105 for (i = 0; i < sizeof(secret); i++)
106 secret[i] ^= (0x36 ^ 0x5c);
108 apr_md5_update(&ctx, secret, sizeof(secret));