MCPcopy Create free account

hub / github.com/3nsoft/ecma-nacl / functions

Functions458 in github.com/3nsoft/ecma-nacl

↓ 76 callersFunctiong
(a)
src/tests/ext-libs/js-scrypt.js:4
↓ 58 callersFunctionsquare
(r: fe25519, x: fe25519, arrFactory: Factory)
src/lib/signing/fe25519.ts:272
↓ 53 callersMethodrecycle
* This puts given arrays into the pool (note: it does not zero elements). * Use this function for those arrays that shall be reused, due to having
src/lib/util/arrays.ts:129
↓ 50 callersMethodgetUint32Array
* This either creates new, or gets a spare array from the pool. * Newly created array is not put into pool, because it is given to someone * for u
src/lib/util/arrays.ts:117
↓ 46 callersFunctionbytesEqual
( a: Uint8Array|Uint32Array, b: Uint8Array|Uint32Array )
src/tests/libs-for-tests/bytes-equal.ts:8
↓ 42 callersFunctionsquare
* Analog of square in crypto_scalarmult/curve25519/ref/smult.c * @param out is Uint32Array, 32 items long. * @param a is Uint32Array, 32 items long.
src/lib/boxes/scalarmult.ts:159
↓ 38 callersMethodwipeRecycled
* This wipes (sets to zeros) all arrays that are located in pools
src/lib/util/arrays.ts:134
↓ 37 callersMethodgetUint8Array
* This either creates new, or gets a spare array from the pool. * Newly created array is not put into pool, because it is given to someone * for u
src/lib/util/arrays.ts:107
↓ 37 callersFunctionmakeFactory
()
src/lib/util/arrays.ts:151
↓ 24 callersFunctiongetRandom
(numOfBytes: number)
src/tests/libs-for-tests/test-utils.ts:22
↓ 23 callersFunctionmul
( r: fe25519, x: fe25519, y: fe25519, arrFactory: Factory )
src/lib/signing/fe25519.ts:245
↓ 23 callersMethodopen
* @param c is a byte array with cipher, formatted with nonce. * @return decrypted bytes.
src/lib/boxes/secret_box.ts:219
↓ 22 callersFunctionmake_fe25519
(arrFactory: Factory)
src/lib/signing/fe25519.ts:20
↓ 21 callersFunctioncompareVectors
(x, y)
src/lib/ecma-nacl.ts:38
↓ 20 callersFunctionF
(a, b, c, d)
src/tests/ext-libs/js-scrypt.js:242
↓ 20 callersFunctionw
(a, b)
src/tests/ext-libs/js-scrypt.js:139
↓ 18 callersMethodpack
* This encrypts given bytes using internally held nonce, which is * advanced for every packing operation, ensuring that every call will * have a d
src/lib/boxes/secret_box.ts:195
↓ 17 callersFunctionmult
* Analog of mult in crypto_scalarmult/curve25519/ref/smult.c * @param out is Uint32Array, 32 items long. * @param a is Uint32Array, 32 items long.
src/lib/boxes/scalarmult.ts:108
↓ 17 callersMethodupdate
* This absorbs bytes as they stream in, hashing even blocks.
src/lib/hash/sha512.ts:404
↓ 16 callersFunctionF
* Analog of macro F in crypto_hashblocks/sha512/inplace/blocks.c
src/lib/hash/sha512.ts:197
↓ 16 callersFunctionM
* Analog of macro M in crypto_hashblocks/sha512/inplace/blocks.c
src/lib/hash/sha512.ts:161
↓ 16 callersMethodwipe
* This zeros all elements of given arrays, or given array views. * Use this function on things that needs secure cleanup, but should not be * recy
src/lib/util/arrays.ts:148
↓ 15 callersFunctionad
(a)
src/tests/ext-libs/js-scrypt.js:9428
↓ 15 callersFunctionasciiStrToUint8Array
(str: string)
src/tests/libs-for-tests/test-utils.ts:26
↓ 15 callersFunctionp1p1_to_p3
* Analog of p1p1_to_p3 in crypto_sign/ed25519/ref/ge25519.c
src/lib/signing/ge25519.ts:190
↓ 13 callersFunctiontransfer
(...arrs: Uint8Array[])
src/tests/node-worker-threads/nacl-in-worker.ts:34
↓ 12 callersFunctionbL
(a)
src/tests/ext-libs/js-scrypt.js:3278
↓ 12 callersFunctionc
(a)
src/tests/ext-libs/js-scrypt.js:981
↓ 12 callersFunctionwipe
(...arrays: (Uint8Array|Uint32Array)[])
src/lib/util/arrays.ts:243
↓ 11 callersFunctionaddInto
* This adds 64 bit integer from x into s.
src/lib/hash/sha512.ts:27
↓ 11 callersFunctionadd_p1p1
* Analog of add_p1p1 in crypto_sign/ed25519/ref/ge25519.c
src/lib/signing/ge25519.ts:240
↓ 10 callersFunctionROTRandXorInto
* Analog of macro ROTR in crypto_hashblocks/sha512/inplace/blocks.c
src/lib/hash/sha512.ts:76
↓ 9 callersFunctionS
()
src/tests/ext-libs/js-scrypt.js:566
↓ 9 callersFunctionbo
(b, c, d)
src/tests/ext-libs/js-scrypt.js:2056
↓ 9 callersFunctioncK
(b, d, e)
src/tests/ext-libs/js-scrypt.js:8500
↓ 8 callersFunctionJ
(a, b, c)
src/tests/ext-libs/js-scrypt.js:350
↓ 8 callersFunctionbz
(a, b, d)
src/tests/ext-libs/js-scrypt.js:2468
↓ 8 callersFunctioncN
(a, b, c, d)
src/tests/ext-libs/js-scrypt.js:8566
↓ 8 callersFunctioncO
(a, b, c, d)
src/tests/ext-libs/js-scrypt.js:8575
↓ 8 callersMethoddigest
* This method tells a hasher that there are no more bytes to hash, * and that a final hash should be produced. * This also forgets all of hasher's
src/lib/hash/sha512.ts:413
↓ 7 callersFunctionM
(a)
src/tests/ext-libs/js-scrypt.js:431
↓ 7 callersFunctionYc
()
src/tests/ext-libs/js-scrypt.js:9421
↓ 7 callersFunctionaa
()
src/tests/ext-libs/js-scrypt.js:8
↓ 7 callersFunctionbM
(a)
src/tests/ext-libs/js-scrypt.js:4928
↓ 7 callersFunctionblkcpy
* Analog of blkcpy in lib/crypto/crypto_scrypt-ref.c
src/lib/scrypt/scrypt.ts:19
↓ 7 callersFunctioncx
(a, b)
src/tests/ext-libs/js-scrypt.js:8141
↓ 7 callersFunctionequal
* Analog of equal in crypto_sign/ed25519/ref/ge25519.c
src/lib/signing/ge25519.ts:308
↓ 6 callersFunctionO
(a, b)
src/tests/ext-libs/js-scrypt.js:822
↓ 6 callersFunctionVa
(a)
src/tests/ext-libs/js-scrypt.js:321
↓ 6 callersFunctionac
(a)
src/tests/ext-libs/js-scrypt.js:851
↓ 6 callersFunctionb
()
src/tests/ext-libs/js-scrypt.js:10053
↓ 6 callersFunctioncS
(b)
src/tests/ext-libs/js-scrypt.js:8618
↓ 6 callersFunctioncalc_dhshared_key
( pk: Uint8Array, sk: Uint8Array, arrFactory?: Factory )
src/lib/boxes/box.ts:57
↓ 6 callersMethoddestroy
* This method securely wipes internal state, and drops resources, so that * memory can be GC-ed.
src/lib/hash/sha512.ts:419
↓ 6 callersFunctionloadLEU64
(x: Uint8Array, i: number)
src/lib/util/nonce.ts:44
↓ 6 callersFunctionzb
(a, b)
src/tests/ext-libs/js-scrypt.js:455
↓ 5 callersFunctionG
* Analog of macro G in crypto_hashblocks/sha512/inplace/blocks.c
src/lib/hash/sha512.ts:252
↓ 5 callersFunctionSHA256_Update
( ctx: SHA256_CTX, m: Uint8Array, mi: number, mlen: number )
src/lib/scrypt/sha256.ts:237
↓ 5 callersFunctionadd
* Analog of add in crypto_scalarmult/curve25519/ref/smult.c * @param out is Uint32Array, 32 items long. * @param a is Uint32Array, 32 items long. *
src/lib/boxes/scalarmult.ts:16
↓ 5 callersFunctionb9
(a, b)
src/tests/ext-libs/js-scrypt.js:6726
↓ 5 callersFunctioncA
(b, d)
src/tests/ext-libs/js-scrypt.js:8190
↓ 5 callersFunctioncL
(b, d, e)
src/tests/ext-libs/js-scrypt.js:8529
↓ 5 callersFunctioncrypto_hashblocks
* Analog of crypto_hashblocks in crypto_hashblocks/sha512/inplace/blocks.c
src/lib/hash/sha512.ts:274
↓ 5 callersFunctiondbl_p1p1
* Analog of dbl_p1p1 in crypto_sign/ed25519/ref/ge25519.c * See http://www.hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html#doubling-dbl-2008-h
src/lib/signing/ge25519.ts:271
↓ 5 callersFunctionitAsync
( expectation: string, assertion?: () => Promise<void>, timeout?: number, setup?: { isUp: boolean; } )
src/tests/libs-for-tests/async-jasmine.ts:8
↓ 5 callersFunctionmake_copy_fe25519
(x: fe25519, arrFactory: Factory)
src/lib/signing/fe25519.ts:24
↓ 5 callersFunctionwa
(a)
src/tests/ext-libs/js-scrypt.js:10123
↓ 4 callersFunctionAb
(a, b, c)
src/tests/ext-libs/js-scrypt.js:459
↓ 4 callersFunctionBb
(a, b)
src/tests/ext-libs/js-scrypt.js:462
↓ 4 callersFunctionDb
(a, b)
src/tests/ext-libs/js-scrypt.js:474
↓ 4 callersFunctionEXPAND
* Analog of macro EXPAND in crypto_hashblocks/sha512/inplace/blocks.c
src/lib/hash/sha512.ts:175
↓ 4 callersFunctionGb
(a, b)
src/tests/ext-libs/js-scrypt.js:861
↓ 4 callersFunctionSb
(a, b)
src/tests/ext-libs/js-scrypt.js:793
↓ 4 callersFunctionbS
(a)
src/tests/ext-libs/js-scrypt.js:5678
↓ 4 callersFunctioncX
(a, b, c, d)
src/tests/ext-libs/js-scrypt.js:8692
↓ 4 callersFunctionc_
(a, b, d, e, f)
src/tests/ext-libs/js-scrypt.js:8726
↓ 4 callersFunctioncallbackWithTimeout
( action: () => Promise<void>, throwIfErr: boolean, timeout: number|undefined, actionType: string )
src/tests/libs-for-tests/async-jasmine.ts:105
↓ 4 callersFunctionci
(a)
src/tests/ext-libs/js-scrypt.js:7308
↓ 4 callersFunctioncmov_aff
* Analog of add_p1p1 in crypto_sign/ed25519/ref/ge25519.c * Constant-time version of: if(b) r = p
src/lib/signing/ge25519.ts:300
↓ 4 callersFunctioncrypto_hashblocks
* Analog of SHA256_Transform in lib/crypto/sha256.h * with all C macros expanded.
src/lib/scrypt/sha256.ts:39
↓ 4 callersFunctione
(a, b)
src/tests/ext-libs/js-scrypt.js:155
↓ 4 callersFunctionf
()
src/tests/ext-libs/js-scrypt.js:1647
↓ 4 callersFunctionfe25519_freeze
* Analog of fe25519_freeze in crypto_sign/ed25519/ref/fe25519.c * reduction modulo 2^255-19
src/lib/signing/fe25519.ts:104
↓ 4 callersFunctionprogressCB
(n: number)
src/tests/node-worker-threads/nacl-in-worker.ts:168
↓ 4 callersFunctionsub
* Analog of sub in crypto_scalarmult/curve25519/ref/smult.c * @param out is Uint32Array, 32 items long. * @param a is Uint32Array, 32 items long. *
src/lib/boxes/scalarmult.ts:35
↓ 4 callersFunctionvb
(a, b, c)
src/tests/ext-libs/js-scrypt.js:445
↓ 3 callersFunctionHMAC_SHA256_Update
* Analog of HMAC_SHA256_Update in lib/crypto/sha256.c * Add bytes to the HMAC-SHA256 operation.
src/lib/scrypt/sha256.ts:368
↓ 3 callersFunctionIb
(a, b, c, d, e)
src/tests/ext-libs/js-scrypt.js:531
↓ 3 callersFunctionIc
(a)
src/tests/ext-libs/js-scrypt.js:1462
↓ 3 callersFunctionJb
(a, b)
src/tests/ext-libs/js-scrypt.js:546
↓ 3 callersFunctionSHA256_Final
(h: Uint8Array, ctx: SHA256_CTX)
src/lib/scrypt/sha256.ts:266
↓ 3 callersFunctionSHA256_Init
(ctx: SHA256_CTX)
src/lib/scrypt/sha256.ts:231
↓ 3 callersFunctionadd
* Analog of add in crypto_onetimeauth/poly1305/ref/auth.c * @param h is array of 17 uint32's. * @param c is array of 17 uint32's.
src/lib/boxes/onetimeauth.ts:16
↓ 3 callersFunctionbD
(a, b)
src/tests/ext-libs/js-scrypt.js:3092
↓ 3 callersFunctionbH
(a, b, c)
src/tests/ext-libs/js-scrypt.js:3182
↓ 3 callersFunctionbQ
(a, b)
src/tests/ext-libs/js-scrypt.js:5573
↓ 3 callersFunctionbarrett_reduce
* Analog of barrett_reduce in crypto_sign/ed25519/ref/sc25519.c * Reduce coefficients of x before calling barrett_reduce
src/lib/signing/sc25519.ts:87
↓ 3 callersFunctionbt
(a)
src/tests/ext-libs/js-scrypt.js:2112
↓ 3 callersFunctioncM
(b)
src/tests/ext-libs/js-scrypt.js:8557
↓ 3 callersFunctioncallbackFor
( assertion: () => Promise<void>, setup: { isUp: boolean; }|undefined )
src/tests/libs-for-tests/async-jasmine.ts:19
next →1–100 of 458, ranked by callers