MCPcopy Create free account

hub / github.com/RustCrypto/block-ciphers / functions

Functions625 in github.com/RustCrypto/block-ciphers

↓ 21 callersMethodrotate_left
(self, n: Self)
rc5/src/primitives.rs:78
↓ 19 callersMethodadd
(&self, a: u16, b: u16)
idea/src/lib.rs:155
↓ 17 callersMethodto_le_bytes
(self)
rc5/src/primitives.rs:93
↓ 15 callersMethodrotate_right
(self, n: Self)
rc5/src/primitives.rs:83
↓ 13 callersFunctionbitslice
Bitslice four 128-bit input blocks input0, input1, input2, input3 into a 512-bit internal state.
aes/src/soft/fixslice64.rs:1193
↓ 13 callersMethodwrapping_add
(self, rhs: Self)
rc5/src/primitives.rs:69
↓ 12 callersFunctionbitslice
Bitslice two 128-bit input blocks input0, input1 into a 256-bit internal state.
aes/src/soft/fixslice32.rs:1168
↓ 9 callersFunctioninv_bitslice
Un-bitslice a 256-bit internal state into two 128-bit blocks of output.
aes/src/soft/fixslice32.rs:1229
↓ 9 callersFunctioninv_bitslice
Un-bitslice a 512-bit internal state into four 128-bit blocks of output.
aes/src/soft/fixslice64.rs:1270
↓ 9 callersFunctionror_distance
(rows: u32, cols: u32)
aes/src/soft/fixslice32.rs:1325
↓ 9 callersFunctionror_distance
(rows: u32, cols: u32)
aes/src/soft/fixslice64.rs:1380
↓ 9 callersFunctionswapmovesingle
(a: &mut u32, mask: u32, n: u8)
gift-cipher/src/primitives.rs:64
↓ 8 callersFunctionror
(x: u32, y: u32)
aes/src/soft/fixslice32.rs:1320
↓ 8 callersFunctionror
(x: u64, y: u32)
aes/src/soft/fixslice64.rs:1375
↓ 8 callersFunctionsub_bytes
Bitsliced implementation of the AES Sbox based on Boyar, Peralta and Calik. See: <http://www.cs.yale.edu/homes/peralta/CircuitStuff/SLP_AES_113.txt>
aes/src/soft/fixslice32.rs:777
↓ 8 callersFunctionsub_bytes
Bitsliced implementation of the AES Sbox based on Boyar, Peralta and Calik. See: <http://www.cs.yale.edu/homes/peralta/CircuitStuff/SLP_AES_113.txt>
aes/src/soft/fixslice64.rs:800
↓ 7 callersFunctionsub_bytes_nots
(state: &mut [u32])
aes/src/soft/fixslice32.rs:950
↓ 7 callersFunctionsub_bytes_nots
(state: &mut [u64])
aes/src/soft/fixslice64.rs:973
↓ 6 callersFunctionadd_round_key
(state: &mut State, rkey: &[u32])
aes/src/soft/fixslice32.rs:1307
↓ 6 callersFunctionadd_round_key
(state: &mut State, rkey: &[u64])
aes/src/soft/fixslice64.rs:1362
↓ 6 callersMethoddecrypt_block
(&self, mut block: InOut<'_, '_, cipher::Block<Self>>)
rc5/src/lib.rs:395
↓ 6 callersMethodencrypt_block
(&self, mut block: InOut<'_, '_, cipher::Block<Self>>)
rc5/src/lib.rs:325
↓ 6 callersFunctioninv_shift_rows_2
(state: &mut [u32])
aes/src/soft/fixslice32.rs:1140
↓ 6 callersFunctioninv_shift_rows_2
(state: &mut [u64])
aes/src/soft/fixslice64.rs:1163
↓ 6 callersMethodwrapping_sub
(self, rhs: Self)
rc5/src/primitives.rs:73
↓ 5 callersFunctionfe
(x128: u128)
aria/src/utils.rs:62
↓ 5 callersFunctionfo
(x128: u128)
aria/src/utils.rs:40
↓ 5 callersFunctioninv_shift_rows_1
(state: &mut [u32])
aes/src/soft/fixslice32.rs:1135
↓ 5 callersFunctioninv_shift_rows_1
(state: &mut [u64])
aes/src/soft/fixslice64.rs:1158
↓ 5 callersFunctioninv_sub_bytes
Note that the 4 bitwise NOT (^= 0xffffffff) are accounted for here so that it is a true inverse of 'sub_bytes'.
aes/src/soft/fixslice32.rs:568
↓ 5 callersFunctioninv_sub_bytes
Note that the 4 bitwise NOT (^= 0xffffffffffffffff) are accounted for here so that it is a true inverse of 'sub_bytes'.
aes/src/soft/fixslice64.rs:591
↓ 5 callersFunctionror
(x: &u32, y: &u32)
gift-cipher/src/primitives.rs:7
↓ 5 callersFunctionto_u32
(src: &[u8])
belt-block/src/lib.rs:173
↓ 5 callersMethodwrapping_mul
(self, rhs: Self)
rc6/src/core/primitives.rs:63
↓ 5 callersFunctionx
(a: &mut Block, b: &Block)
kuznyechik/src/compact_soft/backends.rs:13
↓ 4 callersFunctionbelt_block_raw
(x: [u32; 4], key: &[u32; 8])
belt-block/src/lib.rs:65
↓ 4 callersFunctionbitslice_block
Perform a bitslice operation, loading a single block.
aes/src/soft/fixslice32.rs:1390
↓ 4 callersMethoddecrypt_block
(&self, block: InOut<'_, '_, Block<Self>>)
rc6/src/block_cipher.rs:302
↓ 4 callersMethodencrypt
(&self, [mut l, mut r]: [u32; 2])
blowfish/src/lib.rs:100
↓ 4 callersMethodencrypt_block
(&self, block: InOut<'_, '_, Block<Self>>)
rc6/src/block_cipher.rs:189
↓ 4 callersFunctionexpand_key
(key: &[u8; L])
aes/src/armv8/expand.rs:21
↓ 4 callersFunctionf
F-function of component of Camellia defined in RFC 3713.
camellia/src/utils.rs:4
↓ 4 callersFunctioninv_bitslice_block
Perform an inverse bitslice operation, extracting a single block.
aes/src/soft/fixslice32.rs:1397
↓ 4 callersFunctioninv_bitslice_block
Perform an inverse bitslice operation, extracting a single block.
aes/src/soft/fixslice64.rs:1452
↓ 4 callersMethodrotate_left
(self, n: Self)
rc6/src/core/primitives.rs:68
↓ 4 callersFunctionshift_rows_2
(state: &mut [u32])
aes/src/soft/fixslice32.rs:1117
↓ 4 callersFunctionshift_rows_2
(state: &mut [u64])
aes/src/soft/fixslice64.rs:1140
↓ 4 callersFunctiontransform
(block: u128, table: &Table)
kuznyechik/src/big_soft/backends.rs:30
↓ 4 callersFunctiontransform
(block: uint8x16_t, table: &Table)
kuznyechik/src/neon/backends.rs:83
↓ 4 callersFunctiontransform
(block: __m128i, table: &Table)
kuznyechik/src/sse2/backends.rs:67
↓ 4 callersMethodwrapping_add
(self, rhs: Self)
rc6/src/core/primitives.rs:53
↓ 4 callersFunctionxor_in_place
XOR the `src` block into the `dst` block in-place.
aes/src/soft/fixslice32.rs:1383
↓ 4 callersFunctionxor_in_place
XOR the `src` block into the `dst` block in-place.
aes/src/soft/fixslice64.rs:1438
↓ 3 callersFunctiona
(x128: u128)
aria/src/utils.rs:13
↓ 3 callersFunctionadd_round_constant_bit
(state: &mut [u32], bit: usize)
aes/src/soft/fixslice32.rs:1315
↓ 3 callersFunctionadd_round_constant_bit
(state: &mut [u64], bit: usize)
aes/src/soft/fixslice64.rs:1370
↓ 3 callersFunctionbitslice_block
Perform a bitslice operation, loading a single block.
aes/src/soft/fixslice64.rs:1445
↓ 3 callersFunctioncheck
(a: &[__m128i], b: &[[u64; 2]])
aes/src/ni/test_expand.rs:4
↓ 3 callersFunctioncheck
(a: &[__m128i], b: &[[u64; 2]])
aes/src/x86/ni/test_expand.rs:5
↓ 3 callersMethoddecrypt
(&self, mut data: u64)
des/src/des.rs:33
↓ 3 callersMethoddecrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
rc2/src/lib.rs:227
↓ 3 callersMethoddecrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
aria/src/lib.rs:116
↓ 3 callersFunctiondelta_swap
Swap bits in `a` using a delta swap
des/src/utils.rs:4
↓ 3 callersFunctiondelta_swap_1
(a: &mut u32, shift: u32, mask: u32)
aes/src/soft/fixslice32.rs:1092
↓ 3 callersFunctiondelta_swap_1
(a: &mut u64, shift: u32, mask: u64)
aes/src/soft/fixslice64.rs:1115
↓ 3 callersFunctiondiffuse
(x: [u8; 16])
aria/src/utils.rs:4
↓ 3 callersMethodencrypt
(&self, mut data: u64)
des/src/des.rs:25
↓ 3 callersMethodencrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
rc2/src/lib.rs:192
↓ 3 callersMethodencrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
aria/src/lib.rs:91
↓ 3 callersFunctionexpand_key
(key: &[u8; 16])
aes/src/x86/ni/expand.rs:14
↓ 3 callersFunctioninv_shift_rows_3
(state: &mut [u32])
aes/src/soft/fixslice32.rs:1146
↓ 3 callersFunctioninv_shift_rows_3
(state: &mut [u64])
aes/src/soft/fixslice64.rs:1169
↓ 3 callersFunctionl_step
(mut msg: [u8; 16], i: usize)
kuznyechik/src/utils.rs:13
↓ 3 callersFunctionset_ka
(kl: (u64, u64), kr: (u64, u64))
camellia/src/utils.rs:47
↓ 3 callersFunctionshift_rows_1
(state: &mut [u32])
aes/src/soft/fixslice32.rs:1107
↓ 3 callersFunctionshift_rows_1
(state: &mut [u64])
aes/src/soft/fixslice64.rs:1130
↓ 3 callersFunctionto_u32
(chunk: &[u8])
magma/src/lib.rs:209
↓ 3 callersFunctionto_u32s
(src: &[u8])
cast6/src/lib.rs:310
↓ 2 callersFunctionapply_s
(index: usize, [w1, w2, w3, w4]: Words)
serpent/src/bitslice.rs:47
↓ 2 callersMethodbitxor
(self, other: Self)
rc6/src/core/primitives.rs:88
↓ 2 callersMethodbitxor
(self, other: Self)
rc5/src/primitives.rs:98
↓ 2 callersFunctionbyte_ror_2
(x: &u32)
gift-cipher/src/primitives.rs:12
↓ 2 callersFunctionbyte_ror_4
(x: &u32)
gift-cipher/src/primitives.rs:17
↓ 2 callersFunctionbyte_ror_6
(x: &u32)
gift-cipher/src/primitives.rs:22
↓ 2 callersMethodcrypt
(&self, mut block: InOut<'_, '_, Block<Self>>, sub_keys: &[u16; LENGTH_SUB_KEYS])
idea/src/lib.rs:98
↓ 2 callersMethoddecrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
sm4/src/lib.rs:157
↓ 2 callersMethoddecrypt_block
(&self, block: InOut<'_, '_, Block>)
kuznyechik/src/neon/backends.rs:261
↓ 2 callersFunctiondelta_swap_2
(a: &mut u32, b: &mut u32, shift: u32, mask: u32)
aes/src/soft/fixslice32.rs:1098
↓ 2 callersFunctiondelta_swap_2
(a: &mut u64, b: &mut u64, shift: u32, mask: u64)
aes/src/soft/fixslice64.rs:1121
↓ 2 callersMethodencrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
cast5/src/lib.rs:178
↓ 2 callersMethodencrypt_block
(&self, mut block: InOut<'_, '_, Block<Self>>)
sm4/src/lib.rs:123
↓ 2 callersMethodencrypt_block
(&self, block: InOut<'_, '_, Block>)
kuznyechik/src/neon/backends.rs:202
↓ 2 callersMethodexpand_key
(&mut self, key: &[u8])
blowfish/src/lib.rs:71
↓ 2 callersFunctionfl
FL-function of component of Camellia defined in RFC 3713.
camellia/src/utils.rs:20
↓ 2 callersFunctionflinv
FLINV-function of component of Camellia defined in RFC 3713.
camellia/src/utils.rs:34
↓ 2 callersFunctionforward_quad
(beta: &mut [u32; 4], m: &[u32; 4], r: &[u8; 4])
cast6/src/lib.rs:122
↓ 2 callersFunctionfp
Swap bits using the reverse FP table
des/src/utils.rs:44
↓ 2 callersFunctionfrom_u32
(src: &[u32])
belt-block/src/lib.rs:183
↓ 2 callersMethodg_func
(&self, x: u32)
twofish/src/lib.rs:135
↓ 2 callersFunctiongen_keys
Generate the 16 subkeys
des/src/utils.rs:97
next →1–100 of 625, ranked by callers