SSL_BUFFER Union

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SSL_BUFFER Union
C
typedef union {
  struct {
    HASH_SUM hash;
    BYTE md5_hash[16];
    BYTE sha_hash[20];
    BYTE temp[256-sizeof(HASH_SUM)-16-20];
  } hashRounds;
  BYTE full[256];
} SSL_BUFFER;
Description

Generic buffer space for SSL. The hashRounds element is used when this buffer is needed for handshake hash calculations, and the full element is used as the Sbox for ARCFOUR calculations.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.