Lines Matching full:password
17 * Data structure for the file-backed password backend.
20 char *path; /* path of the password file */
25 * ext_password_file_init - Initialize file-backed password backend
29 * This function initializes a new file-backed password backend. The user is
57 * ext_password_file_deinit - Deinitialize file-backed password backend
58 * @ctx: The file-backed password backend
60 * This function frees all data associated with the file-backed password
72 * ext_password_file_get - Retrieve password from the file-backed password backend
73 * @ctx: The file-backed password backend
74 * @name: Name of the password to retrieve
75 * Returns: Buffer containing the password if one was found or %NULL.
77 * This function tries to find a password identified by name in the password
78 * file. The password is expected to be stored in `NAME=PASSWORD` format.
85 struct wpabuf *password = NULL; in ext_password_file_get() local
104 wpa_printf(MSG_ERROR, "Invalid password line %d.", in ext_password_file_get()
110 wpa_printf(MSG_ERROR, "No password for line %d.", line); in ext_password_file_get()
118 password = wpabuf_alloc_copy(sep + 1, os_strlen(sep + 1)); in ext_password_file_get()
122 wpa_printf(MSG_ERROR, "Password for '%s' was not found.", name); in ext_password_file_get()
127 return password; in ext_password_file_get()