github.com/pion/dtls/v2@v2.2.12/internal/ciphersuite/tls_psk_with_aes_128_ccm8.go (about) 1 // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly> 2 // SPDX-License-Identifier: MIT 3 4 package ciphersuite 5 6 import ( 7 "github.com/pion/dtls/v2/pkg/crypto/ciphersuite" 8 "github.com/pion/dtls/v2/pkg/crypto/clientcertificate" 9 ) 10 11 // NewTLSPskWithAes128Ccm8 returns the TLS_PSK_WITH_AES_128_CCM_8 CipherSuite 12 func NewTLSPskWithAes128Ccm8() *Aes128Ccm { 13 return newAes128Ccm(clientcertificate.Type(0), TLS_PSK_WITH_AES_128_CCM_8, true, ciphersuite.CCMTagLength8, KeyExchangeAlgorithmPsk, false) 14 }