MCPcopy Index your code

hub / github.com/RubyCrypto/ed25519 / functions

Functions276 in github.com/RubyCrypto/ed25519

↓ 75 callersMethodmultiply
(FieldElement val)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:63
↓ 57 callersFunctionfe_mul
ext/ed25519_ref10/fe.c:333
↓ 51 callersFunctionfe_sq
ext/ed25519_ref10/fe.c:623
↓ 47 callersMethodsquare
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:65
↓ 37 callersMethodload_3
(byte[] in, int offset)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java:168
↓ 33 callersMethodload_4
(byte[] in, int offset)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java:175
↓ 24 callersFunctionload_bigendian
ext/ed25519_ref10/sha512.c:72
↓ 22 callersMethodsubtract
(FieldElement val)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:51
↓ 21 callersFunctionfe_add
ext/ed25519_ref10/fe.c:52
↓ 18 callersFunctionfe_sub
ext/ed25519_ref10/fe.c:925
↓ 18 callersFunctionload_3
ext/ed25519_ref10/sc_muladd.c:3
↓ 18 callersFunctionload_4
ext/ed25519_ref10/sc_muladd.c:12
↓ 17 callersMethodadd
(FieldElement val)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:45
↓ 15 callersFunctionge_p1p1_to_p3
ext/ed25519_ref10/ge.c:192
↓ 15 callersMethodgetField
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Curve.java:46
↓ 15 callersMethodgetParams
@return a parameter specification representing the EdDSA domain parameters for the key.
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAKey.java:30
↓ 14 callersMethodgetb
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:67
↓ 13 callersMethodadd
GroupElement addition using the twisted Edwards addition law with extended coordinates (Hisil2008). <p> this must be in $P^3$ representation and $q$ i
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:668
↓ 13 callersFunctionload_4
ext/ed25519_ref10/sc_reduce.c:12
↓ 12 callersMethodtoP3
Converts the group element to the P3 representation. @return The group element in the P3 representation.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:375
↓ 11 callersFunctionload_3
ext/ed25519_ref10/sc_reduce.c:3
↓ 11 callersMethodtoByteArray
Encode a FieldElement in its $(b-1)$-bit encoding. @return the $(b-1)$-bit encoding of this FieldElement.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:35
↓ 10 callersMethodequal
Constant-time byte comparison. @param b a byte @param c a byte @return 1 if b and c are equal, 0 otherwise.
ext/ed25519_jruby/net/i2p/crypto/eddsa/Utils.java:28
↓ 10 callersMethodfromByteArray
(byte[] x)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:63
↓ 10 callersMethodgetHashAlgorithm
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java:64
↓ 10 callersMethodhexToBytes
Converts a hex string to bytes. @param s the hex string to be converted. @return the byte[]
ext/ed25519_jruby/net/i2p/crypto/eddsa/Utils.java:76
↓ 9 callersFunctioncmov
ext/ed25519_ref10/ge.c:301
↓ 9 callersMethodcmov
Constant-time conditional move. <p> Replaces this with $u$ if $b == 1$.<br> Replaces this with this if $b == 0$. <p> Method is package private only so
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:822
↓ 9 callersMethodgetQ
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:71
↓ 8 callersFunctionequal
ext/ed25519_ref10/ge.c:283
↓ 8 callersFunctionge_add
ext/ed25519_ref10/ge.c:7
↓ 8 callersFunctionge_p3_to_cached
ext/ed25519_ref10/ge.c:244
↓ 8 callersMethodgetByName
(String name)
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSANamedCurveTable.java:68
↓ 8 callersFunctionload_3
ext/ed25519_ref10/fe.c:186
↓ 8 callersMethodmod
(FieldElement m)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:91
↓ 8 callersFunctionstore_bigendian
ext/ed25519_ref10/sha512.c:86
↓ 7 callersFunctionfe_1
ext/ed25519_ref10/fe.c:26
↓ 7 callersMethodgetCurve
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java:60
↓ 7 callersMethodtoP2
Converts the group element to the P2 representation. @return The group element in the P2 representation.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:366
↓ 6 callersFunctionfe_copy
ext/ed25519_ref10/fe.c:162
↓ 6 callersMethodp1p1
Creates a new group element in P1P1 representation. @param curve The curve. @param X The $X$ coordinate. @param Y The $Y$ coordinate. @param Z The $Z
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:106
↓ 6 callersMethodprecomp
Creates a new group element in PRECOMP representation. @param curve The curve. @param ypx The $y + x$ value. @param ymx The $y - x$ value. @param xy2
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:124
↓ 6 callersMethodverify
Verify an Ed25519 signature against the message @param signature [String] 64-byte string containing an Ed25519 signature @param message [String] stri
lib/ed25519/verify_key.rb:22
↓ 5 callersMethodcreate_keypair
(ThreadContext context, IRubyObject self, IRubyObject seed)
ext/ed25519_jruby/org/cryptorb/Ed25519Provider.java:32
↓ 5 callersFunctioncrypto_hash_sha512
ext/ed25519_ref10/sha512.c:24
↓ 5 callersMethoddbl
Doubles a given group element $p$ in $P^2$ or $P^3$ representation and returns the result in $P \times P$ representation. $r = 2 p$ where $p = (X : Y
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:534
↓ 5 callersFunctionge_p2_dbl
ext/ed25519_ref10/ge.c:211
↓ 5 callersMethodgetB
@return the base (generator)
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java:75
↓ 5 callersMethodgetParams
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:282
↓ 5 callersMethodinvert
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:69
↓ 5 callersMethodtoBigInteger
Convert in to big endian @param in the $(b-1)$-bit encoding of a FieldElement. @return the decoded value as a BigInteger
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerLittleEndianEncoding.java:83
↓ 5 callersMethodtoCached
Converts the group element to the CACHED representation. @return The group element in the CACHED representation.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:384
↓ 4 callersFunctionfe_0
ext/ed25519_ref10/fe.c:8
↓ 4 callersFunctionfe_tobytes
ext/ed25519_ref10/fe.c:994
↓ 4 callersFunctionge_p1p1_to_p2
ext/ed25519_ref10/ge.c:181
↓ 4 callersMethodgetCurve
Gets the curve of the group element. @return The curve.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:288
↓ 4 callersMethodgetZero
(GroupElement.Representation repr)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Curve.java:62
↓ 4 callersMethodmadd
GroupElement addition using the twisted Edwards addition law with extended coordinates (Hisil2008). <p> this must be in $P^3$ representation and $q$ i
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:597
↓ 4 callersMethodp2
Creates a new group element in P2 representation. @param curve The curve. @param X The $X$ coordinate. @param Y The $Y$ coordinate. @param Z The $Z$
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:69
↓ 4 callersMethodreset
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:107
↓ 4 callersMethodsign
Sign the given message, returning an Ed25519 signature @param message [String] message to be signed @return [String] 64-byte Ed25519 signature
lib/ed25519/signing_key.rb:43
↓ 4 callersMethodtoRep
Convert a GroupElement from one Representation to another. TODO-CR: Add additional conversion? $r = p$ <p> Supported conversions: <p><ul> <li>P3 $\rig
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:403
↓ 3 callersMethodequals
(Object o)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Curve.java:89
↓ 3 callersFunctionfe_cmov
ext/ed25519_ref10/fe.c:103
↓ 3 callersFunctionfe_isnegative
ext/ed25519_ref10/fe.c:277
↓ 3 callersFunctionge_madd
ext/ed25519_ref10/ge.c:161
↓ 3 callersMethodget2D
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Curve.java:54
↓ 3 callersMethodgetA
@return the public key
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:312
↓ 3 callersMethodgetAbyte
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPublicKey.java:256
↓ 3 callersMethodgetAlgorithm
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPublicKey.java:65
↓ 3 callersMethodgetD
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Curve.java:50
↓ 3 callersMethodgetH
@return the hash of the seed
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:298
↓ 3 callersMethodgetSeed
@return will be null if constructed from a spec which was directly constructed from H
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:291
↓ 3 callersMethodgeta
@return the private key
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:305
↓ 3 callersMethodmultiply
$h = f g$ <p> Can overlap $h$ with $f$ or $g$. <p> Preconditions: </p><ul> <li>$|f|$ bounded by $1.65 2^{26},1.65 2^{25},1.65 2^{26},1.65 2^{25},$ etc
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:177
↓ 3 callersMethodnegate
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/FieldElement.java:57
↓ 3 callersMethodp3
Creates a new group element in P3 representation. @param curve The curve. @param X The $X$ coordinate. @param Y The $Y$ coordinate. @param Z The $Z$
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:87
↓ 3 callersMethodprecompute
Precomputes several tables. <p> The precomputed tables are used for {@link #scalarMultiply(byte[])} and {@link #doubleScalarMultiplyVariableTime(Group
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:461
↓ 3 callersMethodreduce
Reduce the given scalar mod $l$. <p> From the Ed25519 paper:<br> Here we interpret $2b$-bit strings in little-endian form as integers in $\{0, 1,...,
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ScalarOps.java:24
↓ 3 callersFunctionsc_reduce
ext/ed25519_ref10/sc_reduce.c:32
↓ 3 callersMethodscalarMultiply
$h = a B$ where $a = a[0]+256 a[1]+\dots+256^{31} a[31]$ and $B$ is this point. If its lookup table has not been precomputed, it will be at the start
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:873
↓ 3 callersMethodsubtract
(FieldElement val)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:50
↓ 3 callersMethodtoByteArray
Converts the group element to an encoded point on the curve. @return The encoded point as byte array.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:346
↓ 3 callersMethodto_bytes
Return a compressed twisted Edwards coordinate representing the public key @return [String] bytestring serialization of this public key
lib/ed25519/verify_key.rb:35
↓ 2 callersMethodadd
(FieldElement val)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:41
↓ 2 callersMethodcached
Creates a new group element in CACHED representation. @param curve The curve. @param YpX The $Y + X$ value. @param YmX The $Y - X$ value. @param Z Th
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:142
↓ 2 callersFunctioncrypto_verify_32
ext/ed25519_ref10/verify.c:3
↓ 2 callersMethoddigestInitSign
(EdDSAPrivateKey privKey)
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:138
↓ 2 callersMethodencode
(FieldElement x)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerLittleEndianEncoding.java:34
↓ 2 callersFunctionfe_invert
ext/ed25519_ref10/fe.c:256
↓ 2 callersFunctionfe_isnonzero
ext/ed25519_ref10/fe.c:294
↓ 2 callersFunctionfe_neg
ext/ed25519_ref10/fe.c:562
↓ 2 callersMethodfrom_keypair
Create a SigningKey from a 64-byte Ed25519 keypair (i.e. public + private) @param keypair [String] 64-byte keypair value containing both seed + publi
lib/ed25519/signing_key.rb:18
↓ 2 callersFunctionge_p3_dbl
ext/ed25519_ref10/ge.c:229
↓ 2 callersFunctionge_p3_tobytes
ext/ed25519_ref10/ge.c:263
↓ 2 callersFunctionge_scalarmult_base
ext/ed25519_ref10/ge.c:343
↓ 2 callersMethodgenerate
Generate a random Ed25519 signing key (i.e. private scalar)
lib/ed25519/signing_key.rb:11
↓ 2 callersMethodgetA
@return the public key
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java:126
↓ 2 callersMethodgetEncoded
Returns the public key in its canonical encoding. <p> This implements the following specs: <ul><li> General encoding: https://tools.ietf.org/html/draf
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPublicKey.java:114
↓ 2 callersMethodgetEncoding
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:83
next →1–100 of 276, ranked by callers