Lines Matching defs:buflen
451 static int user_info_offline_auth(pam_handle_t *pamh, size_t buflen,
462 if (buflen != sizeof(uint32_t) + sizeof(int64_t)) {
500 size_t buflen,
507 if (buflen != 2* sizeof(uint32_t)) {
534 size_t buflen,
542 if (buflen != 2* sizeof(uint32_t)) {
574 static int user_info_offline_auth_delayed(pam_handle_t *pamh, size_t buflen,
585 if (buflen != sizeof(uint32_t) + sizeof(int64_t)) {
655 static int user_info_account_expired(pam_handle_t *pamh, size_t buflen,
664 if (buflen < 2* sizeof(uint32_t)) {
672 if (buflen != 2* sizeof(uint32_t) + msg_len) {
712 static int user_info_chpass_error(pam_handle_t *pamh, size_t buflen,
720 if (buflen < 2* sizeof(uint32_t)) {
727 if (buflen != 2* sizeof(uint32_t) + msg_len) {
767 static int eval_user_info_response(pam_handle_t *pamh, size_t buflen,
773 if (buflen < sizeof(uint32_t)) {
782 ret = user_info_offline_auth(pamh, buflen, buf);
785 ret = user_info_grace_login(pamh, buflen, buf);
788 ret = user_info_expire_warn(pamh, buflen, buf);
791 ret = user_info_offline_auth_delayed(pamh, buflen, buf);
800 ret = user_info_chpass_error(pamh, buflen, buf);
803 ret = user_info_account_expired(pamh, buflen, buf);
813 static int eval_response(pam_handle_t *pamh, size_t buflen, uint8_t *buf,
825 if (buflen < (2*sizeof(int32_t))) {
838 if (buflen < (p+2*sizeof(int32_t))) {
849 if (buflen < (p + len)) {