// WARNING: This file is auto-generated. Any changes will be lost. import { toRuntime } from '@awasm/compiler/runtime.js'; import type * as TYPES from '../types.ts'; import type { TRet } from '../../utils.ts'; import typeMod from '../js/type_mod.js'; import { genKeccak, genSha2, genSha1, genRipemd, genMd5, genBlake1, genBlake2, genBlake3, genScrypt, genArgon2, genSalsa, genChacha, genSalsaAead, genChachaAead, genAesEcb, genAesCbc, genAesCfb, genAesOfb, genAesCtr, genAesGcm, genAesGcmSiv, genAesSiv, genAesKw, genAesKwp, genCmac, genGhash, genPoly1305, genPolyval } from '../../modules/index.ts'; import { keccak24 as spec_keccak24, sha256 as spec_sha256, sha512 as spec_sha512, sha1 as spec_sha1, ripemd160 as spec_ripemd160, md5 as spec_md5, blake256 as spec_blake256, blake512 as spec_blake512, blake2s as spec_blake2s, blake2b as spec_blake2b, blake3 as spec_blake3, scrypt as spec_scrypt, argon2 as spec_argon2, salsa20 as spec_salsa20, chacha20 as spec_chacha20, chacha12 as spec_chacha12, chacha8 as spec_chacha8, salsa_poly1305 as spec_salsa_poly1305, chacha_poly1305 as spec_chacha_poly1305, aes_ecb as spec_aes_ecb, aes_cbc as spec_aes_cbc, aes_cfb as spec_aes_cfb, aes_ofb as spec_aes_ofb, aes_ctr as spec_aes_ctr, aes_gcm as spec_aes_gcm, aes_gcmsiv as spec_aes_gcmsiv, aes_siv as spec_aes_siv, aes_kw as spec_aes_kw, aes_kwp as spec_aes_kwp, cmac as spec_cmac, ghash as spec_ghash, poly1305 as spec_poly1305, polyval as spec_polyval } from '../../modules/index.ts'; export const keccak24: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genKeccak('u64', /* @__PURE__ */ (() => spec_keccak24.opts)()), /* @__PURE__ */ (() => spec_keccak24.compilerOpts)()); export const sha256: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genSha2('u32', /* @__PURE__ */ (() => spec_sha256.opts)()), /* @__PURE__ */ (() => spec_sha256.compilerOpts)()); export const sha512: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genSha2('u64', /* @__PURE__ */ (() => spec_sha512.opts)()), /* @__PURE__ */ (() => spec_sha512.compilerOpts)()); export const sha1: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genSha1('u32', /* @__PURE__ */ (() => spec_sha1.opts)()), /* @__PURE__ */ (() => spec_sha1.compilerOpts)()); export const ripemd160: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genRipemd('u32', /* @__PURE__ */ (() => spec_ripemd160.opts)()), /* @__PURE__ */ (() => spec_ripemd160.compilerOpts)()); export const md5: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genMd5('u32', /* @__PURE__ */ (() => spec_md5.opts)()), /* @__PURE__ */ (() => spec_md5.compilerOpts)()); export const blake256: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genBlake1('u32', /* @__PURE__ */ (() => spec_blake256.opts)()), /* @__PURE__ */ (() => spec_blake256.compilerOpts)()); export const blake512: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genBlake1('u64', /* @__PURE__ */ (() => spec_blake512.opts)()), /* @__PURE__ */ (() => spec_blake512.compilerOpts)()); export const blake2s: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genBlake2('u32', /* @__PURE__ */ (() => spec_blake2s.opts)()), /* @__PURE__ */ (() => spec_blake2s.compilerOpts)()); export const blake2b: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genBlake2('u64', /* @__PURE__ */ (() => spec_blake2b.opts)()), /* @__PURE__ */ (() => spec_blake2b.compilerOpts)()); export const blake3: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genBlake3('u32', /* @__PURE__ */ (() => spec_blake3.opts)()), /* @__PURE__ */ (() => spec_blake3.compilerOpts)()); export const scrypt: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genScrypt('u32', /* @__PURE__ */ (() => spec_scrypt.opts)()), /* @__PURE__ */ (() => spec_scrypt.compilerOpts)()); export const argon2: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genArgon2('u32', /* @__PURE__ */ (() => spec_argon2.opts)()), /* @__PURE__ */ (() => spec_argon2.compilerOpts)()); export const salsa20: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genSalsa('u32', /* @__PURE__ */ (() => spec_salsa20.opts)()), /* @__PURE__ */ (() => spec_salsa20.compilerOpts)()); export const chacha20: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genChacha('u32', /* @__PURE__ */ (() => spec_chacha20.opts)()), /* @__PURE__ */ (() => spec_chacha20.compilerOpts)()); export const chacha12: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genChacha('u32', /* @__PURE__ */ (() => spec_chacha12.opts)()), /* @__PURE__ */ (() => spec_chacha12.compilerOpts)()); export const chacha8: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genChacha('u32', /* @__PURE__ */ (() => spec_chacha8.opts)()), /* @__PURE__ */ (() => spec_chacha8.compilerOpts)()); export const salsa_poly1305: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genSalsaAead('u32', /* @__PURE__ */ (() => spec_salsa_poly1305.opts)()), /* @__PURE__ */ (() => spec_salsa_poly1305.compilerOpts)()); export const chacha_poly1305: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genChachaAead('u32', /* @__PURE__ */ (() => spec_chacha_poly1305.opts)()), /* @__PURE__ */ (() => spec_chacha_poly1305.compilerOpts)()); export const aes_ecb: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesEcb('u32', /* @__PURE__ */ (() => spec_aes_ecb.opts)()), /* @__PURE__ */ (() => spec_aes_ecb.compilerOpts)()); export const aes_cbc: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesCbc('u32', /* @__PURE__ */ (() => spec_aes_cbc.opts)()), /* @__PURE__ */ (() => spec_aes_cbc.compilerOpts)()); export const aes_cfb: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesCfb('u32', /* @__PURE__ */ (() => spec_aes_cfb.opts)()), /* @__PURE__ */ (() => spec_aes_cfb.compilerOpts)()); export const aes_ofb: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesOfb('u32', /* @__PURE__ */ (() => spec_aes_ofb.opts)()), /* @__PURE__ */ (() => spec_aes_ofb.compilerOpts)()); export const aes_ctr: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesCtr('u32', /* @__PURE__ */ (() => spec_aes_ctr.opts)()), /* @__PURE__ */ (() => spec_aes_ctr.compilerOpts)()); export const aes_gcm: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesGcm('u32', /* @__PURE__ */ (() => spec_aes_gcm.opts)()), /* @__PURE__ */ (() => spec_aes_gcm.compilerOpts)()); export const aes_gcmsiv: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesGcmSiv('u32', /* @__PURE__ */ (() => spec_aes_gcmsiv.opts)()), /* @__PURE__ */ (() => spec_aes_gcmsiv.compilerOpts)()); export const aes_siv: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesSiv('u32', /* @__PURE__ */ (() => spec_aes_siv.opts)()), /* @__PURE__ */ (() => spec_aes_siv.compilerOpts)()); export const aes_kw: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesKw('u32', /* @__PURE__ */ (() => spec_aes_kw.opts)()), /* @__PURE__ */ (() => spec_aes_kw.compilerOpts)()); export const aes_kwp: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genAesKwp('u32', /* @__PURE__ */ (() => spec_aes_kwp.opts)()), /* @__PURE__ */ (() => spec_aes_kwp.compilerOpts)()); export const cmac: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genCmac('u32', /* @__PURE__ */ (() => spec_cmac.opts)()), /* @__PURE__ */ (() => spec_cmac.compilerOpts)()); export const ghash: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genGhash('u32', /* @__PURE__ */ (() => spec_ghash.opts)()), /* @__PURE__ */ (() => spec_ghash.compilerOpts)()); export const poly1305: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genPoly1305('u32', /* @__PURE__ */ (() => spec_poly1305.opts)()), /* @__PURE__ */ (() => spec_poly1305.compilerOpts)()); export const polyval: () => TRet = /* @__PURE__ */ toRuntime(typeMod, /* @__PURE__ */ genPolyval('u32', /* @__PURE__ */ (() => spec_polyval.opts)()), /* @__PURE__ */ (() => spec_polyval.compilerOpts)());