github.com/gotd/td/mtproto.Session.Key (field)
19 uses
github.com/gotd/td/mtproto (current package)
bind.go#L68: if s.Key.Zero() {
bind.go#L91: TempAuthKeyID: s.Key.IntID(),
bind.go#L126: log.Int64("temp_key_id", s.Key.IntID()),
bind.go#L155: log.Int64("temp_key_id", s.Key.IntID()),
bind.go#L260: if probe.session().Key.ID != perm.ID {
conn.go#L267: c.traceKey(WireKeySet, s.Key, c.pfs)
connect.go#L55: if session.Key.Zero() {
connect.go#L69: if session.ID == 0 && c.reuseSession(ctx, session.Key) {
new_encrypted_msg.go#L67: c.traceMessage(WireOut, s.Key, s.Salt, s.ID, id, seq, body.Raw())
new_encrypted_msg.go#L81: if err := c.cipher.Encrypt(s.Key, d, b); err != nil {
read.go#L80: msg, err := c.cipher.DecryptFromBuffer(session.Key, b)
read.go#L86: c.traceMessage(WireIn, session.Key, msg.Salt, msg.SessionID, msg.MessageID, msg.SeqNo, msg.Data())
read.go#L206: c.traceKey(WireKeySet, c.session().Key, false)
session.go#L15: Key crypto.AuthKey
session.go#L31: Key: c.authKey,
session.go#L85: if c.pfs || s.Key.Zero() {
session.go#L95: c.sessionState.release(s.Key.ID, id, n)
github.com/gotd/td/telegram
session.go#L304: keyToSave := s.Key
session.go#L410: keyToStore := s.Key
 |
The pages are generated with Golds v0.8.7. (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. |