|
abstract fun _sodium_alloc_init(): Int |
|
abstract fun _sodium_runtime_get_cpu_features(): Int |
|
abstract fun buf(buf: ByteArray!, size: Long): Unit |
|
abstract fun close(): Int |
|
abstract fun crypto_aead_aes256gcm_abytes(): Long |
|
abstract fun crypto_aead_aes256gcm_beforenm(ctx_: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: Pointer!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_decrypt_afternm(m: ByteArray!, mlen_p: LongLongByReference!, nsec: Pointer!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: Pointer!, ctx_: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_decrypt_detached(m: ByteArray!, nsec: Pointer!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_decrypt_detached_afternm(m: ByteArray!, nsec: Pointer!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: Pointer!, ctx_: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_encrypt_afternm(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, ctx_: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_encrypt_detached_afternm(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: Pointer!, npub: Pointer!, ctx_: Pointer!): Int |
|
abstract fun crypto_aead_aes256gcm_is_available(): Int |
|
abstract fun crypto_aead_aes256gcm_keybytes(): Long |
|
abstract fun crypto_aead_aes256gcm_keygen(k: Pointer!): Unit |
|
abstract fun crypto_aead_aes256gcm_messagebytes_max(): Long |
|
abstract fun crypto_aead_aes256gcm_npubbytes(): Long |
|
abstract fun crypto_aead_aes256gcm_nsecbytes(): Long |
|
abstract fun crypto_aead_aes256gcm_statebytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_abytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: ByteArray!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_decrypt_detached(m: ByteArray!, nsec: ByteArray!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_ietf_abytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_ietf_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: ByteArray!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_ietf_decrypt_detached(m: ByteArray!, nsec: ByteArray!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_ietf_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_ietf_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_aead_chacha20poly1305_ietf_keybytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_ietf_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_aead_chacha20poly1305_ietf_messagebytes_max(): Long |
|
abstract fun crypto_aead_chacha20poly1305_ietf_npubbytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_ietf_nsecbytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_keybytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_aead_chacha20poly1305_messagebytes_max(): Long |
|
abstract fun crypto_aead_chacha20poly1305_npubbytes(): Long |
|
abstract fun crypto_aead_chacha20poly1305_nsecbytes(): Long |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_abytes(): Long |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_decrypt(m: ByteArray!, mlen_p: LongLongByReference!, nsec: ByteArray!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_decrypt_detached(m: ByteArray!, nsec: ByteArray!, c: ByteArray!, clen: Long, mac: ByteArray!, ad: ByteArray!, adlen: Long, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_encrypt(c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_encrypt_detached(c: ByteArray!, mac: ByteArray!, maclen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, nsec: ByteArray!, npub: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_keybytes(): Long |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_keygen(k: Pointer!): Unit |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_messagebytes_max(): Long |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_npubbytes(): Long |
|
abstract fun crypto_aead_xchacha20poly1305_ietf_nsecbytes(): Long |
|
abstract fun crypto_auth(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_bytes(): Long |
|
abstract fun crypto_auth_hmacsha256(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_hmacsha256_bytes(): Long |
|
abstract fun crypto_auth_hmacsha256_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_auth_hmacsha256_init(state: Pointer!, key: ByteArray!, keylen: Long): Int |
|
abstract fun crypto_auth_hmacsha256_keybytes(): Long |
|
abstract fun crypto_auth_hmacsha256_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_auth_hmacsha256_statebytes(): Long |
|
abstract fun crypto_auth_hmacsha256_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_auth_hmacsha256_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_hmacsha512(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_hmacsha512256(out: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_hmacsha512256_bytes(): Long |
|
abstract fun crypto_auth_hmacsha512256_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_auth_hmacsha512256_init(state: Pointer!, key: ByteArray!, keylen: Long): Int |
|
abstract fun crypto_auth_hmacsha512256_keybytes(): Long |
|
abstract fun crypto_auth_hmacsha512256_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_auth_hmacsha512256_statebytes(): Long |
|
abstract fun crypto_auth_hmacsha512256_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_auth_hmacsha512256_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_hmacsha512_bytes(): Long |
|
abstract fun crypto_auth_hmacsha512_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_auth_hmacsha512_init(state: Pointer!, key: ByteArray!, keylen: Long): Int |
|
abstract fun crypto_auth_hmacsha512_keybytes(): Long |
|
abstract fun crypto_auth_hmacsha512_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_auth_hmacsha512_statebytes(): Long |
|
abstract fun crypto_auth_hmacsha512_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_auth_hmacsha512_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_auth_keybytes(): Long |
|
abstract fun crypto_auth_keygen(k: Pointer!): Unit |
|
abstract fun crypto_auth_primitive(): String! |
|
abstract fun crypto_auth_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: Pointer!): Int |
|
abstract fun crypto_box(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_beforenm(k: Pointer!, pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_beforenmbytes(): Long |
|
abstract fun crypto_box_boxzerobytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_beforenm(k: Pointer!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_beforenmbytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_detached_afternm(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_easy_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_keypair(pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_macbytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_messagebytes_max(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_noncebytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_open_detached_afternm(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_open_easy_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_publickeybytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_seal(c: ByteArray!, m: ByteArray!, mlen: Long, pk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_seal_open(m: ByteArray!, c: ByteArray!, clen: Long, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_sealbytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_secretkeybytes(): Long |
|
abstract fun crypto_box_curve25519xchacha20poly1305_seed_keypair(pk: ByteArray!, sk: ByteArray!, seed: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xchacha20poly1305_seedbytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_beforenm(k: Pointer!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_beforenmbytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_boxzerobytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_keypair(pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_macbytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_messagebytes_max(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_noncebytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_open_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_publickeybytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_secretkeybytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_seed_keypair(pk: ByteArray!, sk: ByteArray!, seed: ByteArray!): Int |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_seedbytes(): Long |
|
abstract fun crypto_box_curve25519xsalsa20poly1305_zerobytes(): Long |
|
abstract fun crypto_box_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_detached_afternm(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_box_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_easy_afternm(c: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_box_keypair(pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_macbytes(): Long |
|
abstract fun crypto_box_messagebytes_max(): Long |
|
abstract fun crypto_box_noncebytes(): Long |
|
abstract fun crypto_box_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_box_open_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_box_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_open_detached_afternm(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_box_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: Pointer!, pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_open_easy_afternm(m: ByteArray!, c: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_box_primitive(): String! |
|
abstract fun crypto_box_publickeybytes(): Long |
|
abstract fun crypto_box_seal(c: ByteArray!, m: ByteArray!, mlen: Long, pk: Pointer!): Int |
|
abstract fun crypto_box_seal_open(m: ByteArray!, c: ByteArray!, clen: Long, pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_box_sealbytes(): Long |
|
abstract fun crypto_box_secretkeybytes(): Long |
|
abstract fun crypto_box_seed_keypair(pk: Pointer!, sk: Pointer!, seed: Pointer!): Int |
|
abstract fun crypto_box_seedbytes(): Long |
|
abstract fun crypto_box_zerobytes(): Long |
|
abstract fun crypto_core_ed25519_add(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int |
|
abstract fun crypto_core_ed25519_bytes(): Long |
|
abstract fun crypto_core_ed25519_from_hash(p: ByteArray!, h: ByteArray!): Int |
|
abstract fun crypto_core_ed25519_from_uniform(p: ByteArray!, r: ByteArray!): Int |
|
abstract fun crypto_core_ed25519_hashbytes(): Long |
|
abstract fun crypto_core_ed25519_is_valid_point(p: ByteArray!): Int |
|
abstract fun crypto_core_ed25519_nonreducedscalarbytes(): Long |
|
abstract fun crypto_core_ed25519_random(p: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_add(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_complement(comp: ByteArray!, s: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_invert(recip: ByteArray!, s: ByteArray!): Int |
|
abstract fun crypto_core_ed25519_scalar_mul(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_negate(neg: ByteArray!, s: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_random(r: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_reduce(r: ByteArray!, s: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalar_sub(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit |
|
abstract fun crypto_core_ed25519_scalarbytes(): Long |
|
abstract fun crypto_core_ed25519_sub(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int |
|
abstract fun crypto_core_ed25519_uniformbytes(): Long |
|
abstract fun crypto_core_hchacha20(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int |
|
abstract fun crypto_core_hchacha20_constbytes(): Long |
|
abstract fun crypto_core_hchacha20_inputbytes(): Long |
|
abstract fun crypto_core_hchacha20_keybytes(): Long |
|
abstract fun crypto_core_hchacha20_outputbytes(): Long |
|
abstract fun crypto_core_hsalsa20(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int |
|
abstract fun crypto_core_hsalsa20_constbytes(): Long |
|
abstract fun crypto_core_hsalsa20_inputbytes(): Long |
|
abstract fun crypto_core_hsalsa20_keybytes(): Long |
|
abstract fun crypto_core_hsalsa20_outputbytes(): Long |
|
abstract fun crypto_core_ristretto255_add(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int |
|
abstract fun crypto_core_ristretto255_bytes(): Long |
|
abstract fun crypto_core_ristretto255_from_hash(p: ByteArray!, r: ByteArray!): Int |
|
abstract fun crypto_core_ristretto255_hashbytes(): Long |
|
abstract fun crypto_core_ristretto255_is_valid_point(p: ByteArray!): Int |
|
abstract fun crypto_core_ristretto255_nonreducedscalarbytes(): Long |
|
abstract fun crypto_core_ristretto255_random(p: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_add(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_complement(comp: ByteArray!, s: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_invert(recip: ByteArray!, s: ByteArray!): Int |
|
abstract fun crypto_core_ristretto255_scalar_mul(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_negate(neg: ByteArray!, s: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_random(r: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_reduce(r: ByteArray!, s: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalar_sub(z: ByteArray!, x: ByteArray!, y: ByteArray!): Unit |
|
abstract fun crypto_core_ristretto255_scalarbytes(): Long |
|
abstract fun crypto_core_ristretto255_sub(r: ByteArray!, p: ByteArray!, q: ByteArray!): Int |
|
abstract fun crypto_core_salsa20(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int |
|
abstract fun crypto_core_salsa2012(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int |
|
abstract fun crypto_core_salsa2012_constbytes(): Long |
|
abstract fun crypto_core_salsa2012_inputbytes(): Long |
|
abstract fun crypto_core_salsa2012_keybytes(): Long |
|
abstract fun crypto_core_salsa2012_outputbytes(): Long |
|
abstract fun crypto_core_salsa208(out: ByteArray!, in: ByteArray!, k: ByteArray!, c: ByteArray!): Int |
|
abstract fun crypto_core_salsa208_constbytes(): Long |
|
abstract fun crypto_core_salsa208_inputbytes(): Long |
|
abstract fun crypto_core_salsa208_keybytes(): Long |
|
abstract fun crypto_core_salsa208_outputbytes(): Long |
|
abstract fun crypto_core_salsa20_constbytes(): Long |
|
abstract fun crypto_core_salsa20_inputbytes(): Long |
|
abstract fun crypto_core_salsa20_keybytes(): Long |
|
abstract fun crypto_core_salsa20_outputbytes(): Long |
|
abstract fun crypto_generichash(out: Pointer!, outlen: Long, in: Pointer!, inlen: Long, key: Pointer!, keylen: Long): Int |
|
abstract fun crypto_generichash_blake2b(out: ByteArray!, outlen: Long, in: ByteArray!, inlen: Long, key: ByteArray!, keylen: Long): Int |
|
abstract fun crypto_generichash_blake2b_bytes(): Long |
|
abstract fun crypto_generichash_blake2b_bytes_max(): Long |
|
abstract fun crypto_generichash_blake2b_bytes_min(): Long |
|
abstract fun crypto_generichash_blake2b_final(state: Pointer!, out: ByteArray!, outlen: Long): Int |
|
abstract fun crypto_generichash_blake2b_init(state: Pointer!, key: ByteArray!, keylen: Long, outlen: Long): Int |
|
abstract fun crypto_generichash_blake2b_init_salt_personal(state: Pointer!, key: ByteArray!, keylen: Long, outlen: Long, salt: ByteArray!, personal: ByteArray!): Int |
|
abstract fun crypto_generichash_blake2b_keybytes(): Long |
|
abstract fun crypto_generichash_blake2b_keybytes_max(): Long |
|
abstract fun crypto_generichash_blake2b_keybytes_min(): Long |
|
abstract fun crypto_generichash_blake2b_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_generichash_blake2b_personalbytes(): Long |
|
abstract fun crypto_generichash_blake2b_salt_personal(out: ByteArray!, outlen: Long, in: ByteArray!, inlen: Long, key: ByteArray!, keylen: Long, salt: ByteArray!, personal: ByteArray!): Int |
|
abstract fun crypto_generichash_blake2b_saltbytes(): Long |
|
abstract fun crypto_generichash_blake2b_statebytes(): Long |
|
abstract fun crypto_generichash_blake2b_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_generichash_bytes(): Long |
|
abstract fun crypto_generichash_bytes_max(): Long |
|
abstract fun crypto_generichash_bytes_min(): Long |
|
abstract fun crypto_generichash_final(state: Pointer!, out: ByteArray!, outlen: Long): Int |
|
abstract fun crypto_generichash_init(state: Pointer!, key: ByteArray!, keylen: Long, outlen: Long): Int |
|
abstract fun crypto_generichash_keybytes(): Long |
|
abstract fun crypto_generichash_keybytes_max(): Long |
|
abstract fun crypto_generichash_keybytes_min(): Long |
|
abstract fun crypto_generichash_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_generichash_primitive(): String! |
|
abstract fun crypto_generichash_statebytes(): Long |
|
abstract fun crypto_generichash_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_hash(out: ByteArray!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_hash_bytes(): Long |
|
abstract fun crypto_hash_primitive(): String! |
|
abstract fun crypto_hash_sha256(out: ByteArray!, in: ByteArray!, inlen: Long): Int
abstract fun crypto_hash_sha256(out: Pointer!, in: Pointer!, inlen: Long): Int |
|
abstract fun crypto_hash_sha256_bytes(): Long |
|
abstract fun crypto_hash_sha256_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_hash_sha256_init(state: Pointer!): Int |
|
abstract fun crypto_hash_sha256_statebytes(): Long |
|
abstract fun crypto_hash_sha256_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_hash_sha512(out: ByteArray!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_hash_sha512_bytes(): Long |
|
abstract fun crypto_hash_sha512_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_hash_sha512_init(state: Pointer!): Int |
|
abstract fun crypto_hash_sha512_statebytes(): Long |
|
abstract fun crypto_hash_sha512_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_kdf_blake2b_bytes_max(): Long |
|
abstract fun crypto_kdf_blake2b_bytes_min(): Long |
|
abstract fun crypto_kdf_blake2b_contextbytes(): Long |
|
abstract fun crypto_kdf_blake2b_derive_from_key(subkey: ByteArray!, subkey_len: Long, subkey_id: Long, ctx: ByteArray!, key: Pointer!): Int |
|
abstract fun crypto_kdf_blake2b_keybytes(): Long |
|
abstract fun crypto_kdf_bytes_max(): Long |
|
abstract fun crypto_kdf_bytes_min(): Long |
|
abstract fun crypto_kdf_contextbytes(): Long |
|
abstract fun crypto_kdf_derive_from_key(subkey: ByteArray!, subkey_len: Long, subkey_id: Long, ctx: ByteArray!, key: Pointer!): Int |
|
abstract fun crypto_kdf_keybytes(): Long |
|
abstract fun crypto_kdf_keygen(k: Pointer!): Unit |
|
abstract fun crypto_kdf_primitive(): String! |
|
abstract fun crypto_kx_client_session_keys(rx: Pointer!, tx: Pointer!, client_pk: Pointer!, client_sk: Pointer!, server_pk: Pointer!): Int |
|
abstract fun crypto_kx_keypair(pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_kx_primitive(): String! |
|
abstract fun crypto_kx_publickeybytes(): Long |
|
abstract fun crypto_kx_secretkeybytes(): Long |
|
abstract fun crypto_kx_seed_keypair(pk: Pointer!, sk: Pointer!, seed: Pointer!): Int |
|
abstract fun crypto_kx_seedbytes(): Long |
|
abstract fun crypto_kx_server_session_keys(rx: Pointer!, tx: Pointer!, server_pk: Pointer!, server_sk: Pointer!, client_pk: Pointer!): Int |
|
abstract fun crypto_kx_sessionkeybytes(): Long |
|
abstract fun crypto_onetimeauth(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_bytes(): Long |
|
abstract fun crypto_onetimeauth_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_init(state: Pointer!, key: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_keybytes(): Long |
|
abstract fun crypto_onetimeauth_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_onetimeauth_poly1305(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_poly1305_bytes(): Long |
|
abstract fun crypto_onetimeauth_poly1305_final(state: Pointer!, out: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_poly1305_init(state: Pointer!, key: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_poly1305_keybytes(): Long |
|
abstract fun crypto_onetimeauth_poly1305_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_onetimeauth_poly1305_statebytes(): Long |
|
abstract fun crypto_onetimeauth_poly1305_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_onetimeauth_poly1305_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_onetimeauth_primitive(): String! |
|
abstract fun crypto_onetimeauth_statebytes(): Long |
|
abstract fun crypto_onetimeauth_update(state: Pointer!, in: ByteArray!, inlen: Long): Int |
|
abstract fun crypto_onetimeauth_verify(h: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_pwhash(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: Pointer!, opslimit: Long, memlimit: Long, alg: Int): Int |
|
abstract fun crypto_pwhash_alg_argon2i13(): Int |
|
abstract fun crypto_pwhash_alg_argon2id13(): Int |
|
abstract fun crypto_pwhash_alg_default(): Int |
|
abstract fun crypto_pwhash_argon2i(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, opslimit: Long, memlimit: Long, alg: Int): Int |
|
abstract fun crypto_pwhash_argon2i_alg_argon2i13(): Int |
|
abstract fun crypto_pwhash_argon2i_bytes_max(): Long |
|
abstract fun crypto_pwhash_argon2i_bytes_min(): Long |
|
abstract fun crypto_pwhash_argon2i_memlimit_interactive(): Long |
|
abstract fun crypto_pwhash_argon2i_memlimit_max(): Long |
|
abstract fun crypto_pwhash_argon2i_memlimit_min(): Long |
|
abstract fun crypto_pwhash_argon2i_memlimit_moderate(): Long |
|
abstract fun crypto_pwhash_argon2i_memlimit_sensitive(): Long |
|
abstract fun crypto_pwhash_argon2i_opslimit_interactive(): Long |
|
abstract fun crypto_pwhash_argon2i_opslimit_max(): Long |
|
abstract fun crypto_pwhash_argon2i_opslimit_min(): Long |
|
abstract fun crypto_pwhash_argon2i_opslimit_moderate(): Long |
|
abstract fun crypto_pwhash_argon2i_opslimit_sensitive(): Long |
|
abstract fun crypto_pwhash_argon2i_passwd_max(): Long |
|
abstract fun crypto_pwhash_argon2i_passwd_min(): Long |
|
abstract fun crypto_pwhash_argon2i_saltbytes(): Long |
|
abstract fun crypto_pwhash_argon2i_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_argon2i_str_needs_rehash(str: ByteArray!, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_argon2i_str_verify(str: ByteArray!, passwd: ByteArray!, passwdlen: Long): Int |
|
abstract fun crypto_pwhash_argon2i_strbytes(): Long |
|
abstract fun crypto_pwhash_argon2i_strprefix(): String! |
|
abstract fun crypto_pwhash_argon2id(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, opslimit: Long, memlimit: Long, alg: Int): Int |
|
abstract fun crypto_pwhash_argon2id_alg_argon2id13(): Int |
|
abstract fun crypto_pwhash_argon2id_bytes_max(): Long |
|
abstract fun crypto_pwhash_argon2id_bytes_min(): Long |
|
abstract fun crypto_pwhash_argon2id_memlimit_interactive(): Long |
|
abstract fun crypto_pwhash_argon2id_memlimit_max(): Long |
|
abstract fun crypto_pwhash_argon2id_memlimit_min(): Long |
|
abstract fun crypto_pwhash_argon2id_memlimit_moderate(): Long |
|
abstract fun crypto_pwhash_argon2id_memlimit_sensitive(): Long |
|
abstract fun crypto_pwhash_argon2id_opslimit_interactive(): Long |
|
abstract fun crypto_pwhash_argon2id_opslimit_max(): Long |
|
abstract fun crypto_pwhash_argon2id_opslimit_min(): Long |
|
abstract fun crypto_pwhash_argon2id_opslimit_moderate(): Long |
|
abstract fun crypto_pwhash_argon2id_opslimit_sensitive(): Long |
|
abstract fun crypto_pwhash_argon2id_passwd_max(): Long |
|
abstract fun crypto_pwhash_argon2id_passwd_min(): Long |
|
abstract fun crypto_pwhash_argon2id_saltbytes(): Long |
|
abstract fun crypto_pwhash_argon2id_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_argon2id_str_needs_rehash(str: ByteArray!, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_argon2id_str_verify(str: ByteArray!, passwd: ByteArray!, passwdlen: Long): Int |
|
abstract fun crypto_pwhash_argon2id_strbytes(): Long |
|
abstract fun crypto_pwhash_argon2id_strprefix(): String! |
|
abstract fun crypto_pwhash_bytes_max(): Long |
|
abstract fun crypto_pwhash_bytes_min(): Long |
|
abstract fun crypto_pwhash_memlimit_interactive(): Long |
|
abstract fun crypto_pwhash_memlimit_max(): Long |
|
abstract fun crypto_pwhash_memlimit_min(): Long |
|
abstract fun crypto_pwhash_memlimit_moderate(): Long |
|
abstract fun crypto_pwhash_memlimit_sensitive(): Long |
|
abstract fun crypto_pwhash_opslimit_interactive(): Long |
|
abstract fun crypto_pwhash_opslimit_max(): Long |
|
abstract fun crypto_pwhash_opslimit_min(): Long |
|
abstract fun crypto_pwhash_opslimit_moderate(): Long |
|
abstract fun crypto_pwhash_opslimit_sensitive(): Long |
|
abstract fun crypto_pwhash_passwd_max(): Long |
|
abstract fun crypto_pwhash_passwd_min(): Long |
|
abstract fun crypto_pwhash_primitive(): String! |
|
abstract fun crypto_pwhash_saltbytes(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256(out: ByteArray!, outlen: Long, passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_bytes_max(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_bytes_min(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_ll(passwd: ByteArray!, passwdlen: Long, salt: ByteArray!, saltlen: Long, N: Long, r: Int, p: Int, buf: ByteArray!, buflen: Long): Int |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_interactive(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_max(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_min(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_interactive(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_max(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_min(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_passwd_max(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_passwd_min(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_saltbytes(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_str_needs_rehash(str: ByteArray!, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_str_verify(str: ByteArray!, passwd: ByteArray!, passwdlen: Long): Int |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_strbytes(): Long |
|
abstract fun crypto_pwhash_scryptsalsa208sha256_strprefix(): String! |
|
abstract fun crypto_pwhash_str(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_str_alg(out: ByteArray!, passwd: ByteArray!, passwdlen: Long, opslimit: Long, memlimit: Long, alg: Int): Int |
|
abstract fun crypto_pwhash_str_needs_rehash(str: Pointer!, opslimit: Long, memlimit: Long): Int |
|
abstract fun crypto_pwhash_str_verify(str: Pointer!, passwd: ByteArray!, passwdlen: Long): Int |
|
abstract fun crypto_pwhash_strbytes(): Long |
|
abstract fun crypto_pwhash_strprefix(): String! |
|
abstract fun crypto_scalarmult(q: Pointer!, n: Pointer!, p: Pointer!): Int |
|
abstract fun crypto_scalarmult_base(q: Pointer!, n: Pointer!): Int |
|
abstract fun crypto_scalarmult_bytes(): Long |
|
abstract fun crypto_scalarmult_curve25519(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int |
|
abstract fun crypto_scalarmult_curve25519_base(q: ByteArray!, n: ByteArray!): Int |
|
abstract fun crypto_scalarmult_curve25519_bytes(): Long |
|
abstract fun crypto_scalarmult_curve25519_scalarbytes(): Long |
|
abstract fun crypto_scalarmult_ed25519(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int |
|
abstract fun crypto_scalarmult_ed25519_base(q: ByteArray!, n: ByteArray!): Int |
|
abstract fun crypto_scalarmult_ed25519_base_noclamp(q: ByteArray!, n: ByteArray!): Int |
|
abstract fun crypto_scalarmult_ed25519_bytes(): Long |
|
abstract fun crypto_scalarmult_ed25519_noclamp(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int |
|
abstract fun crypto_scalarmult_ed25519_scalarbytes(): Long |
|
abstract fun crypto_scalarmult_primitive(): String! |
|
abstract fun crypto_scalarmult_ristretto255(q: ByteArray!, n: ByteArray!, p: ByteArray!): Int |
|
abstract fun crypto_scalarmult_ristretto255_base(q: ByteArray!, n: ByteArray!): Int |
|
abstract fun crypto_scalarmult_ristretto255_bytes(): Long |
|
abstract fun crypto_scalarmult_ristretto255_scalarbytes(): Long |
|
abstract fun crypto_scalarmult_scalarbytes(): Long |
|
abstract fun crypto_secretbox(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_boxzerobytes(): Long |
|
abstract fun crypto_secretbox_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_secretbox_easy(c: Pointer!, m: Pointer!, mlen: Long, n: Pointer!, k: Pointer!): Int
abstract fun crypto_secretbox_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_secretbox_keybytes(): Long |
|
abstract fun crypto_secretbox_keygen(k: Pointer!): Unit |
|
abstract fun crypto_secretbox_macbytes(): Long |
|
abstract fun crypto_secretbox_messagebytes_max(): Long |
|
abstract fun crypto_secretbox_noncebytes(): Long |
|
abstract fun crypto_secretbox_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_secretbox_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: Pointer!, k: Pointer!): Int
abstract fun crypto_secretbox_open_easy(m: Pointer!, c: Pointer!, clen: Long, n: Pointer!, k: Pointer!): Int |
|
abstract fun crypto_secretbox_primitive(): String! |
|
abstract fun crypto_secretbox_xchacha20poly1305_detached(c: ByteArray!, mac: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_xchacha20poly1305_easy(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_xchacha20poly1305_keybytes(): Long |
|
abstract fun crypto_secretbox_xchacha20poly1305_macbytes(): Long |
|
abstract fun crypto_secretbox_xchacha20poly1305_messagebytes_max(): Long |
|
abstract fun crypto_secretbox_xchacha20poly1305_noncebytes(): Long |
|
abstract fun crypto_secretbox_xchacha20poly1305_open_detached(m: ByteArray!, c: ByteArray!, mac: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_xchacha20poly1305_open_easy(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_xsalsa20poly1305(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_xsalsa20poly1305_boxzerobytes(): Long |
|
abstract fun crypto_secretbox_xsalsa20poly1305_keybytes(): Long |
|
abstract fun crypto_secretbox_xsalsa20poly1305_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_secretbox_xsalsa20poly1305_macbytes(): Long |
|
abstract fun crypto_secretbox_xsalsa20poly1305_messagebytes_max(): Long |
|
abstract fun crypto_secretbox_xsalsa20poly1305_noncebytes(): Long |
|
abstract fun crypto_secretbox_xsalsa20poly1305_open(m: ByteArray!, c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_secretbox_xsalsa20poly1305_zerobytes(): Long |
|
abstract fun crypto_secretbox_zerobytes(): Long |
|
abstract fun crypto_secretstream_xchacha20poly1305_abytes(): Long |
|
abstract fun crypto_secretstream_xchacha20poly1305_headerbytes(): Long |
|
abstract fun crypto_secretstream_xchacha20poly1305_init_pull(state: Pointer!, : ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_secretstream_xchacha20poly1305_init_push(state: Pointer!, : ByteArray!, k: Pointer!): Int |
|
abstract fun crypto_secretstream_xchacha20poly1305_keybytes(): Long |
|
abstract fun crypto_secretstream_xchacha20poly1305_keygen(k: Pointer!): Unit |
|
abstract fun crypto_secretstream_xchacha20poly1305_messagebytes_max(): Long |
|
abstract fun crypto_secretstream_xchacha20poly1305_pull(state: Pointer!, m: ByteArray!, mlen_p: LongLongByReference!, tag_p: ByteByReference!, c: ByteArray!, clen: Long, ad: ByteArray!, adlen: Long): Int |
|
abstract fun crypto_secretstream_xchacha20poly1305_push(state: Pointer!, c: ByteArray!, clen_p: LongLongByReference!, m: ByteArray!, mlen: Long, ad: ByteArray!, adlen: Long, tag: Byte): Int |
|
abstract fun crypto_secretstream_xchacha20poly1305_rekey(state: Pointer!): Unit |
|
abstract fun crypto_secretstream_xchacha20poly1305_statebytes(): Long |
|
abstract fun crypto_secretstream_xchacha20poly1305_tag_final(): Char |
|
abstract fun crypto_secretstream_xchacha20poly1305_tag_message(): Char |
|
abstract fun crypto_secretstream_xchacha20poly1305_tag_push(): Char |
|
abstract fun crypto_secretstream_xchacha20poly1305_tag_rekey(): Char |
|
abstract fun crypto_shorthash(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_shorthash_bytes(): Long |
|
abstract fun crypto_shorthash_keybytes(): Long |
|
abstract fun crypto_shorthash_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_shorthash_primitive(): String! |
|
abstract fun crypto_shorthash_siphash24(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_shorthash_siphash24_bytes(): Long |
|
abstract fun crypto_shorthash_siphash24_keybytes(): Long |
|
abstract fun crypto_shorthash_siphashx24(out: ByteArray!, in: ByteArray!, inlen: Long, k: ByteArray!): Int |
|
abstract fun crypto_shorthash_siphashx24_bytes(): Long |
|
abstract fun crypto_shorthash_siphashx24_keybytes(): Long |
|
abstract fun crypto_sign(sm: ByteArray!, smlen_p: LongLongByReference?, m: ByteArray!, mlen: Long, sk: Pointer!): Int |
|
abstract fun crypto_sign_bytes(): Long |
|
abstract fun crypto_sign_detached(sig: ByteArray!, siglen_p: LongLongByReference?, m: ByteArray!, mlen: Long, sk: Pointer!): Int
abstract fun crypto_sign_detached(sig: Pointer!, siglen_p: LongLongByReference?, m: Pointer!, mlen: Long, sk: Pointer!): Int |
|
abstract fun crypto_sign_ed25519(sm: ByteArray!, smlen_p: LongLongByReference!, m: ByteArray!, mlen: Long, sk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519_bytes(): Long |
|
abstract fun crypto_sign_ed25519_detached(sig: ByteArray!, siglen_p: LongLongByReference!, m: ByteArray!, mlen: Long, sk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519_keypair(pk: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519_messagebytes_max(): Long |
|
abstract fun crypto_sign_ed25519_open(m: ByteArray!, mlen_p: LongLongByReference!, sm: ByteArray!, smlen: Long, pk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519_pk_to_curve25519(curve25519_pk: Pointer!, ed25519_pk: Pointer!): Int |
|
abstract fun crypto_sign_ed25519_publickeybytes(): Long |
|
abstract fun crypto_sign_ed25519_secretkeybytes(): Long |
|
abstract fun crypto_sign_ed25519_seed_keypair(pk: ByteArray!, sk: ByteArray!, seed: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519_seedbytes(): Long |
|
abstract fun crypto_sign_ed25519_sk_to_curve25519(curve25519_sk: Pointer!, ed25519_sk: Pointer!): Int |
|
abstract fun crypto_sign_ed25519_sk_to_pk(pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_sign_ed25519_sk_to_seed(seed: ByteArray!, sk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519_verify_detached(sig: ByteArray!, m: ByteArray!, mlen: Long, pk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519ph_final_create(state: Pointer!, sig: ByteArray!, siglen_p: LongLongByReference!, sk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519ph_final_verify(state: Pointer!, sig: ByteArray!, pk: ByteArray!): Int |
|
abstract fun crypto_sign_ed25519ph_init(state: Pointer!): Int |
|
abstract fun crypto_sign_ed25519ph_statebytes(): Long |
|
abstract fun crypto_sign_ed25519ph_update(state: Pointer!, m: ByteArray!, mlen: Long): Int |
|
abstract fun crypto_sign_final_create(state: Pointer!, sig: ByteArray!, siglen_p: LongLongByReference!, sk: ByteArray!): Int |
|
abstract fun crypto_sign_final_verify(state: Pointer!, sig: ByteArray!, pk: ByteArray!): Int |
|
abstract fun crypto_sign_init(state: Pointer!): Int |
|
abstract fun crypto_sign_keypair(pk: Pointer!, sk: Pointer!): Int |
|
abstract fun crypto_sign_messagebytes_max(): Long |
|
abstract fun crypto_sign_open(m: ByteArray!, mlen_p: LongLongByReference!, sm: ByteArray!, smlen: Long, pk: Pointer!): Int |
|
abstract fun crypto_sign_primitive(): String! |
|
abstract fun crypto_sign_publickeybytes(): Long |
|
abstract fun crypto_sign_secretkeybytes(): Long |
|
abstract fun crypto_sign_seed_keypair(pk: Pointer!, sk: Pointer!, seed: Pointer!): Int |
|
abstract fun crypto_sign_seedbytes(): Long |
|
abstract fun crypto_sign_statebytes(): Long |
|
abstract fun crypto_sign_update(state: Pointer!, m: ByteArray!, mlen: Long): Int |
|
abstract fun crypto_sign_verify_detached(sig: Pointer!, m: Pointer!, mlen: Long, pk: Pointer!): Int
abstract fun crypto_sign_verify_detached(sig: ByteArray!, m: ByteArray!, mlen: Long, pk: Pointer!): Int |
|
abstract fun crypto_stream(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_chacha20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_chacha20_ietf(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_chacha20_ietf_keybytes(): Long |
|
abstract fun crypto_stream_chacha20_ietf_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_chacha20_ietf_messagebytes_max(): Long |
|
abstract fun crypto_stream_chacha20_ietf_noncebytes(): Long |
|
abstract fun crypto_stream_chacha20_ietf_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_chacha20_ietf_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Int, k: ByteArray!): Int |
|
abstract fun crypto_stream_chacha20_keybytes(): Long |
|
abstract fun crypto_stream_chacha20_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_chacha20_messagebytes_max(): Long |
|
abstract fun crypto_stream_chacha20_noncebytes(): Long |
|
abstract fun crypto_stream_chacha20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_chacha20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int |
|
abstract fun crypto_stream_keybytes(): Long |
|
abstract fun crypto_stream_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_messagebytes_max(): Long |
|
abstract fun crypto_stream_noncebytes(): Long |
|
abstract fun crypto_stream_primitive(): String! |
|
abstract fun crypto_stream_salsa20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_salsa2012(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_salsa2012_keybytes(): Long |
|
abstract fun crypto_stream_salsa2012_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_salsa2012_messagebytes_max(): Long |
|
abstract fun crypto_stream_salsa2012_noncebytes(): Long |
|
abstract fun crypto_stream_salsa2012_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_salsa208(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_salsa208_keybytes(): Long |
|
abstract fun crypto_stream_salsa208_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_salsa208_messagebytes_max(): Long |
|
abstract fun crypto_stream_salsa208_noncebytes(): Long |
|
abstract fun crypto_stream_salsa208_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_salsa20_keybytes(): Long |
|
abstract fun crypto_stream_salsa20_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_salsa20_messagebytes_max(): Long |
|
abstract fun crypto_stream_salsa20_noncebytes(): Long |
|
abstract fun crypto_stream_salsa20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_salsa20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int |
|
abstract fun crypto_stream_xchacha20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_xchacha20_keybytes(): Long |
|
abstract fun crypto_stream_xchacha20_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_xchacha20_messagebytes_max(): Long |
|
abstract fun crypto_stream_xchacha20_noncebytes(): Long |
|
abstract fun crypto_stream_xchacha20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_xchacha20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int |
|
abstract fun crypto_stream_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_xsalsa20(c: ByteArray!, clen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_xsalsa20_keybytes(): Long |
|
abstract fun crypto_stream_xsalsa20_keygen(k: ByteArray!): Unit |
|
abstract fun crypto_stream_xsalsa20_messagebytes_max(): Long |
|
abstract fun crypto_stream_xsalsa20_noncebytes(): Long |
|
abstract fun crypto_stream_xsalsa20_xor(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, k: ByteArray!): Int |
|
abstract fun crypto_stream_xsalsa20_xor_ic(c: ByteArray!, m: ByteArray!, mlen: Long, n: ByteArray!, ic: Long, k: ByteArray!): Int |
|
abstract fun crypto_verify_16(x: ByteArray!, y: ByteArray!): Int |
|
abstract fun crypto_verify_16_bytes(): Long |
|
abstract fun crypto_verify_32(x: ByteArray!, y: ByteArray!): Int |
|
abstract fun crypto_verify_32_bytes(): Long |
|
abstract fun crypto_verify_64(x: ByteArray!, y: ByteArray!): Int |
|
abstract fun crypto_verify_64_bytes(): Long |
|
abstract fun implementation_name(): String! |
|
abstract fun random(): Int |
|
abstract fun randombytes(buf: ByteArray!, buf_len: Long): Unit |
|
abstract fun randombytes_buf(buf: Pointer!, size: Long): Unit |
|
abstract fun randombytes_buf_deterministic(buf: ByteArray!, size: Long, seed: ByteArray!): Unit |
|
abstract fun randombytes_close(): Int |
|
abstract fun randombytes_implementation_name(): String! |
|
abstract fun randombytes_random(): Int |
|
abstract fun randombytes_seedbytes(): Long |
|
abstract fun randombytes_set_implementation(impl: Pointer!): Int |
|
abstract fun randombytes_stir(): Unit |
|
abstract fun randombytes_uniform(upper_bound: Int): Int |
|
abstract fun sodium_add(a: Pointer!, b: Pointer!, len: Long): Unit |
|
abstract fun sodium_allocarray(count: Long, size: Long): Pointer! |
|
abstract fun sodium_base642bin(bin: ByteArray!, bin_maxlen: Long, b64: ByteArray!, b64_len: Long, ignore: ByteArray!, bin_len: LongLongByReference!, b64_end: Pointer!, variant: Int): Int |
|
abstract fun sodium_base64_encoded_len(bin_len: Long, variant: Int): Long |
|
abstract fun sodium_compare(b1_: Pointer!, b2_: Pointer!, len: Long): Int |
|
abstract fun sodium_free(ptr: Pointer!): Unit |
|
abstract fun sodium_hex2bin(bin: ByteArray!, bin_maxlen: Long, hex: ByteArray!, hex_len: Long, ignore: ByteArray!, bin_len: LongLongByReference!, hex_end: Pointer!): Int |
|
abstract fun sodium_increment(n: Pointer!, nlen: Long): Unit |
|
abstract fun sodium_init(): Int |
|
abstract fun sodium_is_zero(n: Pointer!, nlen: Long): Int |
|
abstract fun sodium_library_minimal(): Int |
|
abstract fun sodium_library_version_major(): Int |
|
abstract fun sodium_library_version_minor(): Int |
|
abstract fun sodium_malloc(size: Long): Pointer! |
|
abstract fun sodium_memcmp(b1_: Pointer!, b2_: Pointer!, len: Long): Int |
|
abstract fun sodium_memzero(pnt: Pointer!, len: Long): Unit |
|
abstract fun sodium_misuse(): Unit |
|
abstract fun sodium_mlock(addr: Pointer!, len: Long): Int |
|
abstract fun sodium_mprotect_noaccess(ptr: Pointer!): Int |
|
abstract fun sodium_mprotect_readonly(ptr: Pointer!): Int |
|
abstract fun sodium_mprotect_readwrite(ptr: Pointer!): Int |
|
abstract fun sodium_munlock(addr: Pointer!, len: Long): Int |
|
abstract fun sodium_pad(padded_buflen_p: LongLongByReference!, buf: ByteArray!, unpadded_buflen: Long, blocksize: Long, max_buflen: Long): Int |
|
abstract fun sodium_runtime_has_aesni(): Int |
|
abstract fun sodium_runtime_has_avx(): Int |
|
abstract fun sodium_runtime_has_avx2(): Int |
|
abstract fun sodium_runtime_has_avx512f(): Int |
|
abstract fun sodium_runtime_has_neon(): Int |
|
abstract fun sodium_runtime_has_pclmul(): Int |
|
abstract fun sodium_runtime_has_rdrand(): Int |
|
abstract fun sodium_runtime_has_sse2(): Int |
|
abstract fun sodium_runtime_has_sse3(): Int |
|
abstract fun sodium_runtime_has_sse41(): Int |
|
abstract fun sodium_runtime_has_ssse3(): Int |
|
abstract fun sodium_set_misuse_handler(handler: Pointer!): Int |
|
abstract fun sodium_stackzero(len: Long): Unit |
|
abstract fun sodium_sub(a: ByteArray!, b: ByteArray!, len: Long): Unit |
|
abstract fun sodium_unpad(unpadded_buflen_p: LongLongByReference!, buf: ByteArray!, padded_buflen: Long, blocksize: Long): Int |
|
abstract fun sodium_version_string(): String! |
|
abstract fun stir(): Unit |
|
abstract fun uniform(upper_bound: Int): Int |