Main Page | Data Structures | Directories | File List | Data Fields | Globals

hostap_crypt.c File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int hostap_register_crypto_ops (struct hostap_crypto_ops *ops)
int hostap_unregister_crypto_ops (struct hostap_crypto_ops *ops)
hostap_crypto_opshostap_get_crypto_ops (const char *name)
static void * hostap_crypt_null_init (void)
static void hostap_crypt_null_deinit (void *priv)
static int __init hostap_crypto_init (void)
static void __exit hostap_crypto_deinit (void)
 EXPORT_SYMBOL (hostap_register_crypto_ops)
 EXPORT_SYMBOL (hostap_unregister_crypto_ops)
 EXPORT_SYMBOL (hostap_get_crypto_ops)

Variables

static struct hostap_cryptohcrypt
static struct hostap_crypto_ops hostap_crypt_null


Function Documentation

EXPORT_SYMBOL hostap_get_crypto_ops  ) 
 

EXPORT_SYMBOL hostap_unregister_crypto_ops  ) 
 

EXPORT_SYMBOL hostap_register_crypto_ops  ) 
 

static void hostap_crypt_null_deinit void * priv  ) [static]
 

Definition at line 133 of file hostap_crypt.c.

static void* hostap_crypt_null_init void  ) [static]
 

Definition at line 132 of file hostap_crypt.c.

static void __exit hostap_crypto_deinit void  ) [static]
 

Definition at line 166 of file hostap_crypt.c.

References hostap_crypto::algs, hcrypt, hostap_crypto_ops::name, and hostap_crypto_alg::ops.

Referenced by hostap_exit().

static int __init hostap_crypto_init void  ) [static]
 

Definition at line 150 of file hostap_crypt.c.

References hostap_crypto::algs, hcrypt, hostap_crypt_null, hostap_register_crypto_ops(), and hostap_crypto::lock.

Referenced by hostap_init().

Here is the call graph for this function:

struct hostap_crypto_ops* hostap_get_crypto_ops const char * name  ) 
 

Definition at line 105 of file hostap_crypt.c.

References hostap_crypto::algs, hcrypt, hostap_crypto::lock, hostap_crypto_ops::name, and hostap_crypto_alg::ops.

Referenced by ap_crypt_init().

int hostap_register_crypto_ops struct hostap_crypto_opsops  ) 
 

Definition at line 48 of file hostap_crypt.c.

References hostap_crypto::algs, hcrypt, hostap_crypto_alg::list, hostap_crypto::lock, and hostap_crypto_alg::ops.

Referenced by hostap_crypto_init(), and hostap_crypto_wep_init().

int hostap_unregister_crypto_ops struct hostap_crypto_opsops  ) 
 

Definition at line 74 of file hostap_crypt.c.

References hostap_crypto::algs, hcrypt, hostap_crypto_alg::list, hostap_crypto::lock, and hostap_crypto_alg::ops.

Referenced by hostap_crypto_wep_exit().


Variable Documentation

struct hostap_crypto* hcrypt [static]
 

Definition at line 45 of file hostap_crypt.c.

Referenced by hostap_crypto_deinit(), hostap_crypto_init(), hostap_get_crypto_ops(), hostap_register_crypto_ops(), and hostap_unregister_crypto_ops().

struct hostap_crypto_ops hostap_crypt_null [static]
 

Initial value:

 {
        .name                   = "NULL",
        .init                   = hostap_crypt_null_init,
        .deinit                 = hostap_crypt_null_deinit,
        .encrypt                = NULL,
        .decrypt                = NULL,
        .set_key                = NULL,
        .get_key                = NULL,
        .set_key_idx            = NULL,
        .get_key_idx            = NULL,
        .extra_prefix_len       = 0,
        .extra_postfix_len      = 0
}

Definition at line 135 of file hostap_crypt.c.

Referenced by hostap_crypto_init().


Generated on Mon Nov 21 16:00:00 2005 for openwifi by  doxygen 1.4.1