Home
last modified time | relevance | path

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

/src/sys/dev/cxgbe/crypto/
H A Dt7_kern_tls.c80 unsigned char enc_mode; member
270 tlsp->enc_mode = t4_tls_cipher_mode(tls); in t7_tls_tag_alloc()
282 V_SCMD_CIPH_MODE(tlsp->enc_mode) | in t7_tls_tag_alloc()
304 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) in t7_tls_tag_alloc()
309 V_SCMD_CIPH_MODE(tlsp->enc_mode); in t7_tls_tag_alloc()
326 V_SCMD_CIPH_MODE(tlsp->enc_mode) | in t7_tls_tag_alloc()
338 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) in t7_tls_tag_alloc()
489 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_CBC) { in ktls_is_short_record()
625 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM && in ktls_wr_len()
888 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) { in t7_ktls_parse_pkt()
[all …]
H A Dt6_kern_tls.c78 unsigned char enc_mode; member
525 tlsp->enc_mode = t4_tls_cipher_mode(tls); in t6_tls_tag_alloc()
533 V_SCMD_CIPH_MODE(tlsp->enc_mode) | in t6_tls_tag_alloc()
555 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) in t6_tls_tag_alloc()
560 V_SCMD_CIPH_MODE(tlsp->enc_mode); in t6_tls_tag_alloc()
571 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) in t6_tls_tag_alloc()
690 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_CBC && in ktls_tcp_payload_length()
726 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) { in ktls_payload_offset()
1433 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_CBC && in ktls_write_tls_wr()
1692 if (tlsp->enc_mode == SCMD_CIPH_MODE_AES_GCM) { in ktls_write_tls_wr()
[all …]
/src/sys/dev/otus/
H A Dif_otus.c3180 uint32_t enc_mode = 0x78; /* XXX */ in otus_set_operating_mode() local
3224 otus_write(sc, AR_MAC_REG_ENCRYPTION, enc_mode); in otus_set_operating_mode()