/dports/java/bouncycastle15/crypto-169/core/src/test/java/org/bouncycastle/math/ec/rfc8032/test/ |
H A D | Ed25519Test.java | 7 import org.bouncycastle.math.ec.rfc8032.Ed25519; 22 Ed25519.precompute(); in setUp() 28 byte[] sk = new byte[Ed25519.SECRET_KEY_SIZE]; in testEd25519Consistency() 29 byte[] pk = new byte[Ed25519.PUBLIC_KEY_SIZE]; in testEd25519Consistency() 31 byte[] sig1 = new byte[Ed25519.SIGNATURE_SIZE]; in testEd25519Consistency() 32 byte[] sig2 = new byte[Ed25519.SIGNATURE_SIZE]; in testEd25519Consistency() 39 Ed25519.generatePublicKey(sk, 0, pk, 0); in testEd25519Consistency() 43 Ed25519.sign(sk, 0, m, 0, mLen, sig1, 0); in testEd25519Consistency() 75 Ed25519.generatePublicKey(sk, 0, pk, 0); in testEd25519ctxConsistency() 102 byte[] ph = new byte[Ed25519.PREHASH_SIZE]; in testEd25519phConsistency() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ukey2/src/src/main/javatest/com/google/security/cryptauth/lib/securegcm/ |
H A D | Ed25519Test.java | 87 Ed25519.validateAffinePoint(KM); in testValidPoints() 88 Ed25519.validateAffinePoint(KN); in testValidPoints() 128 BigInteger[] km1 = Ed25519.toAffine(Ed25519.toExtended(KM)); in testAffineExtendedConversion() 129 BigInteger[] kn1 = Ed25519.toAffine(Ed25519.toExtended(KN)); in testAffineExtendedConversion() 134 assertArrayEquals(ID, Ed25519.toAffine(ID_EX)); in testAffineExtendedConversion() 135 assertArrayEquals(ID_EX, Ed25519.toExtended(ID)); in testAffineExtendedConversion() 139 Ed25519.checkPointIsInAffineRepresentation(KM); in testRepresentationCheck() 143 Ed25519.checkPointIsInExtendedRepresentation(KM); in testRepresentationCheck() 150 Ed25519.checkPointIsInAffineRepresentation(Ed25519.toExtended(KM)); in testRepresentationCheck() 171 assertArrayEquals(KM, Ed25519.subtractAffinePoints(Ed25519.addAffinePoints(KM, KN), KN)); in testAddSubtractExtendedPoints() [all …]
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libpijul-1.0.0-alpha.49/src/pristine/ |
H A D | merkle.rs | 20 Ed25519 = 1, enumerator 31 Merkle::Ed25519(ED25519_BASEPOINT_POINT) in zero() 35 Merkle::Ed25519(ref h0) => { in next() 42 Merkle::Ed25519(h0 * scalar) in next() 56 Merkle::Ed25519(ref s) => { in to_base32() 75 .map(Merkle::Ed25519) in from_base32() 99 Merkle::Ed25519(q) => { in eq() 119 Merkle::Ed25519(q) => { in from() 134 Merkle::Ed25519(q) => { in from() 148 Merkle::Ed25519( in from() [all …]
|
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/params/ |
H A D | Ed25519PrivateKeyParameters.java | 8 import org.bouncycastle.math.ec.rfc8032.Ed25519; 15 public static final int KEY_SIZE = Ed25519.SECRET_KEY_SIZE; 16 public static final int SIGNATURE_SIZE = Ed25519.SIGNATURE_SIZE; 26 Ed25519.generatePrivateKey(random, data); in Ed25519PrivateKeyParameters() 67 byte[] publicKey = new byte[Ed25519.PUBLIC_KEY_SIZE]; in generatePublicKey() 68 Ed25519.generatePublicKey(data, 0, publicKey, 0); in generatePublicKey() 88 byte[] pk = new byte[Ed25519.PUBLIC_KEY_SIZE]; in sign() 93 case Ed25519.Algorithm.Ed25519: in sign() 103 case Ed25519.Algorithm.Ed25519ctx: in sign() 108 case Ed25519.Algorithm.Ed25519ph: in sign() [all …]
|
/dports/devel/stack/stack-2.7.3/_cabal_deps/cryptonite-0.29/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/cryptonite-0.26/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest (i, vec) = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest (i, vec) = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/cryptonite-0.28/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/devel/hs-darcs/darcs-2.16.4/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/cryptonite-0.26/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest (i, vec) = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest (i, vec) = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/lang/elm/compiler-0.19.1/_cabal_deps/cryptonite-0.26/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest (i, vec) = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest (i, vec) = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/cryptonite-0.29/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/cryptonite-0.28/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/cryptonite-0.28/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/cryptonite-0.29/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/cryptonite-0.28/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/www/hs-DAV/DAV-1.3.4/_cabal_deps/cryptonite-0.27/tests/ |
H A D | KAT_Ed25519.hs | 6 import qualified Crypto.PubKey.Ed25519 as Ed25519 50 doPublicKeyTest i vec = testCase (show i) (pub @=? Ed25519.toPublic sec) 52 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 53 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 55 doSignatureTest i vec = testCase (show i) (sig @=? Ed25519.sign sec pub (vecMsg vec)) 57 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 58 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) 59 !sec = throwCryptoError $ Ed25519.secretKey (vecSec vec) 63 !sig = throwCryptoError $ Ed25519.signature (vecSig vec) 64 !pub = throwCryptoError $ Ed25519.publicKey (vecPub vec) [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/vendor/github.com/docker/notary/tuf/signed/ |
H A D | ed25519.go | 18 type Ed25519 struct { struct 24 func NewEd25519() *Ed25519 { 25 return &Ed25519{ 31 func (e *Ed25519) AddKey(role, gun string, k data.PrivateKey) error { argument 37 func (e *Ed25519) addKey(role string, k data.PrivateKey) { argument 45 func (e *Ed25519) RemoveKey(keyID string) error { argument 51 func (e *Ed25519) ListKeys(role string) []string { argument 62 func (e *Ed25519) ListAllKeys() map[string]string { argument 71 func (e *Ed25519) Create(role, gun, algorithm string) (data.PublicKey, error) { argument 98 func (e *Ed25519) GetKey(keyID string) data.PublicKey { argument [all …]
|
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/lib/Crypt/Perl/Ed25519/ |
H A D | PrivateKey.pm | 1 package Crypt::Perl::Ed25519::PrivateKey; 52 use Crypt::Perl::Ed25519::Math; 120 require Crypt::Perl::Ed25519::PublicKey; 130 my @p = map { [ Crypt::Perl::Ed25519::Math::gf0() ] } 1 .. 4; 139 Crypt::Perl::Ed25519::Math::reduce(\@r); 140 Crypt::Perl::Ed25519::Math::scalarbase( \@p, \@r ); 141 @sm[ 0 .. 31 ] = @{ Crypt::Perl::Ed25519::Math::pack(\@p) }; 146 Crypt::Perl::Ed25519::Math::reduce( \@h ); 158 Crypt::Perl::Ed25519::Math::modL( \@latter_sm, \@x ); 188 Crypt::Perl::Ed25519::Math::scalarbase($p, $digest_ar); [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/cli/cli-20.10.2/vendor/github.com/theupdateframework/notary/tuf/signed/ |
H A D | ed25519.go | 18 type Ed25519 struct { struct 24 func NewEd25519() *Ed25519 { 25 return &Ed25519{ 31 func (e *Ed25519) AddKey(role data.RoleName, gun data.GUN, k data.PrivateKey) error { argument 37 func (e *Ed25519) addKey(role data.RoleName, k data.PrivateKey) { argument 45 func (e *Ed25519) RemoveKey(keyID string) error { argument 51 func (e *Ed25519) ListKeys(role data.RoleName) []string { argument 62 func (e *Ed25519) ListAllKeys() map[string]data.RoleName { argument 87 func (e *Ed25519) PublicKeys(keyIDs ...string) (map[string]data.PublicKey, error) { argument 98 func (e *Ed25519) GetKey(keyID string) data.PublicKey { argument [all …]
|
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/vendor/github.com/theupdateframework/notary/tuf/signed/ |
H A D | ed25519.go | 18 type Ed25519 struct { struct 24 func NewEd25519() *Ed25519 { 25 return &Ed25519{ 31 func (e *Ed25519) AddKey(role data.RoleName, gun data.GUN, k data.PrivateKey) error { argument 37 func (e *Ed25519) addKey(role data.RoleName, k data.PrivateKey) { argument 45 func (e *Ed25519) RemoveKey(keyID string) error { argument 51 func (e *Ed25519) ListKeys(role data.RoleName) []string { argument 62 func (e *Ed25519) ListAllKeys() map[string]data.RoleName { argument 87 func (e *Ed25519) PublicKeys(keyIDs ...string) (map[string]data.PublicKey, error) { argument 98 func (e *Ed25519) GetKey(keyID string) data.PublicKey { argument [all …]
|