type github.com/gotd/td/bin.Int128
134 uses
github.com/gotd/td/bin (current package)
decode.go#L189: func (b *Buffer) Int128() (Int128, error) {
decode.go#L190: v := Int128{}
decode.go#L193: return Int128{}, io.ErrUnexpectedEOF
encode.go#L95: func (b *Buffer) PutInt128(v Int128) {
int128.go#L6: type Int128 [16]byte
int128.go#L9: func (i *Int128) Decode(buf *Buffer) error {
int128.go#L19: func (i Int128) Encode(b *Buffer) error {
int128.go#L25: func (i Int128) BigInt() *big.Int {
github.com/gotd/td/internal/crypto
encrypted_message.go#L8: MsgKey bin.Int128
exchange.go#L60: func NonceHash1(newNonce bin.Int256, key Key) (r bin.Int128) {
keys.go#L49: func messageKey(messageKeyLarge []byte) (v bin.Int128) {
keys.go#L58: func sha256a(r []byte, authKey *Key, msgKey *bin.Int128, x int) []byte {
keys.go#L70: func sha256b(r []byte, authKey *Key, msgKey *bin.Int128, x int) []byte {
keys.go#L108: func Keys(authKey Key, msgKey bin.Int128, mode Side) (key, iv bin.Int256) {
keys.go#L123: func MessageKey(authKey Key, plaintextPadded []byte, mode Side) bin.Int128 {
keys_old.go#L12: func sha1a(r []byte, authKey Key, msgKey bin.Int128, x int) []byte {
keys_old.go#L24: func sha1b(r []byte, authKey Key, msgKey bin.Int128, x int) []byte {
keys_old.go#L37: func sha1c(r []byte, authKey Key, msgKey bin.Int128, x int) []byte {
keys_old.go#L49: func sha1d(r []byte, authKey Key, msgKey bin.Int128, x int) []byte {
keys_old.go#L72: func OldKeys(authKey Key, msgKey bin.Int128, mode Side) (key, iv bin.Int256) {
rand.go#L34: func RandInt128(randSource io.Reader) (bin.Int128, error) {
rand.go#L37: return bin.Int128{}, err
salt.go#L12: func ServerSalt(newNonce bin.Int256, serverNonce bin.Int128) (salt int64) {
github.com/gotd/td/internal/exchange
server_flow.go#L43: Nonce bin.Int128
github.com/gotd/td/internal/mt
tl_client_d_h_inner_data_gen.go#L37: Nonce bin.Int128
tl_client_d_h_inner_data_gen.go#L39: ServerNonce bin.Int128
tl_client_d_h_inner_data_gen.go#L61: if !(c.Nonce == bin.Int128{}) {
tl_client_d_h_inner_data_gen.go#L64: if !(c.ServerNonce == bin.Int128{}) {
tl_client_d_h_inner_data_gen.go#L198: func (c *ClientDHInnerData) GetNonce() (value bin.Int128) {
tl_client_d_h_inner_data_gen.go#L206: func (c *ClientDHInnerData) GetServerNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L43: Nonce bin.Int128
tl_p_q_inner_data_gen.go#L45: ServerNonce bin.Int128
tl_p_q_inner_data_gen.go#L79: if !(p.Nonce == bin.Int128{}) {
tl_p_q_inner_data_gen.go#L82: if !(p.ServerNonce == bin.Int128{}) {
tl_p_q_inner_data_gen.go#L261: func (p *PQInnerData) GetNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L269: func (p *PQInnerData) GetServerNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L293: Nonce bin.Int128
tl_p_q_inner_data_gen.go#L295: ServerNonce bin.Int128
tl_p_q_inner_data_gen.go#L331: if !(p.Nonce == bin.Int128{}) {
tl_p_q_inner_data_gen.go#L334: if !(p.ServerNonce == bin.Int128{}) {
tl_p_q_inner_data_gen.go#L528: func (p *PQInnerDataDC) GetNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L536: func (p *PQInnerDataDC) GetServerNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L568: Nonce bin.Int128
tl_p_q_inner_data_gen.go#L570: ServerNonce bin.Int128
tl_p_q_inner_data_gen.go#L608: if !(p.Nonce == bin.Int128{}) {
tl_p_q_inner_data_gen.go#L611: if !(p.ServerNonce == bin.Int128{}) {
tl_p_q_inner_data_gen.go#L820: func (p *PQInnerDataTempDC) GetNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L828: func (p *PQInnerDataTempDC) GetServerNonce() (value bin.Int128) {
tl_p_q_inner_data_gen.go#L901: GetNonce() (value bin.Int128)
tl_p_q_inner_data_gen.go#L903: GetServerNonce() (value bin.Int128)
tl_req_d_h_params_gen.go#L37: Nonce bin.Int128
tl_req_d_h_params_gen.go#L39: ServerNonce bin.Int128
tl_req_d_h_params_gen.go#L65: if !(r.Nonce == bin.Int128{}) {
tl_req_d_h_params_gen.go#L68: if !(r.ServerNonce == bin.Int128{}) {
tl_req_d_h_params_gen.go#L232: func (r *ReqDHParamsRequest) GetNonce() (value bin.Int128) {
tl_req_d_h_params_gen.go#L240: func (r *ReqDHParamsRequest) GetServerNonce() (value bin.Int128) {
tl_req_pq_gen.go#L37: Nonce bin.Int128
tl_req_pq_gen.go#L55: if !(r.Nonce == bin.Int128{}) {
tl_req_pq_gen.go#L147: func (r *ReqPqRequest) GetNonce() (value bin.Int128) {
tl_req_pq_multi_gen.go#L37: Nonce bin.Int128
tl_req_pq_multi_gen.go#L55: if !(r.Nonce == bin.Int128{}) {
tl_req_pq_multi_gen.go#L147: func (r *ReqPqMultiRequest) GetNonce() (value bin.Int128) {
tl_res_p_q_gen.go#L37: Nonce bin.Int128
tl_res_p_q_gen.go#L39: ServerNonce bin.Int128
tl_res_p_q_gen.go#L61: if !(r.Nonce == bin.Int128{}) {
tl_res_p_q_gen.go#L64: if !(r.ServerNonce == bin.Int128{}) {
tl_res_p_q_gen.go#L211: func (r *ResPQ) GetNonce() (value bin.Int128) {
tl_res_p_q_gen.go#L219: func (r *ResPQ) GetServerNonce() (value bin.Int128) {
tl_server_d_h_inner_data_gen.go#L37: Nonce bin.Int128
tl_server_d_h_inner_data_gen.go#L39: ServerNonce bin.Int128
tl_server_d_h_inner_data_gen.go#L65: if !(s.Nonce == bin.Int128{}) {
tl_server_d_h_inner_data_gen.go#L68: if !(s.ServerNonce == bin.Int128{}) {
tl_server_d_h_inner_data_gen.go#L232: func (s *ServerDHInnerData) GetNonce() (value bin.Int128) {
tl_server_d_h_inner_data_gen.go#L240: func (s *ServerDHInnerData) GetServerNonce() (value bin.Int128) {
tl_server_d_h_params_gen.go#L37: Nonce bin.Int128
tl_server_d_h_params_gen.go#L39: ServerNonce bin.Int128
tl_server_d_h_params_gen.go#L41: NewNonceHash bin.Int128
tl_server_d_h_params_gen.go#L64: if !(s.Nonce == bin.Int128{}) {
tl_server_d_h_params_gen.go#L67: if !(s.ServerNonce == bin.Int128{}) {
tl_server_d_h_params_gen.go#L70: if !(s.NewNonceHash == bin.Int128{}) {
tl_server_d_h_params_gen.go#L186: func (s *ServerDHParamsFail) GetNonce() (value bin.Int128) {
tl_server_d_h_params_gen.go#L194: func (s *ServerDHParamsFail) GetServerNonce() (value bin.Int128) {
tl_server_d_h_params_gen.go#L202: func (s *ServerDHParamsFail) GetNewNonceHash() (value bin.Int128) {
tl_server_d_h_params_gen.go#L212: Nonce bin.Int128
tl_server_d_h_params_gen.go#L214: ServerNonce bin.Int128
tl_server_d_h_params_gen.go#L239: if !(s.Nonce == bin.Int128{}) {
tl_server_d_h_params_gen.go#L242: if !(s.ServerNonce == bin.Int128{}) {
tl_server_d_h_params_gen.go#L361: func (s *ServerDHParamsOk) GetNonce() (value bin.Int128) {
tl_server_d_h_params_gen.go#L369: func (s *ServerDHParamsOk) GetServerNonce() (value bin.Int128) {
tl_server_d_h_params_gen.go#L419: GetNonce() (value bin.Int128)
tl_server_d_h_params_gen.go#L421: GetServerNonce() (value bin.Int128)
tl_set_client_d_h_params_answer_gen.go#L37: Nonce bin.Int128
tl_set_client_d_h_params_answer_gen.go#L39: ServerNonce bin.Int128
tl_set_client_d_h_params_answer_gen.go#L41: NewNonceHash1 bin.Int128
tl_set_client_d_h_params_answer_gen.go#L64: if !(d.Nonce == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L67: if !(d.ServerNonce == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L70: if !(d.NewNonceHash1 == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L186: func (d *DhGenOk) GetNonce() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L194: func (d *DhGenOk) GetServerNonce() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L202: func (d *DhGenOk) GetNewNonceHash1() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L212: Nonce bin.Int128
tl_set_client_d_h_params_answer_gen.go#L214: ServerNonce bin.Int128
tl_set_client_d_h_params_answer_gen.go#L216: NewNonceHash2 bin.Int128
tl_set_client_d_h_params_answer_gen.go#L239: if !(d.Nonce == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L242: if !(d.ServerNonce == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L245: if !(d.NewNonceHash2 == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L361: func (d *DhGenRetry) GetNonce() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L369: func (d *DhGenRetry) GetServerNonce() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L377: func (d *DhGenRetry) GetNewNonceHash2() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L387: Nonce bin.Int128
tl_set_client_d_h_params_answer_gen.go#L389: ServerNonce bin.Int128
tl_set_client_d_h_params_answer_gen.go#L391: NewNonceHash3 bin.Int128
tl_set_client_d_h_params_answer_gen.go#L414: if !(d.Nonce == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L417: if !(d.ServerNonce == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L420: if !(d.NewNonceHash3 == bin.Int128{}) {
tl_set_client_d_h_params_answer_gen.go#L536: func (d *DhGenFail) GetNonce() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L544: func (d *DhGenFail) GetServerNonce() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L552: func (d *DhGenFail) GetNewNonceHash3() (value bin.Int128) {
tl_set_client_d_h_params_answer_gen.go#L595: GetNonce() (value bin.Int128)
tl_set_client_d_h_params_answer_gen.go#L597: GetServerNonce() (value bin.Int128)
tl_set_client_d_h_params_gen.go#L37: Nonce bin.Int128
tl_set_client_d_h_params_gen.go#L39: ServerNonce bin.Int128
tl_set_client_d_h_params_gen.go#L59: if !(s.Nonce == bin.Int128{}) {
tl_set_client_d_h_params_gen.go#L62: if !(s.ServerNonce == bin.Int128{}) {
tl_set_client_d_h_params_gen.go#L181: func (s *SetClientDHParamsRequest) GetNonce() (value bin.Int128) {
tl_set_client_d_h_params_gen.go#L189: func (s *SetClientDHParamsRequest) GetServerNonce() (value bin.Int128) {
github.com/gotd/td/session/tdesktop
local_key.go#L52: var msgKey bin.Int128
local_key.go#L77: var msgKey bin.Int128
github.com/gotd/td/tdjson
decoder.go#L134: func (b Decoder) Int128() (bin.Int128, error) {
decoder.go#L139: return bin.Int128{}, err
decoder.go#L142: var result bin.Int128
decoder.go#L144: return bin.Int128{}, errors.Wrapf(err, "invalid length %d", l)
decoder.go#L148: return bin.Int128{}, err
encoder.go#L76: func (b Encoder) PutInt128(v bin.Int128) {
|
The pages are generated with Golds v0.6.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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |