const crypto/internal/mlkem768.CiphertextSize
12 uses
crypto/internal/mlkem768 (current package)
mlkem768.go#L64: CiphertextSize = k*encodingSize10 + encodingSize4
mlkem768.go#L252: var cc [CiphertextSize]byte
mlkem768.go#L256: func encapsulate(cc *[CiphertextSize]byte, encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
mlkem768.go#L270: func kemEncaps(cc *[CiphertextSize]byte, ek []byte, m *[messageSize]byte) (c, K []byte, err error) {
mlkem768.go#L272: cc = &[CiphertextSize]byte{}
mlkem768.go#L323: func pkeEncrypt(cc *[CiphertextSize]byte, ex *encryptionKey, m *[messageSize]byte, rnd []byte) []byte {
mlkem768.go#L367: if len(ciphertext) != CiphertextSize {
mlkem768.go#L370: c := (*[CiphertextSize]byte)(ciphertext)
mlkem768.go#L377: func kemDecaps(dk *DecapsulationKey, c *[CiphertextSize]byte) (K []byte) {
mlkem768.go#L392: var cc [CiphertextSize]byte
mlkem768.go#L424: func pkeDecrypt(dx *decryptionKey, c *[CiphertextSize]byte) []byte {
crypto/tls
handshake_client_tls13.go#L486: if len(ecdhePeerData) != x25519PublicKeySize+mlkem768.CiphertextSize {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |