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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? simd11.c

?? 可以用作很多客戶(hù)端的XSUPPLICANT的源代碼。比如用在802.1x或者無(wú)線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: simd11.c * * Authors: Chris.Hessing@utah.edu * * $Id: simd11.c,v 1.5 2004/04/13 22:13:30 chessing Exp $ * $Date: 2004/04/13 22:13:30 $ * $Log: simd11.c,v $ * Revision 1.5  2004/04/13 22:13:30  chessing * * Additional error checking in all eap methods. * * Revision 1.4  2004/01/20 00:07:07  chessing * * EAP-SIM fixes. * * Revision 1.3  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.2  2003/11/24 04:56:04  chessing * * EAP-SIM draft 11 now works.  Statemachine updated to work based on the up/down state of an interface, rather than just assuming it is up. * * *******************************************************************//******************************************************************* * * 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 "profile.h"#include "config.h"#include "eap.h"#include "eapsim.h"#include "xsup_debug.h"#include "xsup_err.h"// Draft 11 (version 1) specific calls.int do_v1_at_mac(struct generic_eap_data *thisint, char *K_int, char *indata, int in_size, int inoffset, char *noncemt, char *vlist, int vlistlen, uint16_t selver, char *resultmac){  char *framecpy, *mac_calc;  int saved_offset, i;  uint16_t value16;  if ((!thisint) || (!K_int) || (!indata) || (!noncemt) || (!vlist) ||      (!resultmac))    {      debug_printf(DEBUG_NORMAL, "Invalid data passed to do_v1_at_mac()!\n");      return XEMALLOC;    }  if (indata[inoffset] != AT_MAC)    {      debug_printf(DEBUG_NORMAL, "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;    }  memcpy(&framecpy[(in_size+5)], noncemt, 16);    // We should now be ready to calculate the AT_MAC for   // ourselves.  debug_printf(DEBUG_AUTHTYPES, "Hashing this frame to get AT_MAC: \n");  debug_hex_dump(DEBUG_AUTHTYPES, framecpy, (in_size+5+16));  mac_calc = (char *)malloc(100);  if (mac_calc == NULL) return -1;    HMAC(EVP_sha1(), &K_int[0], 16, framecpy, (in_size+5+16), mac_calc, &i);  memcpy(resultmac, mac_calc, 16);  // We get 20 back, but we only want 16.  debug_printf(DEBUG_AUTHTYPES, "Result MAC = ");  debug_hex_printf(DEBUG_AUTHTYPES, resultmac, 16);  free(framecpy);  framecpy = NULL;    free(mac_calc);  mac_calc = NULL;  return 0;}#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品视频一区二区三区免费| 亚洲伊人伊色伊影伊综合网| 韩国精品主播一区二区在线观看| 欧美日韩1234| 理论电影国产精品| 精品国产免费一区二区三区香蕉| 激情综合网最新| 国产无遮挡一区二区三区毛片日本| 国产一区欧美一区| 国产精品乱人伦| 在线亚洲免费视频| 日韩精品午夜视频| 国产拍欧美日韩视频二区| 成人高清免费观看| 亚洲国产美国国产综合一区二区| 911精品国产一区二区在线| 久久国产日韩欧美精品| 亚洲国产经典视频| 欧美日韩免费在线视频| 久久成人av少妇免费| 国产精品久久久久桃色tv| 欧亚洲嫩模精品一区三区| 奇米在线7777在线精品| 国产农村妇女毛片精品久久麻豆 | 国产一区在线精品| 亚洲日本中文字幕区| 日本美女一区二区| 亚洲h精品动漫在线观看| 日韩一级精品视频在线观看| 国产高清视频一区| 亚洲与欧洲av电影| 久久毛片高清国产| 粉嫩嫩av羞羞动漫久久久| 精品国产乱码久久久久久夜甘婷婷 | 天堂蜜桃一区二区三区| 久久久久久久久久久久久夜| 色妞www精品视频| 久久99精品久久久久婷婷| 有坂深雪av一区二区精品| 久久综合色之久久综合| 欧美在线免费视屏| youjizz久久| 久久精品国产精品亚洲精品| 亚洲人xxxx| 久久久99精品久久| 91精品欧美综合在线观看最新| 福利视频网站一区二区三区| 人人精品人人爱| 亚洲情趣在线观看| 国产三级一区二区| 91精品国产高清一区二区三区| 91在线观看视频| 国产成人在线视频网站| 蜜臀久久99精品久久久画质超高清| 国产精品久久久久久久蜜臀| 日韩欧美国产三级| 欧美日韩大陆一区二区| 色999日韩国产欧美一区二区| 国产高清在线观看免费不卡| 日韩影院在线观看| 亚洲一区欧美一区| 亚洲老司机在线| 国产精品九色蝌蚪自拍| 国产精品丝袜一区| 久久久久亚洲综合| 久久女同性恋中文字幕| 欧美成人精品福利| 日韩免费在线观看| 91精品国产综合久久福利软件| 欧美无砖砖区免费| 欧美自拍偷拍一区| 在线观看视频一区| 欧美日韩国产综合一区二区三区 | 国产午夜亚洲精品理论片色戒 | 国产婷婷一区二区| 久久久久久久久久久久久女国产乱| 日韩精品在线一区| 欧美大肚乱孕交hd孕妇| 日韩一区二区免费在线观看| 91精品国产91久久久久久一区二区 | 91小视频在线| 色综合天天综合狠狠| 99久久99久久精品国产片果冻| 成人免费精品视频| 99久久精品国产一区二区三区| eeuss影院一区二区三区| 成人精品亚洲人成在线| av电影天堂一区二区在线| 99久久婷婷国产| 欧美在线小视频| 91精品中文字幕一区二区三区| 91精品国产综合久久久蜜臀粉嫩 | 国产精品一区二区三区99| 国产91精品在线观看| 成人a级免费电影| 成人av网站免费观看| 在线观看不卡一区| 欧美一级日韩一级| 久久精品亚洲一区二区三区浴池| 欧美国产一区在线| 亚洲欧美色图小说| 午夜一区二区三区在线观看| 婷婷开心激情综合| 国产ts人妖一区二区| 一本一道综合狠狠老| 7878成人国产在线观看| 久久综合丝袜日本网| 国产精品福利在线播放| 亚洲高清在线视频| 精品午夜一区二区三区在线观看| 丰满少妇久久久久久久 | 91精品国产欧美一区二区| 久久久蜜桃精品| 亚洲国产一区二区a毛片| 美日韩一区二区| a在线欧美一区| 日韩午夜激情视频| 一区在线播放视频| 日韩精品福利网| 国产91在线观看丝袜| 在线电影一区二区三区| 日本一区二区综合亚洲| 亚洲成av人片观看| 丁香天五香天堂综合| 在线不卡一区二区| 国产精品免费视频一区| 天堂成人免费av电影一区| 不卡视频免费播放| 精品美女被调教视频大全网站| 亚洲精品中文在线| 国产麻豆精品在线观看| 欧美日韩一区二区三区不卡| 精品国产免费久久| 日韩高清一区二区| 91麻豆福利精品推荐| 久久综合色鬼综合色| 首页国产欧美日韩丝袜| 成人免费av资源| 精品乱码亚洲一区二区不卡| 亚洲一区二区欧美日韩 | 亚洲一区二区免费视频| 不卡高清视频专区| 2020国产精品| 久久精品免费观看| 欧美日韩日本视频| 亚洲精品免费在线播放| 国产一区二区三区美女| 欧美日韩黄色一区二区| 亚洲自拍另类综合| 一本大道久久精品懂色aⅴ| 亚洲国产精品国自产拍av| 久久激情五月激情| 日韩一区二区在线观看| 午夜激情一区二区| 欧美艳星brazzers| 亚洲精品视频观看| 99精品在线免费| 自拍视频在线观看一区二区| 国产福利一区二区三区视频 | 精品美女在线播放| 蜜桃视频免费观看一区| 欧美二区在线观看| 日韩制服丝袜av| 91麻豆精品国产无毒不卡在线观看| 夜夜爽夜夜爽精品视频| 色婷婷av久久久久久久| 夜夜嗨av一区二区三区| 欧洲精品在线观看| 亚洲二区在线观看| 91精品国产综合久久久久久漫画| 亚洲图片欧美色图| 欧美精品tushy高清| 日本亚洲最大的色成网站www| 欧美一区二区三区四区在线观看| 视频一区欧美精品| 欧美成人伊人久久综合网| 黑人巨大精品欧美一区| 久久久噜噜噜久久人人看| 成人精品视频一区| 亚洲欧美日韩在线不卡| 在线观看亚洲专区| 日韩高清在线不卡| 久久久国际精品| 成人av午夜电影| 亚洲电影欧美电影有声小说| 6080午夜不卡| 国产一区二区精品久久99| 亚洲国产精品99久久久久久久久 | 国产精品色在线| 色乱码一区二区三区88| 爽好久久久欧美精品| 久久精品一二三| 色呦呦一区二区三区| 日韩av电影天堂| 久久久久久久久蜜桃| 一本色道综合亚洲| 日韩经典一区二区| 久久久777精品电影网影网| 色诱亚洲精品久久久久久| 日本不卡高清视频|