首页 | 数据结构 | 文件列表 | 数据字段 | 全局定义

crypt.c文件参考

#include <arpa/inet.h>
#include <string.h>
#include "crypt.h"

crypt.c包含/依赖关系图:

浏览该文件的源代码。

函数

void qq_encipher (unsigned long *const v, const unsigned long *const k, unsigned long *const w)
void qq_decipher (unsigned long *const v, const unsigned long *const k, unsigned long *const w)
void qq_encrypt (unsigned char *instr, int instrlen, unsigned char *key, unsigned char *outstr, int *outstrlen_prt)
int qq_decrypt (unsigned char *instr, int instrlen, unsigned char *key, unsigned char *outstr, int *outstrlen_ptr)
int qq_crypt (unsigned char flag, unsigned char *instr, int instrlen, unsigned char *key, unsigned char *outstr, int *outstrlen_ptr)


函数文档

int qq_crypt unsigned char  flag,
unsigned char *  instr,
int  instrlen,
unsigned char *  key,
unsigned char *  outstr,
int *  outstrlen_ptr
 

在文件crypt.c265行定义。

参考 DECRYPTENCRYPTqq_decrypt()qq_encrypt().

参考自 _qq_process_packet_default()_qq_process_recv_file_ctl_packet()qq_process_add_buddy_auth_reply()qq_process_add_buddy_reply()qq_process_change_status_reply()qq_process_friend_change_status()qq_process_get_buddies_list_reply()qq_process_get_buddies_online_reply()qq_process_get_info_reply()qq_process_group_cmd_reply()qq_process_keep_alive_reply()qq_process_login_reply()qq_process_modify_info_reply()qq_process_msg_sys()qq_process_recv_im()qq_process_remove_buddy_reply()qq_process_remove_self_reply()qq_process_send_im_reply()qq_send_cmd()qq_send_file_ctl_packet()qq_send_packet_login().

函数调用图:

void qq_decipher unsigned long *const   v,
const unsigned long *const   k,
unsigned long *const   w
 

在文件crypt.c69行定义。

参考自 qq_decrypt().

int qq_decrypt unsigned char *  instr,
int  instrlen,
unsigned char *  key,
unsigned char *  outstr,
int *  outstrlen_ptr
 

在文件crypt.c181行定义。

参考 qq_decipher().

参考自 qq_crypt().

函数调用图:

void qq_encipher unsigned long *const   v,
const unsigned long *const   k,
unsigned long *const   w
 

The QQ2003C protocol plugin

for gaim

Copyright (C) 2004 Puzzlebird

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

OICQ encryption algorithm Convert from ASM code provided by PerlOICQ

Puzzlebird, Nov-Dec 2002

在文件crypt.c54行定义。

参考自 qq_encrypt().

void qq_encrypt unsigned char *  instr,
int  instrlen,
unsigned char *  key,
unsigned char *  outstr,
int *  outstrlen_prt
 

在文件crypt.c89行定义。

参考 qq_encipher().

参考自 qq_crypt().

函数调用图:


Generated at Mon May 8 15:42:21 2006 for OpenQ by  doxygen 1.4.4