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

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

?? sm2read.c

?? IBE是一種非對(duì)稱(chēng)密碼技術(shù)
?? C
?? 第 1 頁(yè) / 共 4 頁(yè)
字號(hào):
  VOLT_DECLARE_ERROR_TYPE(errorType)
  
  VOLT_SET_ERROR_TYPE(errorType, 0)
  
  VT_ASSERT(secureMailObj != (VtSecureMailObject)0);
  VT_ASSERT(inputRead != (unsigned int*)0);
  VT_ASSERT(pendingInputLength != (unsigned int*)0);
  
  *inputRead = inputLength;
  *pendingInputLength = 0;
  
  if (inputLength == 0)
    return 0;
    
  readCtx = (VoltSecureMail2ReadCtx*)secureMailObj->localCtx;
  VT_ASSERT(readCtx != (VoltSecureMail2ReadCtx*)0);
  libCtx = secureMailObj->voltObject.libraryCtx;
  VT_ASSERT(libCtx != (VtLibCtx)0);
  
  do
  {
    isHTML = (readCtx->wrapperType == VOLT_SECURE_MAIL_WRAPPER_TYPE_HTML);
    
    maxTagLength = Z2Strlen(VoltZDM2MessageBlockStartTagPrefix) +
      Z2Strlen(VoltZDM2MessageBlockStartTagSuffix) +
      VOLT_ZDM2_MAX_VERSION_NUMBER_LENGTH;
    if (isHTML)
      maxTagLength += 7; // Add 7 for the "<!--" and "-->" HTML comments

    p = input;
    end = input + inputLength;
    
    p = VoltSecureMail2SkipWhitespace(p, end);

    if (p + maxTagLength > end)
    {
      *pendingInputLength = end - p;
      break;
    }
    
    foundTag = 0;
    for (i = VOLT_SECURE_MAIL_2_BEGIN_VERSION;
      i <= VOLT_SECURE_MAIL_2_END_VERSION; i++)
    {
      Z2Free(tag);
      
      VOLT_SET_FNCT_LINE(fnctLine)
      status = VoltZDM2FormatMessageTag(libCtx,
        VoltZDM2MessageBlockStartTagPrefix,
        VoltZDM2MessageBlockStartTagSuffix, (unsigned char*)0,
        i, isHTML, &tag);
      if (status != 0)
        break;
      
      tagLength = Z2Strlen(tag);
      
      if (VoltCaseInsensitiveCompareBuffers(p, tagLength,
        tag, tagLength, libCtx) == 0)
      {
        secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_HEADER_2;
        *inputRead = p + tagLength - input;
        secureMailObj->version = i;
        foundTag = 1;
        break;
      }
    }
    if ((status != 0) || foundTag)
      break;
    
    VOLT_SET_FNCT_LINE(fnctLine)
    VOLT_SET_ERROR_TYPE(errorType, VT_ERROR_TYPE_PRIMARY)
    status = VT_ERROR_INVALID_SECURE_MAIL_MSG;
    readCtx->wrapperType = VOLT_SECURE_MAIL_WRAPPER_TYPE_INVALID;
    secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_COMPLETE;
  }
  while (0);
  
  Z2Free(tag);
  
  VOLT_LOG_ERROR_COMPARE(status, libCtx, status, errorType,
    fnctLine, "VoltSecureMail2FindMessageStart", (unsigned char*)0)
  
  return status;
}

static int VoltSecureMail2FindSecureStart(
  VtSecureMailObject secureMailObj,
  const unsigned char *input,
  unsigned int inputLength,
  unsigned int* inputRead,
  unsigned int* pendingInputLength
)
{
  int status = 0;
  VoltSecureMail2ReadCtx* readCtx = (VoltSecureMail2ReadCtx*)0;
  VtLibCtx libCtx = (VtLibCtx)0;
  int foundTag = 0;
  unsigned char* tag = (unsigned char*)0;
  unsigned int tagLength;
  const unsigned char* p;
  const unsigned char* end;
  VOLT_DECLARE_FNCT_LINE(fnctLine)
  VOLT_DECLARE_ERROR_TYPE(errorType)
  
  VOLT_SET_ERROR_TYPE(errorType, 0)
  
  VT_ASSERT(secureMailObj != (VtSecureMailObject)0);
  VT_ASSERT(inputRead != (unsigned int*)0);
  VT_ASSERT(pendingInputLength != (unsigned int*)0);
  
  *inputRead = inputLength;
  *pendingInputLength = 0;
  
  if (inputLength == 0)
    return 0;
      
  readCtx = (VoltSecureMail2ReadCtx*)secureMailObj->localCtx;
  VT_ASSERT(readCtx != (VoltSecureMail2ReadCtx*)0);
  libCtx = secureMailObj->voltObject.libraryCtx;
  VT_ASSERT(libCtx != (VtLibCtx)0);
  
  do
  {
    VOLT_SET_FNCT_LINE(fnctLine)
    status = VoltZDM2FormatMessageTag(libCtx,
      VoltZDM2SecureBlockStartTagPrefix,
      VoltZDM2SecureBlockStartTagSuffix, (unsigned char*)0,
      secureMailObj->version, 0, &tag);
    if (status != 0)
      break;
    
    tagLength = Z2Strlen(tag);
    
    p = input;
    end = input + inputLength;
    
    while (p + tagLength <= end)
    {
      if (VoltCaseInsensitiveCompareBuffers(p, tagLength,
        tag, tagLength, libCtx) == 0)
      {
        foundTag = 1;
        break;
      }
      p++;
    }
    
    if (foundTag)
    {
      secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_B64;
      *inputRead = p + tagLength - input;
    }
    else
    {
      *pendingInputLength = tagLength - 1;
    }
  }
  while (0);
  
  Z2Free(tag);
  
  VOLT_LOG_ERROR_COMPARE(status, libCtx, status, errorType,
    fnctLine, "VoltSecureMail2FindSecureStart", (unsigned char*)0)
  
  return status;
}

static int VoltSecureMail2ReadSecureEnd(
  VtSecureMailObject secureMailObj,
  const unsigned char *input,
  unsigned int inputLength,
  unsigned int* inputRead,
  unsigned int* pendingInputLength
)
{
  int status = 0;
  VoltSecureMail2ReadCtx* readCtx = (VoltSecureMail2ReadCtx*)0;
  VtLibCtx libCtx = (VtLibCtx)0;
  unsigned char* tag = (unsigned char*)0;
  unsigned int tagLength;
  const unsigned char* p;
  const unsigned char* end;
  int isHTML;
  VOLT_DECLARE_FNCT_LINE(fnctLine)
  VOLT_DECLARE_ERROR_TYPE(errorType)
  
  VOLT_SET_ERROR_TYPE(errorType, 0)
  
  VT_ASSERT(secureMailObj != (VtSecureMailObject)0);
  VT_ASSERT(inputRead != (unsigned int*)0);
  VT_ASSERT(pendingInputLength != (unsigned int*)0);
  
  *inputRead = inputLength;
  *pendingInputLength = 0;
  
  if (inputLength == 0)
    return 0;
    
  readCtx = (VoltSecureMail2ReadCtx*)secureMailObj->localCtx;
  VT_ASSERT(readCtx != (VoltSecureMail2ReadCtx*)0);
  libCtx = secureMailObj->voltObject.libraryCtx;
  VT_ASSERT(libCtx != (VtLibCtx)0);
  
  do
  {
    VOLT_SET_FNCT_LINE(fnctLine)
    status = VoltZDM2FormatMessageTag(libCtx,
      VoltZDM2SecureBlockEndTagPrefix,
      VoltZDM2SecureBlockEndTagSuffix, (unsigned char*)0,
      secureMailObj->version, 0, &tag);
    if (status != 0)
      break;
    
    tagLength = Z2Strlen(tag);
    
    p = input;
    end = input + inputLength;
    
    p = VoltSecureMail2SkipWhitespace(p, end);

    if (p + tagLength > end)
    {
      *pendingInputLength = end - p;
      break;
    }
    
    if (VoltCaseInsensitiveCompareBuffers(p, tagLength,
      tag, tagLength, libCtx) == 0)
    {
      isHTML = (readCtx->wrapperType == VOLT_SECURE_MAIL_WRAPPER_TYPE_HTML);
      secureMailObj->state = isHTML ? VOLT_SECURE_MAIL_STATE_READ_COMMENT_END :
        VOLT_SECURE_MAIL_STATE_READ_FOOTER_2;
      *inputRead = p + tagLength - input;
      break;
    }
    
    VOLT_SET_FNCT_LINE(fnctLine)
    VOLT_SET_ERROR_TYPE(errorType, VT_ERROR_TYPE_PRIMARY)
    status = VT_ERROR_INVALID_SECURE_MAIL_MSG;
    readCtx->wrapperType = VOLT_SECURE_MAIL_WRAPPER_TYPE_INVALID;
    secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_COMPLETE;
  }
  while (0);
  
  Z2Free(tag);
  
  VOLT_LOG_ERROR_COMPARE(status, libCtx, status, errorType,
    fnctLine, "VoltSecureMail2ReadSecureEnd", (unsigned char*)0)
  
  return status;
}

static int VoltSecureMail2ReadCommentEnd(
  VtSecureMailObject secureMailObj,
  const unsigned char *input,
  unsigned int inputLength,
  unsigned int* inputRead,
  unsigned int* pendingInputLength
)
{
  int status = 0;
  VoltSecureMail2ReadCtx* readCtx = (VoltSecureMail2ReadCtx*)0;
  VtLibCtx libCtx = (VtLibCtx)0;
  const unsigned char* p;
  const unsigned char* end;
  const unsigned char* commentEnd = "-->";
  int commentLength;
  VOLT_DECLARE_FNCT_LINE(fnctLine)
  
  VT_ASSERT(secureMailObj != (VtSecureMailObject)0);
  VT_ASSERT(inputRead != (unsigned int*)0);
  VT_ASSERT(pendingInputLength != (unsigned int*)0);
  
  *inputRead = inputLength;
  *pendingInputLength = 0;
  
  if (inputLength == 0)
    return 0;
    
  readCtx = (VoltSecureMail2ReadCtx*)secureMailObj->localCtx;
  VT_ASSERT(readCtx != (VoltSecureMail2ReadCtx*)0);
  libCtx = secureMailObj->voltObject.libraryCtx;
  VT_ASSERT(libCtx != (VtLibCtx)0);
  
  do
  {
    commentLength = Z2Strlen(commentEnd);
    
    p = input;
    end = input + inputLength;
    
    p = VoltSecureMail2SkipWhitespace(p, end);

    if (p + commentLength > end)
    {
      *pendingInputLength = end - p;
      break;
    }
    
    if (VoltCaseInsensitiveCompareBuffers(p, commentLength,
      commentEnd, commentLength, libCtx) == 0)
    {
      secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_FOOTER_2;
      *inputRead = p + commentLength - input;
      break;
    }
    
    VOLT_SET_FNCT_LINE(fnctLine)
    status = VT_ERROR_INVALID_SECURE_MAIL_MSG;
    readCtx->wrapperType = VOLT_SECURE_MAIL_WRAPPER_TYPE_INVALID;
    secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_COMPLETE;
  }
  while (0);
  
  VOLT_LOG_ERROR_COMPARE(status, libCtx, status, VT_ERROR_TYPE_PRIMARY,
    fnctLine, "VoltSecureMail2ReadCommentEnd", (unsigned char*)0)
  
  return status;
}

static int VoltSecureMail2ReadMessageEnd(
  VtSecureMailObject secureMailObj,
  const unsigned char *input,
  unsigned int inputLength,
  unsigned int* inputRead,
  unsigned int* pendingInputLength
)
{
  int status = 0;
  VoltSecureMail2ReadCtx* readCtx = (VoltSecureMail2ReadCtx*)0;
  VtLibCtx libCtx = (VtLibCtx)0;
  int isHTML;
  unsigned char* tag = (unsigned char*)0;
  unsigned int tagLength;
  const unsigned char* p;
  const unsigned char* end;
  VOLT_DECLARE_FNCT_LINE(fnctLine)
  VOLT_DECLARE_ERROR_TYPE(errorType)
  
  VOLT_SET_ERROR_TYPE(errorType, 0)
  
  VT_ASSERT(secureMailObj != (VtSecureMailObject)0);
  VT_ASSERT(inputRead != (unsigned int*)0);
  VT_ASSERT(pendingInputLength != (unsigned int*)0);
  
  *inputRead = inputLength;
  *pendingInputLength = 0;
  
  if (inputLength == 0)
    return 0;
    
  readCtx = (VoltSecureMail2ReadCtx*)secureMailObj->localCtx;
  VT_ASSERT(readCtx != (VoltSecureMail2ReadCtx*)0);
  libCtx = secureMailObj->voltObject.libraryCtx;
  VT_ASSERT(libCtx != (VtLibCtx)0);
  
  do
  {
    isHTML = (readCtx->wrapperType == VOLT_SECURE_MAIL_WRAPPER_TYPE_HTML);
    
    VOLT_SET_FNCT_LINE(fnctLine)
    status = VoltZDM2FormatMessageTag(libCtx,
      VoltZDM2MessageBlockEndTagPrefix,
      VoltZDM2MessageBlockEndTagSuffix, (unsigned char*)0,
      secureMailObj->version, isHTML, &tag);
    if (status != 0)
      break;
    
    tagLength = Z2Strlen(tag);
    
    p = input;
    end = input + inputLength;
    
    p = VoltSecureMail2SkipWhitespace(p, end);

    if (p + tagLength > end)
    {
      *pendingInputLength = end - p;
      break;
    }
    
    if (VoltCaseInsensitiveCompareBuffers(p, tagLength,
      tag, tagLength, libCtx) == 0)
    {
      secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_COMPLETE;
      *inputRead = p + tagLength - input;
      break;
    }
    
    VOLT_SET_FNCT_LINE(fnctLine)
    VOLT_SET_ERROR_TYPE(errorType, VT_ERROR_TYPE_PRIMARY)
    status = VT_ERROR_INVALID_SECURE_MAIL_MSG;
    readCtx->wrapperType = VOLT_SECURE_MAIL_WRAPPER_TYPE_INVALID;
    secureMailObj->state = VOLT_SECURE_MAIL_STATE_READ_COMPLETE;
  }
  while (0);
  
  Z2Free(tag);
  
  VOLT_LOG_ERROR_COMPARE(status, libCtx, status, errorType,
    fnctLine, "VoltSecureMail2ReadMessageEnd", (unsigned char*)0)
  
  return status;
}

static int VoltSecureMail2ProcessHeaders(
  VtSecureMailObject secureMailObj,
  const unsigned char* headers
)
{
  int status = 0;
  VoltSecureMail2ReadCtx* readCtx = (VoltSecureMail2ReadCtx*)0;
  VtLibCtx libCtx = (VtLibCtx)0;
  VtDataNodeObject attributesNode = (VtDataNodeObject)0;
  VtDataNodeObject node;
  const unsigned char* str;
  const unsigned char* p;
  const unsigned char* end;
  unsigned char label[100];
  unsigned int labelLength;
  VOLT_DECLARE_FNCT_LINE(fnctLine)
  VOLT_DECLARE_ERROR_TYPE(errorType)
  
  VOLT_SET_ERROR_TYPE(errorType, 0)
  
  VT_ASSERT(secureMailObj != (VtSecureMailObject)0);
  
  readCtx = (VoltSecureMail2ReadCtx*)secureMailObj->localCtx;
  VT_ASSERT(readCtx != (VoltSecureMail2ReadCtx*)0);
  libCtx = secureMailObj->voltObject.libraryCtx;
  VT_ASSERT(libCtx != (VtLibCtx)0);
  
  do
  {
    p = headers;
    end = headers + Z2Strlen(headers);
    
    p = VoltSecureMail2SkipWhitespace(p, end);

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产三级精品三级| 久久夜色精品一区| 韩国女主播一区二区三区| 国产精品久久三区| 日韩一区二区免费视频| 91亚洲午夜精品久久久久久| 捆绑调教一区二区三区| 亚洲激情校园春色| 久久九九国产精品| 欧美xxx久久| 欧美日精品一区视频| 国产成人精品免费一区二区| 日韩av一二三| 亚洲国产视频在线| 亚洲欧美激情视频在线观看一区二区三区| 欧美xxxxx裸体时装秀| 欧美伊人久久久久久久久影院 | 国产亚洲视频系列| 欧美高清在线一区| 日韩三级视频在线观看| 欧美三级中文字幕在线观看| 色综合天天在线| 成人黄色av电影| 国产精品综合久久| 久久黄色级2电影| 日韩高清欧美激情| 首页欧美精品中文字幕| 一区二区免费在线| 亚洲精品免费在线| 亚洲欧美区自拍先锋| 中文字幕在线免费不卡| 国产欧美日韩亚州综合 | 在线亚洲人成电影网站色www| 国产资源在线一区| 国产伦精品一区二区三区免费迷| 日韩av一区二区三区四区| 爽好久久久欧美精品| 午夜视频在线观看一区二区三区| 一区二区三区免费| 亚洲一卡二卡三卡四卡| 亚洲一区二区视频在线| 亚洲综合色区另类av| 亚洲国产日日夜夜| 婷婷夜色潮精品综合在线| 日韩国产在线观看一区| 免费成人在线观看| 久久91精品国产91久久小草| 美腿丝袜亚洲一区| 精品一区二区在线看| 国产一区二区91| 成人sese在线| 91麻豆精东视频| 欧美日韩在线不卡| 91麻豆精品国产91久久久| 日韩欧美激情一区| 国产日韩成人精品| 一区二区三区中文在线观看| 亚洲成人动漫在线免费观看| 天天免费综合色| 九九在线精品视频| 丁香亚洲综合激情啪啪综合| 91尤物视频在线观看| 欧美丰满美乳xxx高潮www| 欧美大白屁股肥臀xxxxxx| 国产亚洲女人久久久久毛片| 国产精品亲子乱子伦xxxx裸| 亚洲三级电影全部在线观看高清| 一区二区不卡在线视频 午夜欧美不卡在 | 亚洲宅男天堂在线观看无病毒| 亚洲福利视频一区| 国产一区 二区 三区一级| 99re亚洲国产精品| 欧美一区三区二区| 国产精品久久影院| 99久久国产综合精品麻豆| 欧美色中文字幕| 久久久91精品国产一区二区精品| 亚洲欧洲www| 免费日韩伦理电影| 不卡的av中国片| 欧美一级片在线| 国产精品视频九色porn| 日韩精品一二区| av成人免费在线观看| 欧美一级一级性生活免费录像| 国产精品国产三级国产aⅴ入口| 亚洲成av人片| 成人精品视频.| 日韩一级大片在线| 亚洲欧美一区二区不卡| 久久超碰97人人做人人爱| 91在线无精精品入口| 精品国免费一区二区三区| 夜夜夜精品看看| 成人午夜激情片| 69堂精品视频| 一区二区三区四区精品在线视频| 另类小说图片综合网| 色诱视频网站一区| 亚洲国产高清不卡| 美女一区二区久久| 在线中文字幕不卡| 国产精品不卡一区二区三区| 久久丁香综合五月国产三级网站| 欧洲av一区二区嗯嗯嗯啊| 中文无字幕一区二区三区| 日本中文在线一区| 一道本成人在线| 国产精品美女一区二区在线观看| 久久精品国产亚洲aⅴ| 欧美日韩在线播放一区| 综合电影一区二区三区| 国产成人一区二区精品非洲| 日韩欧美中文一区| 日本美女一区二区| 欧美精品一二三| 亚洲综合一二三区| 91一区二区三区在线播放| 亚洲国产精品黑人久久久| 国内成+人亚洲+欧美+综合在线| 欧美老人xxxx18| 亚洲福利电影网| 欧美影院一区二区| 亚洲福利视频三区| 欧美色综合影院| 亚洲va在线va天堂| 欧美女孩性生活视频| 一区二区高清免费观看影视大全| 一本大道久久a久久精品综合| 国产精品久久久爽爽爽麻豆色哟哟| 国产精品一区二区三区四区| 26uuu精品一区二区在线观看| 美女性感视频久久| 精品久久久三级丝袜| 国产一区二区三区四| 久久久亚洲精华液精华液精华液| 久久国产剧场电影| 久久亚洲精精品中文字幕早川悠里 | 日韩欧美精品三级| 久久疯狂做爰流白浆xx| 精品福利在线导航| 国产精品影视网| 亚洲国产岛国毛片在线| 成人开心网精品视频| 亚洲欧美韩国综合色| 欧美在线一二三四区| 视频在线观看一区二区三区| 91精品一区二区三区久久久久久 | 亚洲激情在线激情| 欧美日韩免费电影| 日韩av在线免费观看不卡| 精品国产一二三| 国产白丝网站精品污在线入口| 国产精品久久久久婷婷| 色老综合老女人久久久| 日韩 欧美一区二区三区| 2023国产精品| 播五月开心婷婷综合| 亚洲午夜久久久久久久久电影院| 在线不卡的av| 国产精品影视天天线| 亚洲卡通欧美制服中文| 欧美日韩午夜在线| 狠狠色综合色综合网络| 国产精品美女www爽爽爽| 色婷婷激情综合| 美腿丝袜一区二区三区| 亚洲国产岛国毛片在线| 欧美午夜免费电影| 黑人巨大精品欧美一区| 日韩美女久久久| 日韩一级完整毛片| 不卡一区在线观看| 日韩黄色小视频| 国产精品天干天干在观线| 欧美日韩日本视频| 国产精品影音先锋| 午夜欧美一区二区三区在线播放| 日韩女优毛片在线| 色哟哟一区二区| 激情小说欧美图片| 亚洲午夜精品在线| 国产午夜精品一区二区三区四区| 91国产免费观看| 国产精品自拍网站| 婷婷综合另类小说色区| 中文字幕日韩一区| 欧美一二区视频| 中文字幕国产一区| 在线播放日韩导航| 99精品久久久久久| 国产综合一区二区| 午夜精品久久久久久久| 欧美国产日本视频| 欧美大白屁股肥臀xxxxxx| 欧美午夜精品久久久久久超碰 | 精品久久免费看| 欧美日韩一区成人| 91网站在线观看视频| 国产黄色91视频|