Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
crypto /
elliptic /
[ HOME SHELL ]
Name
Size
Permission
Action
elliptic.go
12.21
KB
-rw-r--r--
elliptic_test.go
18.51
KB
-rw-r--r--
fuzz_test.go
1.2
KB
-rw-r--r--
p224.go
20.38
KB
-rw-r--r--
p224_test.go
993
B
-rw-r--r--
p256.go
39.95
KB
-rw-r--r--
p256_asm.go
16.09
KB
-rw-r--r--
p256_asm_amd64.s
39.56
KB
-rw-r--r--
p256_asm_arm64.s
29.44
KB
-rw-r--r--
p256_asm_ppc64le.s
62.58
KB
-rw-r--r--
p256_asm_s390x.s
63.43
KB
-rw-r--r--
p256_generic.go
330
B
-rw-r--r--
p256_ppc64le.go
13.02
KB
-rw-r--r--
p256_s390x.go
14.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : p224_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package elliptic import ( "math/big" "testing" ) var toFromBigTests = []string{ "0", "1", "23", "b70e0cb46bb4bf7f321390b94a03c1d356c01122343280d6105c1d21", "706a46d476dcb76798e6046d89474788d164c18032d268fd10704fa6", } func p224AlternativeToBig(in *p224FieldElement) *big.Int { ret := new(big.Int) tmp := new(big.Int) for i := uint(0); i < 8; i++ { tmp.SetInt64(int64(in[i])) tmp.Lsh(tmp, 28*i) ret.Add(ret, tmp) } ret.Mod(ret, p224.P) return ret } func TestToFromBig(t *testing.T) { for i, test := range toFromBigTests { n, _ := new(big.Int).SetString(test, 16) var x p224FieldElement p224FromBig(&x, n) m := p224ToBig(&x) if n.Cmp(m) != 0 { t.Errorf("#%d: %x != %x", i, n, m) } q := p224AlternativeToBig(&x) if n.Cmp(q) != 0 { t.Errorf("#%d: %x != %x (alternative)", i, n, m) } } }
Close