/dports/security/nettle/nettle-3.7.3/ |
H A D | twofish.c | 367 const uint32_t (*s_box)[256] = context->s_box; in twofish_encrypt() local 385 t1 = ( s_box[1][r1 & 0xFF] in twofish_encrypt() 386 ^ s_box[2][(r1 >> 8) & 0xFF] in twofish_encrypt() 389 t0 = ( s_box[0][r0 & 0xFF] in twofish_encrypt() 397 t1 = ( s_box[1][r3 & 0xFF] in twofish_encrypt() 401 t0 = ( s_box[0][r2 & 0xFF] in twofish_encrypt() 438 const uint32_t (*s_box)[256] = context->s_box; in twofish_decrypt() local 456 t1 = ( s_box[1][r3 & 0xFF] in twofish_decrypt() 460 t0 = ( s_box[0][r2 & 0xFF] in twofish_decrypt() 468 t1 = ( s_box[1][r1 & 0xFF] in twofish_decrypt() [all …]
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/ |
H A D | twofish.c | 367 const uint32_t (*s_box)[256] = context->s_box; in twofish_encrypt() local 385 t1 = ( s_box[1][r1 & 0xFF] in twofish_encrypt() 386 ^ s_box[2][(r1 >> 8) & 0xFF] in twofish_encrypt() 389 t0 = ( s_box[0][r0 & 0xFF] in twofish_encrypt() 397 t1 = ( s_box[1][r3 & 0xFF] in twofish_encrypt() 401 t0 = ( s_box[0][r2 & 0xFF] in twofish_encrypt() 438 const uint32_t (*s_box)[256] = context->s_box; in twofish_decrypt() local 456 t1 = ( s_box[1][r3 & 0xFF] in twofish_decrypt() 460 t0 = ( s_box[0][r2 & 0xFF] in twofish_decrypt() 468 t1 = ( s_box[1][r1 & 0xFF] in twofish_decrypt() [all …]
|
/dports/security/ADMsmb/ADMsmb_0.3/ |
H A D | smbdes.c | 352 unsigned char s_box[256]; 360 s_box[ind] = (unsigned char)ind; 367 j += (s_box[ind] + key[ind%16]); 369 tc = s_box[ind]; 370 s_box[ind] = s_box[j]; 371 s_box[j] = tc; 380 index_j += s_box[index_i]; 382 tc = s_box[index_i]; 383 s_box[index_i] = s_box[index_j]; 384 s_box[index_j] = tc; [all …]
|
/dports/www/middleman/middleman/libntlm/ |
H A D | smbdes.c | 363 unsigned char s_box[256]; in SamOEMhash() local 371 s_box[ind] = (unsigned char)ind; in SamOEMhash() 378 j += (s_box[ind] + key[ind%16]); in SamOEMhash() 380 tc = s_box[ind]; in SamOEMhash() 381 s_box[ind] = s_box[j]; in SamOEMhash() 382 s_box[j] = tc; in SamOEMhash() 390 index_j += s_box[index_i]; in SamOEMhash() 392 tc = s_box[index_i]; in SamOEMhash() 393 s_box[index_i] = s_box[index_j]; in SamOEMhash() 394 s_box[index_j] = tc; in SamOEMhash() [all …]
|
/dports/mail/fetchmailconf/fetchmail-6.4.28/ |
H A D | smbdes.c | 363 unsigned char s_box[256]; in SamOEMhash() local 371 s_box[ind] = (unsigned char)ind; in SamOEMhash() 378 j += (s_box[ind] + key[ind%16]); in SamOEMhash() 380 tc = s_box[ind]; in SamOEMhash() 381 s_box[ind] = s_box[j]; in SamOEMhash() 382 s_box[j] = tc; in SamOEMhash() 390 index_j += s_box[index_i]; in SamOEMhash() 392 tc = s_box[index_i]; in SamOEMhash() 393 s_box[index_i] = s_box[index_j]; in SamOEMhash() 394 s_box[index_j] = tc; in SamOEMhash() [all …]
|
/dports/mail/fetchmail/fetchmail-6.4.28/ |
H A D | smbdes.c | 363 unsigned char s_box[256]; in SamOEMhash() local 371 s_box[ind] = (unsigned char)ind; in SamOEMhash() 378 j += (s_box[ind] + key[ind%16]); in SamOEMhash() 380 tc = s_box[ind]; in SamOEMhash() 381 s_box[ind] = s_box[j]; in SamOEMhash() 382 s_box[j] = tc; in SamOEMhash() 390 index_j += s_box[index_i]; in SamOEMhash() 392 tc = s_box[index_i]; in SamOEMhash() 393 s_box[index_i] = s_box[index_j]; in SamOEMhash() 394 s_box[index_j] = tc; in SamOEMhash() [all …]
|
/dports/misc/mc-nox11/mc-4.8.27/src/vfs/smbfs/helpers/libsmb/ |
H A D | smbdes.c | 398 unsigned char s_box[256]; 406 s_box[ind] = (unsigned char) ind; 415 tc = s_box[ind]; 416 s_box[ind] = s_box[j]; 417 s_box[j] = tc; 425 index_j += s_box[index_i]; 427 tc = s_box[index_i]; 428 s_box[index_i] = s_box[index_j]; 429 s_box[index_j] = tc; 431 t = s_box[index_i] + s_box[index_j]; [all …]
|
/dports/misc/mc/mc-4.8.27/src/vfs/smbfs/helpers/libsmb/ |
H A D | smbdes.c | 398 unsigned char s_box[256]; 406 s_box[ind] = (unsigned char) ind; 415 tc = s_box[ind]; 416 s_box[ind] = s_box[j]; 417 s_box[j] = tc; 425 index_j += s_box[index_i]; 427 tc = s_box[index_i]; 428 s_box[index_i] = s_box[index_j]; 429 s_box[index_j] = tc; 431 t = s_box[index_i] + s_box[index_j]; [all …]
|
/dports/devel/stack/stack-2.7.3/_cabal_deps/cryptonite-0.29/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/cryptonite-0.28/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/cryptonite-0.26/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/cryptonite-0.26/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/lang/elm/compiler-0.19.1/_cabal_deps/cryptonite-0.26/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/cryptonite-0.28/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/cryptonite-0.28/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/cryptonite-0.29/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/devel/hs-darcs/darcs-2.16.4/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/cryptonite-0.29/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/cryptonite-0.28/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|
/dports/www/hs-DAV/DAV-1.3.4/_cabal_deps/cryptonite-0.27/Crypto/Cipher/DES/ |
H A D | Primitive.hs | 128 s_box :: [[Word8]] -> Bits6 -> Bits4 129 s_box s [a,b,c,d,e,f] = to_bool 4 $ (s !! row) !! col function 138 s_box _ _ = error "DES: internal error bits6 more than 6 elements" function 141 s_box_1 = s_box i 148 s_box_2 = s_box i 155 s_box_3 = s_box i 162 s_box_4 = s_box i 169 s_box_5 = s_box i 176 s_box_6 = s_box i 183 s_box_7 = s_box i [all …]
|