亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? simd5.c

?? 可以用作很多客戶端的XSUPPLICANT的源代碼。比如用在802.1x或者無線AP上
?? C
字號(hào):
/** * A client-side 802.1x implementation supporting EAP/SIM * * This code is released under both the GPL version 2 and BSD licenses. * Either license may be used.  The respective licenses are found below. * * Copyright (C) 2003 Chris Hessing * All Rights Reserved * * --- GPL Version 2 License --- * 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. * * --- BSD License --- * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * *  - Redistributions of source code must retain the above copyright notice, *    this list of conditions and the following disclaimer. *  - Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. *  - All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *       This product includes software developed by the University of *       Maryland at College Park and its contributors. *  - Neither the name of the University nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. *//******************************************************************** EAPOL Function implementations for supplicant *  * File: simd5.c * * Authors: Chris.Hessing@utah.edu * * $Id: simd5.c,v 1.3 2004/04/13 22:13:30 chessing Exp $ * $Date: 2004/04/13 22:13:30 $ * $Log: simd5.c,v $ * Revision 1.3  2004/04/13 22:13:30  chessing * * Additional error checking in all eap methods. * * Revision 1.2  2004/01/13 01:55:56  chessing * * Major changes to EAP related code.  We no longer pass in an interface_data struct to EAP handlers.  Instead, we hand in a generic_eap_data struct which containsnon-interface specific information.  This will allow EAP types to be reused as phase 2 type easier.  However, this new code may create issues with EAP types that make use of the identity in the eap type.  Somehow, the identity value needs to propigate down to the EAP method.  It currently does not.  This should be any easy fix, but more testing will be needed. * * Revision 1.1  2003/11/24 02:14:08  chessing * * Added EAP-SIM (draft 11 still needs work), various small changes to eap calls, new hex dump code including ASCII dump (used mostly for dumping frames) * * *******************************************************************//******************************************************************* * * The development of the EAP/SIM support was funded by Internet * Foundation Austria (http://www.nic.at/ipa) * *******************************************************************/#ifdef EAP_SIM_ENABLE#include <inttypes.h>#include <string.h>#include <netinet/in.h>#include <openssl/hmac.h>#include "config.h"#include "profile.h"#include "eap.h"#include "eapsim.h"#include "xsup_debug.h"#include "xsup_err.h"// Draft 5 (version 0) specific calls.int do_v0_at_mac(struct generic_eap_data *thisint, char *K_int, char *indata, 		 int in_size, int inoffset, char *resultmac){  char *framecpy, *mac_calc;  int saved_offset, i;  uint16_t value16;  if ((!thisint) || (!K_int) || (!indata) || (!resultmac))    {      debug_printf(DEBUG_NORMAL, "Invalid data passed in to do_v0_at_mac()!\n");      return XEMALLOC;    }  if (indata[inoffset] != AT_MAC)    {      printf("Error!  The offset passed in is not of type AT_MAC!\n");      return -1;    }    inoffset++;	        if (indata[inoffset] != 5) printf("AT_MAC length isn't 5!\n");  inoffset+=2;  // Skip the reserved bytes.  saved_offset = inoffset;  framecpy = (char *)malloc(in_size+50);  // We need extra to	                                  // reconstruct the eap 	                                  // piece.  if (framecpy == NULL)    {      printf("Couldn't allocate memory for framecpy!\n");      return -1;    }  // Now, reconstruct the header for the EAP piece, so we can  // calculate the MAC across all of it.  framecpy[0] = 1;  // It was a request.  framecpy[1] = thisint->eapid;  value16 = in_size + 5;  value16 = htons(value16);  memcpy((char *)&framecpy[2], &value16, 2);  framecpy[4] = 18;  // EAP-SIM    memcpy((char *)&framecpy[5], (char *)&indata[0], in_size);  // Now, zero out the MAC value.  for (i=(saved_offset+5);i<=(in_size+5);i++)    {      framecpy[i] = 0x00;    }  debug_printf(DEBUG_AUTHTYPES, "Calculating MAC on : \n");  debug_hex_dump(DEBUG_AUTHTYPES, framecpy, (in_size+5));    // We should now be ready to calculate the AT_MAC for   // ourselves.  mac_calc = (char *)malloc(100);  if (mac_calc == NULL) return -1;    HMAC(EVP_sha1(), &K_int[0], 16, framecpy, (in_size+5), mac_calc, &i);  memcpy(resultmac, mac_calc, 16);  // We get 20 back, but we only want 16.  free(framecpy);  framecpy = NULL;    free(mac_calc);  mac_calc = NULL;  return 0;}#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美中文字幕一区| 91色porny在线视频| 日韩三级伦理片妻子的秘密按摩| 一区二区欧美视频| 欧美日韩一本到| 日韩综合在线视频| 日韩欧美视频一区| 国产呦萝稀缺另类资源| 26uuu亚洲综合色欧美| 国产精品亚洲一区二区三区在线| 久久久久国产精品人| 从欧美一区二区三区| 伊人夜夜躁av伊人久久| 欧美人成免费网站| 黑人巨大精品欧美一区| 欧美国产1区2区| 在线观看区一区二| 免费观看在线综合色| 国产精品视频一区二区三区不卡| 97成人超碰视| 日韩黄色一级片| 日本一二三四高清不卡| 欧美日韩亚洲另类| 国产乱对白刺激视频不卡| 一区在线观看免费| 欧美一区二区高清| 国产成人欧美日韩在线电影| 亚洲欧美一区二区三区久本道91| 91精品久久久久久久99蜜桃| 国产乱码精品1区2区3区| 亚洲一二三四在线| 色久优优欧美色久优优| 国产一区高清在线| 亚洲色图欧美在线| 91超碰这里只有精品国产| 国产精品综合久久| 亚洲第四色夜色| 久久精品夜夜夜夜久久| 欧美日韩电影在线播放| 不卡在线视频中文字幕| 蜜臀av一区二区在线免费观看| 国产精品卡一卡二| 欧美成人免费网站| 91行情网站电视在线观看高清版| 国产中文一区二区三区| 亚洲午夜精品久久久久久久久| 日本一区二区成人| 日韩欧美美女一区二区三区| 欧美三级日韩三级国产三级| 成人av免费在线观看| 久久福利视频一区二区| 亚洲国产视频在线| 中文字幕综合网| 久久亚洲欧美国产精品乐播 | 日韩视频中午一区| 91福利社在线观看| 成人精品鲁一区一区二区| 寂寞少妇一区二区三区| 奇米一区二区三区av| 亚洲一区二区三区国产| 亚洲乱码国产乱码精品精可以看 | 国产精品欧美一区二区三区| 日韩午夜精品电影| 欧美一区二区三区思思人| 欧美视频三区在线播放| 日本高清无吗v一区| 91影院在线免费观看| 成人av一区二区三区| 顶级嫩模精品视频在线看| 国产精品69毛片高清亚洲| 久久国产乱子精品免费女| 日日摸夜夜添夜夜添亚洲女人| 亚洲成a人片综合在线| 亚洲嫩草精品久久| 亚洲精品一二三区| 一区二区在线观看视频| 亚洲综合丝袜美腿| 亚洲成人激情av| 天堂精品中文字幕在线| 日韩中文字幕一区二区三区| 日韩国产欧美三级| 免费人成网站在线观看欧美高清| 卡一卡二国产精品| 国产在线一区观看| 国产91富婆露脸刺激对白| 成人福利在线看| 91在线观看成人| 欧美在线|欧美| 欧美福利视频一区| 精品国产污污免费网站入口| 久久欧美一区二区| 中文字幕日韩欧美一区二区三区| 亚洲欧美日韩在线| 丝袜美腿亚洲色图| 精品综合久久久久久8888| 国产精品一区一区| 99vv1com这只有精品| 欧美日韩国产另类一区| 欧美一区二区三区免费视频| 2023国产精品视频| 成人欧美一区二区三区黑人麻豆 | 蜜桃在线一区二区三区| 国产精品一区二区在线看| a在线欧美一区| 欧美日韩亚洲另类| 国产亚洲福利社区一区| 一区二区在线观看视频| 久久草av在线| 色94色欧美sute亚洲线路二| 69久久夜色精品国产69蝌蚪网 | 国产精品日韩成人| 亚洲最大成人网4388xx| 日本不卡视频在线观看| 丁香婷婷综合色啪| 欧美日韩国产123区| 国产欧美精品一区二区三区四区| 亚洲日韩欧美一区二区在线| 美女诱惑一区二区| 福利一区二区在线| 欧美日韩精品电影| 国产精品久久久久三级| 青青草国产成人99久久| 99re热视频精品| 欧美电视剧免费全集观看 | 亚洲一区二区在线免费观看视频 | 国产激情视频一区二区三区欧美| 在线看国产一区| 国产亚洲精品资源在线26u| 亚洲一区二区三区视频在线播放| 国产在线精品一区二区三区不卡| 欧美午夜在线一二页| 国产欧美日韩精品一区| 久久国产精品一区二区| 欧美四级电影在线观看| 国产精品传媒入口麻豆| 麻豆91精品91久久久的内涵| 欧美在线小视频| 国产精品毛片大码女人| 国产一区高清在线| 欧美大片在线观看一区| 亚洲国产日韩精品| 色欧美片视频在线观看| 久久久精品国产免费观看同学| 日韩—二三区免费观看av| 色婷婷综合久久久久中文 | 欧美网站一区二区| 中文字幕一区二区三中文字幕| 狠狠色伊人亚洲综合成人| 欧美一级高清大全免费观看| 亚洲一区二区三区中文字幕| 99久久综合国产精品| 久久久美女艺术照精彩视频福利播放| 日韩成人精品在线观看| 欧美剧在线免费观看网站| 亚洲一区二区精品视频| 色婷婷av一区二区三区gif| 亚洲三级久久久| 91丨国产丨九色丨pron| 日本一二三不卡| 成人app软件下载大全免费| 久久精品一二三| 成人一区二区三区视频| 日本一区二区三区四区在线视频| 国产精品 日产精品 欧美精品| 精品少妇一区二区三区在线播放| 美女网站在线免费欧美精品| 欧美一区日本一区韩国一区| 天堂一区二区在线免费观看| 欧美高清hd18日本| 另类专区欧美蜜桃臀第一页| 欧美电影免费观看高清完整版在线 | 另类专区欧美蜜桃臀第一页| 5月丁香婷婷综合| 五月天一区二区三区| 在线播放一区二区三区| 日韩成人一级大片| 日韩视频在线永久播放| 国产美女在线精品| 国产日韩在线不卡| 成人精品一区二区三区四区| 国产精品丝袜一区| 91国模大尺度私拍在线视频| 亚洲福中文字幕伊人影院| 欧美浪妇xxxx高跟鞋交| 久久99国产精品免费网站| 久久精品视频一区| 色综合久久中文字幕综合网| 亚洲一区二区三区小说| 日韩一级高清毛片| 国产在线视频一区二区| 中文字幕一区二区三区蜜月| 欧美手机在线视频| 久久国产精品色婷婷| 国产精品丝袜久久久久久app| 91成人看片片| 久久激情五月激情| 亚洲欧洲av在线| 91.成人天堂一区| 粉嫩aⅴ一区二区三区四区| 亚洲一区成人在线|