Lines Matching refs:hmac_key
235 unsigned char hmac_key[64];
237 memset(hmac_key, 0, sizeof(hmac_key));
239 if (arg > (int)sizeof(hmac_key)) {
242 MD5_Final(hmac_key, &key->head);
244 memcpy(hmac_key, ptr, arg);
247 for (i = 0; i < sizeof(hmac_key); i++)
248 hmac_key[i] ^= 0x36; /* ipad */
250 MD5_Update(&key->head, hmac_key, sizeof(hmac_key));
252 for (i = 0; i < sizeof(hmac_key); i++)
253 hmac_key[i] ^= 0x36 ^ 0x5c; /* opad */
255 MD5_Update(&key->tail, hmac_key, sizeof(hmac_key));