mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-27 01:38:37 -05:00
306ae22556
This new mechanism can be used to make wpa_supplicant using external storage (e.g., key store in the operating system) for passwords, passphrases, and PSKs. This commit is only adding the framework part needed to support this, i.e., no actual configuration parameter can yet use this new mechanism. In addition, only a simple test backend is added to allow developer testing of the functionality. Signed-hostap: Jouni Malinen <j@w1.fi>
24 lines
543 B
C
24 lines
543 B
C
/*
|
|
* External password backend - internal definitions
|
|
* Copyright (c) 2012, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef EXT_PASSWORD_I_H
|
|
#define EXT_PASSWORD_I_H
|
|
|
|
#include "ext_password.h"
|
|
|
|
struct ext_password_backend {
|
|
const char *name;
|
|
void * (*init)(const char *params);
|
|
void (*deinit)(void *ctx);
|
|
struct wpabuf * (*get)(void *ctx, const char *name);
|
|
};
|
|
|
|
struct wpabuf * ext_password_alloc(size_t len);
|
|
|
|
#endif /* EXT_PASSWORD_I_H */
|