Lines Matching defs:hash_id

2103 	uint32_t hash_id,
2142 if (hash_id == AUTH_SHA1) {
2144 } else if (hash_id == AUTH_MD5) {
2197 cmdsize, tran_id, hash_id, dhgp_id);
2217 chal->cnul.hash_id = hash_id;
2220 chal->cnul.cval_len = ((chal->cnul.hash_id == AUTH_SHA1) ?
2349 node_dhc->nlp_auth_hashid = hash_id;
2463 chal->cnul.hash_id, chal->cnul.dhgp_id);
2513 if (node_dhc->hash_id == AUTH_MD5) {
2516 if (node_dhc->hash_id == AUTH_SHA1) {
2551 cmdsize += 4 + ((node_dhc->hash_id == AUTH_MD5) ?
2584 if (node_dhc->hash_id == AUTH_MD5) {
2600 if (node_dhc->hash_id == AUTH_MD5) {
2658 if (node_dhc->hash_id == AUTH_MD5) {
2662 } else if (node_dhc->hash_id == AUTH_SHA1) {
2686 node_dhc->hash_id, node_dhc->nlp_auth_hashid,
2875 if (ncval->hash_id == AUTH_MD5) {
2892 } else if (ncval->hash_id == AUTH_SHA1) {
2912 ndlp->nlp_DID, ncval->hash_id);
2920 * store hash_id for later usage : hash_id is set by responder in its
2923 node_dhc->hash_id = ncval->hash_id;
2926 /* store another copy of the hash_id */
2927 node_dhc->nlp_auth_hashid = ncval->hash_id;
3037 ncval->hash_id, ncval->dhgp_id, dhvallen);
4367 uint32_t hash_id, dhgp_id; /* to be used by responder */
4508 /* Which hash_id should we use */
4516 hash_id = node_dhc->auth_cfg.hash_priority[0];
4518 hash_id = node_dhc->auth_cfg.hash_priority[1];
4534 hash_id = node_dhc->auth_cfg.hash_priority[0];
4599 hash_id, dhgp_id)) {
4708 uint32_t hash_id, dhgp_id; /* to be used by responder */
4852 /* Which hash_id should we use */
4860 hash_id = node_dhc->auth_cfg.hash_priority[0];
4862 hash_id = node_dhc->auth_cfg.hash_priority[1];
4878 hash_id = node_dhc->auth_cfg.hash_priority[0];
4936 hash_id, dhgp_id, msg->auth_msg_code, msglen, msg->tran_id);
4978 hash_id, dhgp_id)) {
5025 uint32_t hash_id;
5042 hash_id = node_dhc->hash_id;
5046 hash_id = node_dhc->nlp_auth_hashid;
5052 ndlp->nlp_DID, hash_id, dhgp_id, mytran_id);
5056 if (hash_id == AUTH_MD5) {
5088 if (hash_id == AUTH_SHA1) {
5126 if (hash_id == AUTH_MD5) {
5168 if (hash_id == AUTH_SHA1) {
5237 uint32_t hash_id;
5250 hash_id = node_dhc->hash_id;
5253 hash_id = node_dhc->nlp_auth_hashid;
5262 ndlp->nlp_DID, hash_id, dhgp_id, mytran_id, dhvallen);
5273 if (hash_id == AUTH_MD5) {
5305 if (hash_id == AUTH_SHA1) {
5361 if (hash_id == AUTH_MD5) {
5385 if (hash_id == AUTH_SHA1) {
5440 uint32_t hash_id;
5449 hash_id = node_dhc->hash_id;
5452 hash_id = node_dhc->nlp_auth_hashid;
5456 if (hash_id == AUTH_MD5) {
5487 if (hash_id == AUTH_SHA1) {
6044 * key: x dhval: (g^y mod p) tran_id: Ti bi_cval: C2 hash_id: H dhgp_id: p/g
6056 uint32_t hash_id,
6078 ndlp->nlp_DID, hash_id, dhgp_id, tran_id, dhvallen);
6080 if (hash_id == AUTH_MD5) {
6129 if (hash_id == AUTH_SHA1) {
6206 uint32_t hash_id;
6238 hash_id = node_dhc->hash_id;
6241 hash_id = node_dhc->nlp_auth_hashid;
6245 "hash_verification: 0x%x 0x%x hash_id=0x%x dhgp_id=0x%x",
6246 ndlp->nlp_DID, mytran_id, hash_id, dhgp_id);
6250 if (hash_id == AUTH_MD5) {
6291 if (hash_id == AUTH_SHA1) {
6345 if (hash_id == AUTH_MD5) {
6355 if (hash_id == AUTH_SHA1) {
6381 hash_id, dhgp_id,
6392 if (hash_id == AUTH_MD5) {
6424 if (hash_id == AUTH_SHA1) {
6501 uint32_t hash_id;
6519 hash_id = node_dhc->nlp_auth_hashid;
6523 hash_id = node_dhc->hash_id;
6526 hash_id = node_dhc->nlp_auth_hashid;
6535 ndlp->nlp_DID, hash_id, dhgp_id, mytran_id);
6547 if (hash_id == AUTH_MD5) {
6575 if (hash_id == AUTH_SHA1) {
6603 if (hash_id == AUTH_MD5) {
6607 if (hash_id == AUTH_SHA1) {
6613 if (hash_id == AUTH_MD5) {
6618 if (hash_id == AUTH_SHA1) {
6628 * key: x dhval: (g^y mod p) tran_id: Ti bi_cval: C2 hash_id:
6636 hash_id, dhgp_id, tran_id, bi_cval, cval_len,
6646 if (hash_id == AUTH_MD5) {
6680 if (hash_id == AUTH_SHA1) {