Lines Matching refs:dfc_pwd

9186 	dfc_password_t *dfc_pwd)
9213 if ((auth_key->local_password_length != dfc_pwd->length) ||
9214 (auth_key->local_password_type != dfc_pwd->type) ||
9215 bcmp(dfc_pwd->password, auth_key->local_password,
9216 dfc_pwd->length)) {
9307 dfc_password_t *dfc_pwd)
9335 if ((auth_key->local_password_length != dfc_pwd->length) ||
9336 (auth_key->local_password_type != dfc_pwd->type) ||
9337 bcmp(dfc_pwd->password,
9339 dfc_pwd->length)) {
9453 emlxs_dhc_set_auth_key(emlxs_hba_t *hba, dfc_auth_password_t *dfc_pwd)
9471 if ((dfc_pwd->lpw_new.type == PASSWORD_TYPE_ASCII ||
9472 dfc_pwd->lpw_new.type == PASSWORD_TYPE_BINARY) &&
9473 (dfc_pwd->rpw_new.type == PASSWORD_TYPE_ASCII ||
9474 dfc_pwd->rpw_new.type == PASSWORD_TYPE_BINARY)) {
9475 if (bcmp(dfc_pwd->lpw_new.password,
9476 dfc_pwd->rpw_new.password,
9477 dfc_pwd->lpw_new.length) == 0) {
9489 (uint8_t *)&dfc_pwd->lwwpn,
9490 (uint8_t *)&dfc_pwd->rwwpn);
9495 (uint8_t *)&dfc_pwd->lwwpn,
9496 (uint8_t *)&dfc_pwd->rwwpn);
9510 if (dfc_pwd->lpw_new.type == PASSWORD_TYPE_ASCII ||
9511 dfc_pwd->lpw_new.type == PASSWORD_TYPE_BINARY) {
9517 dfc_pwd->lpw.length) ||
9519 dfc_pwd->lpw.type) ||
9520 bcmp(dfc_pwd->lpw.password,
9522 dfc_pwd->lpw.length)) {
9540 dfc_pwd->lpw_new.length) &&
9541 (bcmp(dfc_pwd->lpw_new.password,
9543 dfc_pwd->lpw_new.length) == 0)) {
9554 auth_key->local_password_length = dfc_pwd->lpw_new.length;
9555 auth_key->local_password_type = dfc_pwd->lpw_new.type;
9558 length = min(dfc_pwd->lpw_new.length,
9560 bcopy(dfc_pwd->lpw_new.password,
9564 if (dfc_pwd->rpw_new.type == PASSWORD_TYPE_ASCII ||
9565 dfc_pwd->rpw_new.type == PASSWORD_TYPE_BINARY) {
9571 dfc_pwd->rpw.length) ||
9573 dfc_pwd->rpw.type) ||
9574 bcmp(dfc_pwd->rpw.password,
9576 dfc_pwd->rpw.length)) {
9594 dfc_pwd->rpw_new.length) &&
9595 (bcmp(dfc_pwd->rpw_new.password,
9597 dfc_pwd->rpw_new.length) == 0)) {
9608 auth_key->remote_password_length = dfc_pwd->rpw_new.length;
9609 auth_key->remote_password_type = dfc_pwd->rpw_new.type;
9612 length = min(dfc_pwd->rpw_new.length, 128);
9613 bcopy(dfc_pwd->rpw_new.password,
9617 dfc_pwd->lpw.length = auth_key->local_password_length;
9618 dfc_pwd->lpw.type = auth_key->local_password_type;
9619 bzero(dfc_pwd->lpw.password, sizeof (dfc_pwd->lpw.password));
9621 sizeof (dfc_pwd->lpw.password));
9622 bcopy(auth_key->local_password, dfc_pwd->lpw.password, length);
9625 dfc_pwd->rpw.length = auth_key->remote_password_length;
9626 dfc_pwd->rpw.type = auth_key->remote_password_type;
9627 bzero(dfc_pwd->rpw.password, sizeof (dfc_pwd->rpw.password));
9629 sizeof (dfc_pwd->rpw.password));
9630 bcopy(auth_key->remote_password, dfc_pwd->rpw.password, length);