type github.com/gotd/td/bin.Int256
36 uses
github.com/gotd/td/bin (current package)
decode.go#L201: func (b *Buffer) Int256() (Int256, error) {
decode.go#L202: v := Int256{}
decode.go#L205: return Int256{}, io.ErrUnexpectedEOF
encode.go#L100: func (b *Buffer) PutInt256(v Int256) {
int256.go#L6: type Int256 [32]byte
int256.go#L9: func (i *Int256) Decode(buf *Buffer) error {
int256.go#L19: func (i Int256) Encode(b *Buffer) error {
int256.go#L25: func (i Int256) BigInt() *big.Int {
github.com/gotd/td/internal/crypto
exchange.go#L60: func NonceHash1(newNonce bin.Int256, key Key) (r bin.Int128) {
keys.go#L82: func aesKey(sha256a, sha256b []byte, v *bin.Int256) {
keys.go#L91: func aesIV(sha256a, sha256b []byte, v *bin.Int256) {
keys.go#L108: func Keys(authKey Key, msgKey bin.Int128, mode Side) (key, iv bin.Int256) {
keys_old.go#L72: func OldKeys(authKey Key, msgKey bin.Int128, mode Side) (key, iv bin.Int256) {
keys_old.go#L75: aesKey := func(sha1a, sha1b, sha1c []byte) (v bin.Int256) {
keys_old.go#L82: aesIV := func(sha1a, sha1b, sha1c, sha1d []byte) (v bin.Int256) {
rand.go#L46: func RandInt256(randSource io.Reader) (bin.Int256, error) {
rand.go#L49: return bin.Int256{}, err
rsa_pad.go#L85: var zeroIV bin.Int256
rsa_pad.go#L144: var zeroIV bin.Int256
salt.go#L12: func ServerSalt(newNonce bin.Int256, serverNonce bin.Int128) (salt int64) {
github.com/gotd/td/internal/mt
tl_p_q_inner_data_gen.go#L47: NewNonce bin.Int256
tl_p_q_inner_data_gen.go#L85: if !(p.NewNonce == bin.Int256{}) {
tl_p_q_inner_data_gen.go#L277: func (p *PQInnerData) GetNewNonce() (value bin.Int256) {
tl_p_q_inner_data_gen.go#L297: NewNonce bin.Int256
tl_p_q_inner_data_gen.go#L337: if !(p.NewNonce == bin.Int256{}) {
tl_p_q_inner_data_gen.go#L544: func (p *PQInnerDataDC) GetNewNonce() (value bin.Int256) {
tl_p_q_inner_data_gen.go#L572: NewNonce bin.Int256
tl_p_q_inner_data_gen.go#L614: if !(p.NewNonce == bin.Int256{}) {
tl_p_q_inner_data_gen.go#L836: func (p *PQInnerDataTempDC) GetNewNonce() (value bin.Int256) {
tl_p_q_inner_data_gen.go#L905: GetNewNonce() (value bin.Int256)
github.com/gotd/td/tdjson
decoder.go#L155: func (b Decoder) Int256() (bin.Int256, error) {
decoder.go#L160: return bin.Int256{}, err
decoder.go#L163: var result bin.Int256
decoder.go#L165: return bin.Int256{}, errors.Wrapf(err, "invalid length %d", l)
decoder.go#L169: return bin.Int256{}, err
encoder.go#L83: func (b Encoder) PutInt256(v bin.Int256) {
|
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. |