github.com/pion/dtls/v2@v2.2.12/internal/ciphersuite/tls_psk_with_aes_256_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  // NewTLSPskWithAes256Ccm8 returns the TLS_PSK_WITH_AES_256_CCM_8 CipherSuite
    12  func NewTLSPskWithAes256Ccm8() *Aes256Ccm {
    13  	return newAes256Ccm(clientcertificate.Type(0), TLS_PSK_WITH_AES_256_CCM_8, true, ciphersuite.CCMTagLength8, KeyExchangeAlgorithmPsk, false)
    14  }