MD5 digest related dialplan functions.  
More...
Go to the source code of this file.
MD5 digest related dialplan functions. 
- Author
- Olle E. Johansson oej@e.nosp@m.dvin.nosp@m.a.net 
- 
Russell Bryant russe.nosp@m.lb@c.nosp@m.lemso.nosp@m.n.ed.nosp@m.u 
Definition in file func_md5.c.
◆ __reg_module()
  
  | 
        
          | static void __reg_module | ( | void |  | ) |  |  | static | 
 
 
◆ __unreg_module()
  
  | 
        
          | static void __unreg_module | ( | void |  | ) |  |  | static | 
 
 
◆ AST_MODULE_SELF_SYM()
◆ load_module()
  
  | 
        
          | static int load_module | ( | void |  | ) |  |  | static | 
 
 
◆ md5()
  
  | 
        
          | static int md5 | ( | struct ast_channel * | chan, |  
          |  |  | const char * | cmd, |  
          |  |  | char * | data, |  
          |  |  | char * | buf, |  
          |  |  | size_t | len |  
          |  | ) |  |  |  | static | 
 
Definition at line 55 of file func_md5.c.
   57{
   60        return -1;
   61    }
   62 
   65 
   66    return 0;
   67}
static force_inline int attribute_pure ast_strlen_zero(const char *s)
void ast_md5_hash(char *output, const char *input)
Produces MD5 hash based on input string.
References ast_log, ast_md5_hash(), ast_strlen_zero(), buf, and LOG_WARNING.
Referenced by ast_md5_hash(), authenticate(), authenticate(), authenticate_verify(), decrypt_frame(), iax2_key_rotate(), manager_login(), md52sum(), prov_ver_calc(), register_verify(), and try_firmware().
 
 
◆ unload_module()
  
  | 
        
          | static int unload_module | ( | void |  | ) |  |  | static | 
 
 
◆ __mod_info
◆ ast_module_info
◆ md5_function
Initial value:= {
    .name = "MD5",
    .read_max = 33,
}
static int md5(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)
Definition at line 69 of file func_md5.c.
   69                                                 {
   70    .name = "MD5",
   72    .read_max = 33,
   73};
Referenced by load_module(), and unload_module().