Searched refs:cipher_type (Results 1 – 5 of 5) sorted by relevance
74 static inline const struct tls_cipher_desc *get_cipher_desc(u16 cipher_type) in get_cipher_desc() argument76 if (cipher_type < TLS_CIPHER_MIN || cipher_type > TLS_CIPHER_MAX) in get_cipher_desc()79 return &tls_cipher_desc[cipher_type - TLS_CIPHER_MIN]; in get_cipher_desc()315 prot->cipher_type != TLS_CIPHER_CHACHA20_POLY1305) in tls_advance_record_sn()326 prot->cipher_type == TLS_CIPHER_CHACHA20_POLY1305) { in tls_xor_iv_with_seq()341 prot->cipher_type != TLS_CIPHER_CHACHA20_POLY1305) { in tls_fill_prepend()
481 cipher_desc = get_cipher_desc(crypto_info->cipher_type); in do_tls_getsockopt_conf()595 switch (crypto_info->cipher_type) { in validate_crypto_info()606 alt_crypto_info->cipher_type != crypto_info->cipher_type) in validate_crypto_info()664 crypto_info->cipher_type != old_crypto_info->cipher_type) in do_tls_setsockopt_conf()672 cipher_desc = get_cipher_desc(crypto_info->cipher_type); in do_tls_setsockopt_conf()1068 u16 version, cipher_type; in tls_get_info() local1089 cipher_type = ctx->prot_info.cipher_type; in tls_get_info()1090 if (cipher_type) { in tls_get_info()1091 err = nla_put_u16(skb, TLS_INFO_CIPHER, cipher_type); in tls_get_info()
55 cipher_desc = get_cipher_desc(prot->cipher_type); in tls_enc_record()289 get_cipher_desc(tls_ctx->crypto_send.info.cipher_type); in fill_sg_out()317 cipher_desc = get_cipher_desc(tls_ctx->crypto_send.info.cipher_type); in tls_enc_skb()446 cipher_desc = get_cipher_desc(crypto_info->cipher_type); in tls_sw_fallback_init()
546 switch (prot->cipher_type) { in tls_do_encryption()1558 switch (prot->cipher_type) { in tls_decrypt_sg()1571 prot->cipher_type == TLS_CIPHER_CHACHA20_POLY1305) { in tls_decrypt_sg()2447 prot->cipher_type != TLS_CIPHER_CHACHA20_POLY1305) in tls_rx_msg_size()2735 prot->cipher_type = crypto_info->cipher_type; in init_prot_info()2800 cipher_desc = get_cipher_desc(src_crypto_info->cipher_type); in tls_set_sw_offload()
888 cipher_desc = get_cipher_desc(tls_ctx->crypto_recv.info.cipher_type); in tls_device_reencrypt()1092 cipher_desc = get_cipher_desc(crypto_info->cipher_type); in tls_set_device_offload()
Completed in 16 milliseconds