mirror of https://github.com/bjdgyc/anylink.git
12 lines
365 B
Go
12 lines
365 B
Go
package ciphersuite
|
|
|
|
import (
|
|
"github.com/pion/dtls/v2/pkg/crypto/ciphersuite"
|
|
"github.com/pion/dtls/v2/pkg/crypto/clientcertificate"
|
|
)
|
|
|
|
// NewTLSPskWithAes128Ccm returns the TLS_PSK_WITH_AES_128_CCM CipherSuite
|
|
func NewTLSPskWithAes128Ccm() *Aes128Ccm {
|
|
return newAes128Ccm(clientcertificate.Type(0), TLS_PSK_WITH_AES_128_CCM, true, ciphersuite.CCMTagLength)
|
|
}
|