MCPcopy Create free account

hub / github.com/RustCrypto/utils / functions

Functions684 in github.com/RustCrypto/utils

↓ 60 callersMethodlen
(&self)
inout/src/inout_buf.rs:88
↓ 32 callersFunctiondefault
()
ctutils/src/ct_option.rs:722
↓ 22 callersFunctionparse_zeroize_test
(unparsed: &str)
zeroize_derive/src/lib.rs:440
↓ 20 callersMethodunwrap
(self)
ctutils/src/ct_option.rs:442
↓ 17 callersMethodexpect
(self, msg: &str)
ctutils/src/ct_option.rs:125
↓ 17 callersMethodzeroize
(&mut self)
zeroize/tests/zeroize.rs:136
↓ 15 callersMethodto_u8
(self)
ctutils/src/choice.rs:422
↓ 14 callersMethodis_empty
(&self)
inout/src/inout_buf.rs:95
↓ 12 callersMethodmap
(self, f: F)
ctutils/src/ct_option.rs:319
↓ 12 callersMethodnot
(self)
ctutils/src/choice.rs:63
↓ 12 callersMethodzip
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 callersMethodclone
(&self)
zeroize/src/lib.rs:606
↓ 8 callersMethodcmoveq
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/lib.rs:118
↓ 7 callersMethodget_pos
(&self)
block-buffer/src/lib.rs:236
↓ 7 callersMethodtry_into
(self)
inout/src/inout_buf.rs:289
↓ 7 callersMethodunwrap
Unwrap the `Pad` variant. # Panics If `self` is a variant other than [`PaddedData::Pad`].
block-padding/src/lib.rs:404
↓ 6 callersFunctiondescription
Build a description for a test case in a suite
wycheproof2blb/src/wycheproof.rs:119
↓ 6 callersMethoddigest_blocks
(&mut self, mut input: &[u8], mut compress: impl FnMut(&[Array<u8, BS>]))
block-buffer/src/lib.rs:160
↓ 6 callersMethoddigest_pad
( &mut self, delim: u8, suffix: &[u8], mut compress: impl FnMut(&Array<u8, BS>
block-buffer/src/lib.rs:366
↓ 6 callersMethodget
(&mut self, pos: usize)
inout/src/inout.rs:136
↓ 6 callersFunctionmasknz32
(condition: u32)
cmov/src/backends/soft.rs:129
↓ 6 callersMethodsplit_at
(self, mid: usize)
inout/src/inout_buf.rs:217
↓ 5 callersFunctionfrom_u8_lsb
()
ctutils/src/choice.rs:730
↓ 5 callersMethodsize
(&self)
block-buffer/src/lib.rs:273
↓ 5 callersFunctiontest_derive
( f: impl Fn(DeriveInput) -> TokenStream, input: TokenStream, expected_output: TokenSt
zeroize_derive/src/lib.rs:430
↓ 5 callersMethodto_bool
(self)
ctutils/src/choice.rs:416
↓ 5 callersMethodunwrap_or
(self, default: T)
ctutils/src/ct_option.rs:454
↓ 4 callersMethodas_mut
(&mut self)
zeroize/src/lib.rs:666
↓ 4 callersMethodas_ref
(&self)
ctutils/src/ct_option.rs:88
↓ 4 callersFunctionct_select
()
ctutils/src/choice.rs:672
↓ 4 callersFunctiondeserialize
( deserializer: D, )
wycheproof2blb/src/wycheproof.rs:71
↓ 4 callersFunctionfrom_u32_nz
()
ctutils/src/choice.rs:820
↓ 4 callersMethodget_in
(&self)
inout/src/inout.rs:27
↓ 4 callersMethodget_out
(&mut self)
inout/src/inout.rs:33
↓ 4 callersFunctioninputs
()
ctutils/checkct/driver/src/driver.rs:87
↓ 4 callersMethodis_none
(&self)
ctutils/src/ct_option.rs:241
↓ 4 callersFunctionmasknz64
(condition: u64)
cmov/src/backends/soft.rs:138
↓ 4 callersFunctionmasksel
(a: T, b: T, mask: T)
cmov/src/backends/soft.rs:214
↓ 4 callersFunctionoptimization_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 callersMethodset_pos_unchecked
(&mut self, pos: usize)
block-buffer/src/lib.rs:292
↓ 4 callersMethodto_u32_mask
(self)
ctutils/src/choice.rs:482
↓ 4 callersMethodwrite_block
( &mut self, read_len: usize, gen_block: impl FnOnce(&mut Array<u8, BS>), read
block-buffer/src/read.rs:102
↓ 4 callersMethodzeroize
(&mut self)
zeroize/src/lib.rs:282
↓ 3 callersMethodas_ref
(&self)
zeroize/src/lib.rs:655
↓ 3 callersMethodcmovne
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/lib.rs:123
↓ 3 callersMethodcmovnz
(&mut self, value: &Self, condition: Condition)
cmov/src/lib.rs:76
↓ 3 callersMethodcmovz
(&mut self, value: &Self, condition: Condition)
cmov/src/lib.rs:84
↓ 3 callersMethodct_assign
(&mut self, src: &[T], choice: Choice)
ctutils/src/traits/ct_assign.rs:57
↓ 3 callersMethodct_eq
(&self, other: &Self)
ctutils/src/traits/ct_eq.rs:66
↓ 3 callersMethodct_select
(&self, other: &Self, choice: Choice)
ctutils/src/ct_option.rs:586
↓ 3 callersFunctionencode_blobs
(blobs: &[T])
blobby/src/encode.rs:45
↓ 3 callersFunctionfrom_u128_lsb
()
ctutils/src/choice.rs:876
↓ 3 callersFunctionfrom_u128_lt
()
ctutils/src/choice.rs:882
↓ 3 callersFunctiongenerator
(data: &[u8], algorithm: &str, key_size: u32, iv_size: u32)
wycheproof2blb/src/aead.rs:60
↓ 3 callersMethodget_blocks
(&mut self)
inout/src/reserved.rs:232
↓ 3 callersMethodget_data
(&self)
block-buffer/src/lib.rs:250
↓ 3 callersFunctionget_dit_enabled
()
dit/src/lib.rs:101
↓ 3 callersMethodget_pos
(&self)
block-buffer/src/read.rs:42
↓ 3 callersFunctioninit
()
cpufeatures/tests/x86.rs:8
↓ 3 callersMethodinsert_if
Conditionally inserts `value` into the [`CtOption`] if the given condition holds.
ctutils/src/ct_option.rs:175
↓ 3 callersMethodinto_iter
(self)
inout/src/inout_buf.rs:50
↓ 3 callersFunctionread_vlq
(data: &mut &[u8])
blobby/src/decode.rs:3
↓ 3 callersMethodserialize
(&self)
block-buffer/src/lib.rs:325
↓ 3 callersMethodset_data_unchecked
(&mut self, buf: &[u8])
block-buffer/src/lib.rs:304
↓ 3 callersMethodset_pos_unchecked
(&mut self, pos: usize)
block-buffer/src/read.rs:72
↓ 3 callersFunctionslice_as_chunks
(slice: &[T])
cmov/src/slice.rs:420
↓ 3 callersFunctionzeroize_byte_ptr
(dst: *mut u8, len: usize)
zeroize/src/bulk.rs:44
↓ 2 callersMethodas_deref
(&self)
ctutils/src/ct_option.rs:99
↓ 2 callersFunctionattr_skip
(attrs: &[Attribute])
zeroize_derive/src/lib.rs:394
↓ 2 callersMethodclone
(&self)
block-buffer/src/read.rs:33
↓ 2 callersFunctionderive_zeroize_impl
(input: DeriveInput)
zeroize_derive/src/lib.rs:38
↓ 2 callersFunctionencode_vlq
(mut val: usize, buf: &mut [u8; 4])
blobby/src/encode.rs:7
↓ 2 callersMethodfilter
(mut self, predicate: P)
ctutils/src/ct_option.rs:299
↓ 2 callersFunctionfrom_u128_le
()
ctutils/src/choice.rs:868
↓ 2 callersFunctionfrom_u16_lsb
()
ctutils/src/choice.rs:767
↓ 2 callersFunctionfrom_u32_lt
()
ctutils/src/choice.rs:812
↓ 2 callersFunctionfrom_u64_lt
()
ctutils/src/choice.rs:847
↓ 2 callersFunctionfrom_u64_nz
()
ctutils/src/choice.rs:855
↓ 2 callersFunctiongenerate_fields
(input: &DeriveInput, method: TokenStream)
zeroize_derive/src/lib.rs:328
↓ 2 callersMethodget_tail_block
(&mut self)
inout/src/reserved.rs:240
↓ 2 callersMethodinto_option
(self)
ctutils/src/ct_option.rs:199
↓ 2 callersMethodinto_out
(self)
inout/src/inout.rs:59
↓ 2 callersMethodis_some
(&self)
ctutils/src/ct_option.rs:234
↓ 2 callersMethodis_supported
Check if DIT is supported by this CPU.
dit/src/lib.rs:71
↓ 2 callersFunctionleading_zeros_u32_soft
(mut value: u32)
ctutils/src/primitives.rs:271
↓ 2 callersFunctionmaskne32
(x: u32, y: u32)
cmov/src/backends/soft.rs:114
↓ 2 callersFunctionmaskne64
(x: u64, y: u64)
cmov/src/backends/soft.rs:120
↓ 2 callersFunctionnext_byte
(string: &[u8], pos: usize)
hex-literal/src/lib.rs:25
↓ 2 callersMethodok_or
(self, err: E)
ctutils/src/ct_option.rs:365
↓ 2 callersMethodor
(self, rhs: Choice)
ctutils/src/choice.rs:49
↓ 2 callersFunctionparse_into_vec
(mut data: &[u8])
blobby/src/decode.rs:142
↓ 2 callersMethodpos
(&self)
sponge-cursor/src/lib.rs:65
↓ 2 callersMethodread_cached
(&mut self, len: usize)
block-buffer/src/read.rs:82
↓ 2 callersMethodremaining
(&self)
block-buffer/src/read.rs:62
↓ 2 callersMethodreset
(&mut self)
block-buffer/src/lib.rs:217
↓ 2 callersFunctionrestore_dit
(enabled: bool)
dit/src/lib.rs:129
↓ 2 callersFunctionset_dit_enabled
()
dit/src/lib.rs:118
↓ 2 callersMethodset_pos
Set new cursor position. # Panics If `new_pos` is greater or equal to `RATE`.
sponge-cursor/src/lib.rs:80
↓ 2 callersFunctionslice_to_word
(slice: &[T])
cmov/src/slice.rs:377
↓ 2 callersMethodsqueeze_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