linux/crypto/salsa20_generic.c
<<
>>
Prefs
   1/*
   2 * Salsa20: Salsa20 stream cipher algorithm
   3 *
   4 * Copyright (c) 2007 Tan Swee Heng <thesweeheng@gmail.com>
   5 *
   6 * Derived from:
   7 * - salsa20.c: Public domain C code by Daniel J. Bernstein <djb@cr.yp.to>
   85 *
   id="b4/9a/681d6cd1b5d4a4c98b4997d036beheng@gmail.com>
eSTREAM, spa ECRYPT S3" cllsa20_generic.c#9" id="L9Em6.27.4s11">   id10="L1">  0 1
. Itpto6designyptdjb@cr.yp.to>
   id1e="L1">    1
 1  2 1  3
 1  4 1  5
 1  6
 1  7 1  85   id1="b4/9a/1681d6cd1b5d4a4c98b4997d1036be1eng@gmail.com>
 20 1 2  1    2ult;
ult0_gene/init.h 2_gene/init.h* Sa/salneric.c#L7" id="L7" class="line" nam2e="L3"> 2  3ult;
ult0_gene/module.h 2_gene/module.h* Sa/salneric.c#L7" id="L7" class="line" nam2e="L4"> 2  4ult;
ult0_gene/errno.h 2_gene/errno.h* Sa/salneric.c#L7" id="L7" class="line" nam2e="L5"> 2  5ult;
ult0_gene/" id=".h 2_gene/" id=".h* Sa/salneric.c#L7" id="L7" class="line" nam2e="L6"> 2  6ult;
ult0_gene/okups.h 2_gene/okups.h* Sa/salneric.c#L7" id="L7" class="line" nam2e="L7"> 2  7ult;
ult0_gene/bitops.h 2_gene/bitops.h* Sa/salneric.c#L7" id="L7" class="line" nam2e="L8"> 2  85ult;
ult0" id="Lrypapi.h 2" id="Lrypapi.h* Sa/salneric.c#L7" id="L7" class="line" nam2="b4/9a/2681d6cd1b5d4a4c98b4997d2036be29* Sa#i;">ult;
ult0asm-alpha/byteordli.h|i;">ult0asm-arm/byteordli.h|i;">ult0asm-avr32/byteordli.h|i;">ult0asm-blackfin/byteordli.h|i;">ult0asm-cris/byteordli.h|i;">ult0asm-frv/byteordli.h|i;">ult0asm-="line"/byteordli.h|i;">ult0asm-h8300/byteordli.h|i;">ult0asm-i386/byteordli.h|i;">ult0asm-ia64/byteordli.h|i;">ult0asm-m32r/byteordli.h|i;">ult0asm-m68k/byteordli.h|i;">ult0asm-m68kn07 u/byteordli.h|i;">ult0asm-mips/byteordli.h|i;">ult0asm-mips64/byteordli.h|i;">ult0asm-paris"/byteordli.h|i;">ult0asm-powerp"/byteordli.h|i;">ult0asm-pp"/byteordli.h|i;">ult0asm-s390/byteordli.h|i;">ult0asm-sh/byteordli.h|i;">ult0asm-sh64/byteordli.h|i;">ult0asm-20_r"/byteordli.h|i;">ult0asm-s0_r"64/byteordli.h|i;">ult0asm-um/byteordli.h|i;">ult0asm-v850/byteordli.h|i;">ult0asm-x86/byteordli.h|i;">ult0asm-x86_64/byteordli.h|i;">ult0asm-xtensa/byteordli.h 2 30 1 3  1
      SALSAassIV_SIZE* 3  2
      SALSAassMIN_KEY_SIZE*    3
      SALSAassMAX_KEY_SIZE* 3  4 3  5
 3  6

   id3e="L7"> 3  7   id3e="L8"> 3  85 40 1 4  1
 *20_generic.c#L2" id="L2" class="line" nam4e="L2"> 4  2 4  3
   id4e="L4">    4 4  5 4  6
      U32TO8_LITTLE*
      p*
      v* 4  7
      p*
      v*
      p*
      v* 4  85p*
      v*
      p*
      v*U8TO32_LITTLE*
      p* 50 1u32*
      p*u32*
      p* 5  1u32*
      p*u32*
      p* 5  2 5  3
      7" classctx* 5  4    5u32*jax_l* 5  6 5  7 5  85
      7" classwordtobyte*u8*outx_l*u32*jax_l* 60 1u32*
      x* 6  1j* 6  2 6  3memcpy*
      x*jax_l*
      x* 6  4j*j*j* 6  5
      x*rol3 *
      x*
      x*    6
      x*rol3 *
      x*
      x* 6  7
      x*rol3 *
      x*
      x* 6  85x*rol3 *
      x*
      x*x*rol3 *
      x*
      x* 70 1x*rol3 *
      x*
      x* 7  1
      x*rol3 *
      x*
      x* 7  2
      x*rol3 *
      x*
      x* 7  3
      x*rol3 *
      x*
      x* 7  4
      x*rol3 *
      x*
      x* 7  5
      x*rol3 *
      x*
      x* 7  6
      x*rol3 *
      x*
      x*    7
      x*rol3 *
      x*
      x* 7  85x*rol3 *
      x*
      x*x*rol3 *
      x*
      x* 80 1x*rol3 *
      x*
      x* 8  1
      x*rol3 *
      x*
      x* 8  2
      x*rol3 *
      x*
      x* 8  3
      x*rol3 *
      x*
      x* 8  4
      x*rol3 *
      x*
      x* 8  5
      x*rol3 *
      x*
      x* 8  6
      x*rol3 *
      x*
      x* 8  7
      x*rol3 *
      x*
      x*    85x*rol3 *
      x*
      x*x*rol3 *
      x*
      x* 90 1x*rol3 *
      x*
      x* 9  1
      x*rol3 *
      x*
      x* 9  2
      x*rol3 *
      x*
      x* 9  3
      x*rol3 *
      x*
      x* 9  4
      x*rol3 *
      x*
      x* 9  5
      x*rol3 *
      x*
      x* 9  6
      x*rol3 *
      x*
      x* 9  7 9  85j*j*j*x*j*jax_l*j*  00 1j*j*j*  0  1U32TO8_LITTLE*outx_l*j*
      x*j* 10  2 10  3 10  47igma*"exp"hdr32-byte k"sa20_gelneric.c#L7" id="L7" class="line" nam10e="L5"> 10  5tau*"exp"hdr16-byte k"sa20_gelneric.c#L7" id="L7" class="line" nam10e="L6"> 10  6 10  7
      7" classkeysetup*
      7" classctx*
      ctx*u8*k*u32*kbytes* 10  85c&   0 1     1ctx*jax_l*
      U8TO32_LITTLE*k* 11  2ctx*jax_l*
      U8TO32_LITTLE*k* 11  3ctx*jax_l*
      U8TO32_LITTLE*k* 11  4ctx*jax_l*
      U8TO32_LITTLE*k* 11  5kbytes* 11  6k* 11  7c&7igma* 11  85c&tau* 120 1 12  1ctx*jax_l*
      U8TO32_LITTLE*k* 1   2ctx*jax_l*
      U8TO32_LITTLE*k* 12  3ctx*jax_l*
      U8TO32_LITTLE*k* 12  4ctx*jax_l*
      U8TO32_LITTLE*k* 12  5ctx*jax_l*
      U8TO32_LITTLE*c& 12  6ctx*jax_l*
      U8TO32_LITTLE*c& 12  7ctx*jax_l*
      U8TO32_LITTLE*c& 12  85ctx*jax_l*
      U8TO32_LITTLE*c& 130 1 13  1
      7" classivsetup*
      7" classctx*
      ctx*u8*
      iv* 13  2 1   3ctx*jax_l*
      U8TO32_LITTLE*
      iv* 13  4ctx*jax_l*
      U8TO32_LITTLE*
      iv* 13  5ctx*jax_l* 13  6ctx*jax_l* 13  7 13  857" classen" id=_bytes*
      7" classctx*
      ctx*u8*dsl* 140 1u8*
      7rc*bytes* 14  1 14  2u8*buf* 14  3 1   4dsl*
      7rc* 14  5memcpy*dsl*
      7rc*bytes* 14  6 14  7bytes* 14  85
      7" classwordtobyte*buf*
      ctx*jax_l* 150 1ctx*jax_l* 15  1ctx*jax_l* 15  2ctx*jax_l* 15  3 15  4bytes* 1   5
      c id="_xor*dsl*buf*bytes* 15  6 15  7 15  85
      c id="_xor*dsl*buf* 160 1bytes* 16  1dsl* 16  2 16  3 16  4 16  5 1   6   id16e="L7"> 16  7 16  85setkey*c id="_tfm*
      tfm*u8*key* 170 1keysize* 17  1 17  2
      7" classctx*
      ctx*c id="_tfmsctx*
      tfm* 17  3
      7" classkeysetup*
      ctx*key*
      keysize* 17  4 17  5 17  6 1   7
      en" id=*
      blkcipher_desc*
      desc* 17  857catterlisl*dsl*7catterlisl*
      7rc*nbytes* 180 1 18  1blkcipher_walk*walk* 18  2
      c id="_blkcipher*
      tfm*
      desc*
      tfm* 18  3
      7" classctx*
      ctx*c id="_blkcipher_ctx*
      tfm* 18  4err* 18  5 18  6blkcipher_walk_inil*walk*dsl*
      7rc*nbytes* 18  7err*blkcipher_walk_virt_block*
      desc*walk* 1   85
      7" classivsetup*
      ctx*walk*
      iv* 190 1 19  1likely*walk*nbytes*nbytes* 19  2 19  37" classen" id=_bytes*
      ctx*walk*dsl*virt*
      addr* 19  4walk*
      7rc*virt*
      addr*nbytes* 19  5
      blkcipher_walk_done*
      desc*walk* 19  6 19  7 19  85walk*nbytes*7" classen" id=_bytes*
      ctx*walk*dsl*virt*
      addr* 200 1walk*
      7rc*virt*
      addr* 20  1walk*nbytes*walk*nbytes* 20  2err*
      blkcipher_walk_done*
      desc*walk*walk*nbytes* 20  3 20  4 20  5walk*nbytes* 20  67" classen" id=_bytes*
      ctx*walk*dsl*virt*
      addr* 20  7walk*
      7rc*virt*
      addr*walk*nbytes* 20  85err*
      blkcipher_walk_done*
      desc*walk* 2 0 1 2   1
      err* 21  2 21  3 21  4
      c id="_alg*
      alg* 21  5
      c a_ss="*"7" clas"sa20_ge,neric.c#L7" id="L7" class="line" nam21e="L6"> 21  6
      c a_driver_ss="*"7" clas-="line""sa20_ge,neric.c#L7" id="L7" class="line" nam217="L6"> 21  7cra_priority* 21  85cra_flags*CRYPTO_ALG_TYPE_BLKCIPHER*
      c a_typ"*
      c id="_blkcipher_typ"* 220 1cra_blocksize* 22  1cra_ctxsize*
      7" classctx* 2   2cra_alignmask* 22  3cra_module*
      THIS_MODULE* 22  4cra_lisl*LIST_HEAD_INIT*
      alg*cra_lisl* 22  5cra_u* 22  6blkcipher* 22  7setkey*setkey* 22  85
      en" id=*
      en" id=*
      de" id=*
      en" id=* 230 1min_keysize*
      SALSAassMIN_KEY_SIZE* 23  1max_keysize*
      SALSAassMAX_KEY_SIZE* 23  2jvsize*
      SALSAassIV_SIZE* 2   3 23  4 23  5 23  6 23  7__inil*7" class="line"_mod_inil* 23  85c id="_regisler_alg*
      alg* 240 1 24  1 24  2__exil*7" class="line"_mod_fini* 24  3 2   4
      c id="_unregisler_alg*
      alg* 24  5 24  6 24  7module_inil*7" class="line"_mod_inil* 24  85module_exil*7" class="line"_mod_fini* 250 1MODULE_LICENSE*"GPL"sa20_ge)lneric.c#L7" id="L7" class="line" nam25e="L1"> 25  1MODULE_DESCRIPTION*"S" clas stream cipher algorithm"sa20_ge)lneric.c#L7" id="L7" class="line" nam25e="L2"> 25  2MODULE_ALIAS*"7" clas"sa20_ge)lneric.c#L7" id="L7" class="line" nam25e="L3"> 25  3
The original LXR software by the eric.c#L7http://sourceforge.net/projects/lxr">LXR blicunity*
lxr@an ux.no*

lxr.an ux.no kindly hosled by eric.c#L7http://www.redpill-an pro.no">Redpill Ln pro AS*