Branch: Tag:

2015-03-31

2015-03-31 03:41:36 by Martin Nilsson <nilsson@opera.com>

Optimize export crypto a bit for the testsuite.

636:      #endif /* Crypto.ECC.Curve && Crypto.AES.GCM && Crypto.SHA384 */    + //! Called by the KeyExchangeExportRSA during KE_rsa_export key + //! exchanges to ge thte weak RSA key. By default a new 512 bit key is + //! generated for each key exchange. This method can be overloaded to + //! provide caching or alternative means to generate keys. + Crypto.RSA get_export_rsa_key() + { +  return Crypto.RSA()->generate_key(512); + } +    // --- PSK API      // In addition to implementing get_psk, get_psk_id if you are a client