Home
last modified time | relevance | path

Searched refs:tls12 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/tools/testing/selftests/net/
Dtls.c47 struct tls_crypto_info_keys *tls12) in tls_crypto_info_init() argument
49 memset(tls12, 0, sizeof(*tls12)); in tls_crypto_info_init()
53 tls12->len = sizeof(struct tls12_crypto_info_chacha20_poly1305); in tls_crypto_info_init()
54 tls12->chacha20.info.version = tls_version; in tls_crypto_info_init()
55 tls12->chacha20.info.cipher_type = cipher_type; in tls_crypto_info_init()
58 tls12->len = sizeof(struct tls12_crypto_info_aes_gcm_128); in tls_crypto_info_init()
59 tls12->aes128.info.version = tls_version; in tls_crypto_info_init()
60 tls12->aes128.info.cipher_type = cipher_type; in tls_crypto_info_init()
63 tls12->len = sizeof(struct tls12_crypto_info_sm4_gcm); in tls_crypto_info_init()
64 tls12->sm4gcm.info.version = tls_version; in tls_crypto_info_init()
[all …]