Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ functions
Functions
684 in github.com/RustCrypto/utils
⨍
Functions
684
◇
Types & classes
115
↓ 60 callers
Method
len
(&self)
inout/src/inout_buf.rs:88
↓ 32 callers
Function
default
()
ctutils/src/ct_option.rs:722
↓ 22 callers
Function
parse_zeroize_test
(unparsed: &str)
zeroize_derive/src/lib.rs:440
↓ 20 callers
Method
unwrap
(self)
ctutils/src/ct_option.rs:442
↓ 17 callers
Method
expect
(self, msg: &str)
ctutils/src/ct_option.rs:125
↓ 17 callers
Method
zeroize
(&mut self)
zeroize/tests/zeroize.rs:136
↓ 15 callers
Method
to_u8
(self)
ctutils/src/choice.rs:422
↓ 14 callers
Method
is_empty
(&self)
inout/src/inout_buf.rs:95
↓ 12 callers
Method
map
(self, f: F)
ctutils/src/ct_option.rs:319
↓ 12 callers
Method
not
(self)
ctutils/src/choice.rs:63
↓ 12 callers
Method
zip
Zips `self` with another [`CtOption`]. If `self.is_some() && other.is_some()`, this method returns a new [`CtOption`] for a 2-tuple of their contents
ctutils/src/ct_option.rs:494
↓ 10 callers
Method
clone
(&self)
zeroize/src/lib.rs:606
↓ 8 callers
Method
cmoveq
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/lib.rs:118
↓ 7 callers
Method
get_pos
(&self)
block-buffer/src/lib.rs:236
↓ 7 callers
Method
try_into
(self)
inout/src/inout_buf.rs:289
↓ 7 callers
Method
unwrap
Unwrap the `Pad` variant. # Panics If `self` is a variant other than [`PaddedData::Pad`].
block-padding/src/lib.rs:404
↓ 6 callers
Function
description
Build a description for a test case in a suite
wycheproof2blb/src/wycheproof.rs:119
↓ 6 callers
Method
digest_blocks
(&mut self, mut input: &[u8], mut compress: impl FnMut(&[Array<u8, BS>]))
block-buffer/src/lib.rs:160
↓ 6 callers
Method
digest_pad
( &mut self, delim: u8, suffix: &[u8], mut compress: impl FnMut(&Array<u8, BS>
block-buffer/src/lib.rs:366
↓ 6 callers
Method
get
(&mut self, pos: usize)
inout/src/inout.rs:136
↓ 6 callers
Function
masknz32
(condition: u32)
cmov/src/backends/soft.rs:129
↓ 6 callers
Method
split_at
(self, mid: usize)
inout/src/inout_buf.rs:217
↓ 5 callers
Function
from_u8_lsb
()
ctutils/src/choice.rs:730
↓ 5 callers
Method
size
(&self)
block-buffer/src/lib.rs:273
↓ 5 callers
Function
test_derive
( f: impl Fn(DeriveInput) -> TokenStream, input: TokenStream, expected_output: TokenSt
zeroize_derive/src/lib.rs:430
↓ 5 callers
Method
to_bool
(self)
ctutils/src/choice.rs:416
↓ 5 callers
Method
unwrap_or
(self, default: T)
ctutils/src/ct_option.rs:454
↓ 4 callers
Method
as_mut
(&mut self)
zeroize/src/lib.rs:666
↓ 4 callers
Method
as_ref
(&self)
ctutils/src/ct_option.rs:88
↓ 4 callers
Function
ct_select
()
ctutils/src/choice.rs:672
↓ 4 callers
Function
deserialize
( deserializer: D, )
wycheproof2blb/src/wycheproof.rs:71
↓ 4 callers
Function
from_u32_nz
()
ctutils/src/choice.rs:820
↓ 4 callers
Method
get_in
(&self)
inout/src/inout.rs:27
↓ 4 callers
Method
get_out
(&mut self)
inout/src/inout.rs:33
↓ 4 callers
Function
inputs
()
ctutils/checkct/driver/src/driver.rs:87
↓ 4 callers
Method
is_none
(&self)
ctutils/src/ct_option.rs:241
↓ 4 callers
Function
masknz64
(condition: u64)
cmov/src/backends/soft.rs:138
↓ 4 callers
Function
masksel
(a: T, b: T, mask: T)
cmov/src/backends/soft.rs:214
↓ 4 callers
Function
optimization_barrier
Observe the referenced data and prevent the compiler from removing previous writes to it. This function acts like [`core::hint::black_box`] but takes
zeroize/src/barrier.rs:52
↓ 4 callers
Method
set_pos_unchecked
(&mut self, pos: usize)
block-buffer/src/lib.rs:292
↓ 4 callers
Method
to_u32_mask
(self)
ctutils/src/choice.rs:482
↓ 4 callers
Method
write_block
( &mut self, read_len: usize, gen_block: impl FnOnce(&mut Array<u8, BS>), read
block-buffer/src/read.rs:102
↓ 4 callers
Method
zeroize
(&mut self)
zeroize/src/lib.rs:282
↓ 3 callers
Method
as_ref
(&self)
zeroize/src/lib.rs:655
↓ 3 callers
Method
cmovne
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/lib.rs:123
↓ 3 callers
Method
cmovnz
(&mut self, value: &Self, condition: Condition)
cmov/src/lib.rs:76
↓ 3 callers
Method
cmovz
(&mut self, value: &Self, condition: Condition)
cmov/src/lib.rs:84
↓ 3 callers
Method
ct_assign
(&mut self, src: &[T], choice: Choice)
ctutils/src/traits/ct_assign.rs:57
↓ 3 callers
Method
ct_eq
(&self, other: &Self)
ctutils/src/traits/ct_eq.rs:66
↓ 3 callers
Method
ct_select
(&self, other: &Self, choice: Choice)
ctutils/src/ct_option.rs:586
↓ 3 callers
Function
encode_blobs
(blobs: &[T])
blobby/src/encode.rs:45
↓ 3 callers
Function
from_u128_lsb
()
ctutils/src/choice.rs:876
↓ 3 callers
Function
from_u128_lt
()
ctutils/src/choice.rs:882
↓ 3 callers
Function
generator
(data: &[u8], algorithm: &str, key_size: u32, iv_size: u32)
wycheproof2blb/src/aead.rs:60
↓ 3 callers
Method
get_blocks
(&mut self)
inout/src/reserved.rs:232
↓ 3 callers
Method
get_data
(&self)
block-buffer/src/lib.rs:250
↓ 3 callers
Function
get_dit_enabled
()
dit/src/lib.rs:101
↓ 3 callers
Method
get_pos
(&self)
block-buffer/src/read.rs:42
↓ 3 callers
Function
init
()
cpufeatures/tests/x86.rs:8
↓ 3 callers
Method
insert_if
Conditionally inserts `value` into the [`CtOption`] if the given condition holds.
ctutils/src/ct_option.rs:175
↓ 3 callers
Method
into_iter
(self)
inout/src/inout_buf.rs:50
↓ 3 callers
Function
read_vlq
(data: &mut &[u8])
blobby/src/decode.rs:3
↓ 3 callers
Method
serialize
(&self)
block-buffer/src/lib.rs:325
↓ 3 callers
Method
set_data_unchecked
(&mut self, buf: &[u8])
block-buffer/src/lib.rs:304
↓ 3 callers
Method
set_pos_unchecked
(&mut self, pos: usize)
block-buffer/src/read.rs:72
↓ 3 callers
Function
slice_as_chunks
(slice: &[T])
cmov/src/slice.rs:420
↓ 3 callers
Function
zeroize_byte_ptr
(dst: *mut u8, len: usize)
zeroize/src/bulk.rs:44
↓ 2 callers
Method
as_deref
(&self)
ctutils/src/ct_option.rs:99
↓ 2 callers
Function
attr_skip
(attrs: &[Attribute])
zeroize_derive/src/lib.rs:394
↓ 2 callers
Method
clone
(&self)
block-buffer/src/read.rs:33
↓ 2 callers
Function
derive_zeroize_impl
(input: DeriveInput)
zeroize_derive/src/lib.rs:38
↓ 2 callers
Function
encode_vlq
(mut val: usize, buf: &mut [u8; 4])
blobby/src/encode.rs:7
↓ 2 callers
Method
filter
(mut self, predicate: P)
ctutils/src/ct_option.rs:299
↓ 2 callers
Function
from_u128_le
()
ctutils/src/choice.rs:868
↓ 2 callers
Function
from_u16_lsb
()
ctutils/src/choice.rs:767
↓ 2 callers
Function
from_u32_lt
()
ctutils/src/choice.rs:812
↓ 2 callers
Function
from_u64_lt
()
ctutils/src/choice.rs:847
↓ 2 callers
Function
from_u64_nz
()
ctutils/src/choice.rs:855
↓ 2 callers
Function
generate_fields
(input: &DeriveInput, method: TokenStream)
zeroize_derive/src/lib.rs:328
↓ 2 callers
Method
get_tail_block
(&mut self)
inout/src/reserved.rs:240
↓ 2 callers
Method
into_option
(self)
ctutils/src/ct_option.rs:199
↓ 2 callers
Method
into_out
(self)
inout/src/inout.rs:59
↓ 2 callers
Method
is_some
(&self)
ctutils/src/ct_option.rs:234
↓ 2 callers
Method
is_supported
Check if DIT is supported by this CPU.
dit/src/lib.rs:71
↓ 2 callers
Function
leading_zeros_u32_soft
(mut value: u32)
ctutils/src/primitives.rs:271
↓ 2 callers
Function
maskne32
(x: u32, y: u32)
cmov/src/backends/soft.rs:114
↓ 2 callers
Function
maskne64
(x: u64, y: u64)
cmov/src/backends/soft.rs:120
↓ 2 callers
Function
next_byte
(string: &[u8], pos: usize)
hex-literal/src/lib.rs:25
↓ 2 callers
Method
ok_or
(self, err: E)
ctutils/src/ct_option.rs:365
↓ 2 callers
Method
or
(self, rhs: Choice)
ctutils/src/choice.rs:49
↓ 2 callers
Function
parse_into_vec
(mut data: &[u8])
blobby/src/decode.rs:142
↓ 2 callers
Method
pos
(&self)
sponge-cursor/src/lib.rs:65
↓ 2 callers
Method
read_cached
(&mut self, len: usize)
block-buffer/src/read.rs:82
↓ 2 callers
Method
remaining
(&self)
block-buffer/src/read.rs:62
↓ 2 callers
Method
reset
(&mut self)
block-buffer/src/lib.rs:217
↓ 2 callers
Function
restore_dit
(enabled: bool)
dit/src/lib.rs:129
↓ 2 callers
Function
set_dit_enabled
()
dit/src/lib.rs:118
↓ 2 callers
Method
set_pos
Set new cursor position. # Panics If `new_pos` is greater or equal to `RATE`.
sponge-cursor/src/lib.rs:80
↓ 2 callers
Function
slice_to_word
(slice: &[T])
cmov/src/slice.rs:377
↓ 2 callers
Method
squeeze_inner_u64_le
( &mut self, state: &mut [u64; N], sponge: fn(&mut [u64; N]), mut buf: &mut [u
sponge-cursor/src/lib.rs:180
next →
1–100 of 684, ranked by callers