Lines Matching defs:context
47 struct MD5Context context;
52 cifs_MD5_init(&context);
53 cifs_MD5_update(&context, (char *)&key->data, key->len);
54 cifs_MD5_update(&context, cifs_pdu->Protocol, cifs_pdu->smb_buf_length);
56 cifs_MD5_final(signature, &context);
94 struct MD5Context context;
100 cifs_MD5_init(&context);
101 cifs_MD5_update(&context, (char *)&key->data, key->len);
114 cifs_MD5_update(&context, iov[0].iov_base+4,
117 cifs_MD5_update(&context, iov[i].iov_base, iov[i].iov_len);
120 cifs_MD5_final(signature, &context);
327 struct HMACMD5Context context;
346 hmac_md5_init_limK_to_64(ses->server->ntlmv2_hash, 16, &context);
347 hmac_md5_update(resp_buf, 16, &context);
348 hmac_md5_final(ses->server->mac_signing_key.data.ntlmv2.key, &context);
358 struct HMACMD5Context context;
361 hmac_md5_init_limK_to_64(ses->server->ntlmv2_hash, 16, &context);
364 sizeof(struct ntlmv2_resp) - 8, &context);
366 hmac_md5_final(v2_session_response, &context);