Branch: Tag:

2014-05-16

2014-05-16 18:10:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL: Added support for the ChaCha20-Poly1305 suites.

444:    int hash = info[2];       if (sizeof(info) > 3) { -  hash |= info[3]<<6; +  hash |= info[3]<<5;    }       // NB: As are the cipher ids if you disregard the keylengths.
493:    // if (sizeof(info) > 3) keylength += 0x100;       // NB: 8 bits for cipher. -  // 8 bits for hash. +  // 8 bits for hash + mode.    // 8 bits for key exchange.    // 12 bits for keylength.    // 4 bits for auth.