Example #1
0
                            GNUTLS_MAC_SHA1, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1),
 ENTRY (GNUTLS_ECDHE_PSK_AES_128_CBC_SHA1,
                            GNUTLS_CIPHER_AES_128_CBC, GNUTLS_KX_ECDHE_PSK,
                            GNUTLS_MAC_SHA1, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1),
 ENTRY (GNUTLS_ECDHE_PSK_AES_256_CBC_SHA1,
                            GNUTLS_CIPHER_AES_256_CBC, GNUTLS_KX_ECDHE_PSK,
                            GNUTLS_MAC_SHA1, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1),
 ENTRY (GNUTLS_ECDHE_PSK_AES_128_CBC_SHA256,
                            GNUTLS_CIPHER_AES_128_CBC, GNUTLS_KX_ECDHE_PSK,
                            GNUTLS_MAC_SHA256, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1),
 ENTRY_PRF (GNUTLS_ECDHE_PSK_AES_256_CBC_SHA384,
                            GNUTLS_CIPHER_AES_256_CBC, GNUTLS_KX_ECDHE_PSK,
                            GNUTLS_MAC_SHA384, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1, GNUTLS_MAC_SHA384),
 ENTRY (GNUTLS_ECDHE_PSK_NULL_SHA256,
                            GNUTLS_CIPHER_NULL, GNUTLS_KX_ECDHE_PSK,
                            GNUTLS_MAC_SHA256, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1),
 ENTRY_PRF (GNUTLS_ECDHE_PSK_NULL_SHA384,
                            GNUTLS_CIPHER_NULL, GNUTLS_KX_ECDHE_PSK,
                            GNUTLS_MAC_SHA384, GNUTLS_TLS1_0,
                            GNUTLS_VERSION_MAX, 1, GNUTLS_MAC_SHA384),
 ENTRY_PRF(GNUTLS_ECDHE_ECDSA_AES_256_GCM_SHA384,
                               GNUTLS_CIPHER_AES_256_GCM, GNUTLS_KX_ECDHE_ECDSA,
                               GNUTLS_MAC_AEAD, GNUTLS_TLS1_2,
                               GNUTLS_VERSION_MAX, 1, GNUTLS_DIG_SHA384),
 ENTRY_PRF(GNUTLS_ECDHE_RSA_AES_256_GCM_SHA384,
                               GNUTLS_CIPHER_AES_256_GCM, GNUTLS_KX_ECDHE_RSA,
Example #2
0
	      GNUTLS_DTLS_VERSION_MIN),
	ENTRY(GNUTLS_RSA_AES_128_CBC_SHA256,
	      GNUTLS_CIPHER_AES_128_CBC, GNUTLS_KX_RSA,
	      GNUTLS_MAC_SHA256, GNUTLS_SSL3,
	      GNUTLS_DTLS_VERSION_MIN),
	ENTRY(GNUTLS_RSA_AES_256_CBC_SHA256,
	      GNUTLS_CIPHER_AES_256_CBC, GNUTLS_KX_RSA,
	      GNUTLS_MAC_SHA256, GNUTLS_SSL3,
	      GNUTLS_DTLS_VERSION_MIN),
/* GCM */
	ENTRY(GNUTLS_RSA_AES_128_GCM_SHA256,
	      GNUTLS_CIPHER_AES_128_GCM, GNUTLS_KX_RSA,
	      GNUTLS_MAC_AEAD, GNUTLS_TLS1_2,
	      GNUTLS_DTLS1_2),
	ENTRY_PRF(GNUTLS_RSA_AES_256_GCM_SHA384,
		  GNUTLS_CIPHER_AES_256_GCM, GNUTLS_KX_RSA,
		  GNUTLS_MAC_AEAD, GNUTLS_TLS1_2,
		  GNUTLS_DTLS1_2, GNUTLS_DIG_SHA384),
	ENTRY(GNUTLS_RSA_CAMELLIA_128_GCM_SHA256,
	      GNUTLS_CIPHER_CAMELLIA_128_GCM, GNUTLS_KX_RSA,
	      GNUTLS_MAC_AEAD, GNUTLS_TLS1_2,
	      GNUTLS_DTLS1_2),
	ENTRY_PRF(GNUTLS_RSA_CAMELLIA_256_GCM_SHA384,
		  GNUTLS_CIPHER_CAMELLIA_256_GCM, GNUTLS_KX_RSA,
		  GNUTLS_MAC_AEAD, GNUTLS_TLS1_2,
		  GNUTLS_DTLS1_2, GNUTLS_DIG_SHA384),

/* Salsa20 */
	ENTRY(GNUTLS_RSA_SALSA20_256_SHA1,
	      GNUTLS_CIPHER_SALSA20_256, GNUTLS_KX_RSA,
	      GNUTLS_MAC_SHA1, GNUTLS_SSL3,
	      GNUTLS_DTLS_VERSION_MIN),