Home
last modified time | relevance | path

Searched refs:pwdcfg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dthink-lmi.c288 static int tlmi_get_pwd_settings(struct tlmi_pwdcfg *pwdcfg) in tlmi_get_pwd_settings() argument
324 memcpy(pwdcfg, obj->buffer.pointer, copy_size); in tlmi_get_pwd_settings()
327 if (WARN_ON(pwdcfg->core.max_length >= TLMI_PWD_BUFSIZE)) in tlmi_get_pwd_settings()
328 pwdcfg->core.max_length = TLMI_PWD_BUFSIZE - 1; in tlmi_get_pwd_settings()
1408 new_pwd->minlen = tlmi_priv.pwdcfg.core.min_length; in tlmi_create_auth()
1409 new_pwd->maxlen = tlmi_priv.pwdcfg.core.max_length; in tlmi_create_auth()
1523 ret = tlmi_get_pwd_settings(&tlmi_priv.pwdcfg); in tlmi_analyze()
1534 if (tlmi_priv.pwdcfg.core.password_state & TLMI_PAP_PWD) in tlmi_analyze()
1541 if (tlmi_priv.pwdcfg.core.password_state & TLMI_POP_PWD) in tlmi_analyze()
1549 if (tlmi_priv.pwdcfg.core.password_state & TLMI_SMP_PWD) in tlmi_analyze()
[all …]
H A Dthink-lmi.h95 struct tlmi_pwdcfg pwdcfg; member