MCPcopy Create free account

hub / github.com/RustCrypto/utils / functions

Functions599 in github.com/RustCrypto/utils

↓ 57 callersMethodlen
(&self)
inout/src/inout_buf.rs:88
↓ 32 callersFunctiondefault
()
ctutils/src/ct_option.rs:724
↓ 22 callersFunctionparse_zeroize_test
(unparsed: &str)
zeroize_derive/src/lib.rs:440
↓ 17 callersMethodexpect
(self, msg: &str)
ctutils/src/ct_option.rs:125
↓ 17 callersMethodzeroize
(&mut self)
zeroize/tests/zeroize.rs:124
↓ 14 callersMethodunwrap
(self)
ctutils/src/ct_option.rs:444
↓ 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:496
↓ 11 callersMethodis_empty
(&self)
inout/src/inout_buf.rs:95
↓ 10 callersMethodclone
(&self)
zeroize/src/lib.rs:620
↓ 10 callersMethodmap
(self, f: F)
ctutils/src/ct_option.rs:321
↓ 8 callersMethodcmoveq
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/lib.rs:118
↓ 8 callersMethodnot
(self)
ctutils/src/choice.rs:79
↓ 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 callersFunctionmasknz32
(condition: u32)
cmov/src/backends/soft.rs:129
↓ 6 callersMethodsplit_at
(self, mid: usize)
inout/src/inout_buf.rs:217
↓ 5 callersMethodget
(&mut self, pos: usize)
inout/src/inout.rs:136
↓ 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
↓ 4 callersMethodas_mut
(&mut self)
zeroize/src/lib.rs:680
↓ 4 callersFunctionct_select
()
ctutils/src/choice.rs:648
↓ 4 callersFunctiondeserialize
( deserializer: D, )
wycheproof2blb/src/wycheproof.rs:71
↓ 4 callersFunctionfrom_u8_lsb
()
ctutils/src/choice.rs:706
↓ 4 callersMethodis_none
(&self)
ctutils/src/ct_option.rs:243
↓ 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:53
↓ 4 callersMethodset_pos_unchecked
(&mut self, pos: usize)
block-buffer/src/lib.rs:292
↓ 4 callersMethodwrite_block
( &mut self, read_len: usize, gen_block: impl FnOnce(&mut Array<u8, BS>), read
block-buffer/src/read.rs:102
↓ 3 callersMethodas_ref
(&self)
ctutils/src/ct_option.rs:88
↓ 3 callersMethodas_ref
(&self)
zeroize/src/lib.rs:669
↓ 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:588
↓ 3 callersFunctionencode_blobs
(blobs: &[T])
blobby/src/encode.rs:45
↓ 3 callersFunctionfrom_u128_lsb
()
ctutils/src/choice.rs:852
↓ 3 callersFunctionfrom_u16_lsb
()
ctutils/src/choice.rs:743
↓ 3 callersFunctionfrom_u32_lsb
()
ctutils/src/choice.rs:780
↓ 3 callersFunctionfrom_u64_lsb
()
ctutils/src/choice.rs:817
↓ 3 callersFunctiongenerator
(data: &[u8], algorithm: &str, key_size: u32, iv_size: u32)
wycheproof2blb/src/aead.rs:60
↓ 3 callersMethodget_data
(&self)
block-buffer/src/lib.rs:250
↓ 3 callersFunctionget_dit_enabled
()
aarch64-dit/src/lib.rs:92
↓ 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:176
↓ 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 callersMethodunwrap_or
(self, default: T)
ctutils/src/ct_option.rs:456
↓ 3 callersMethodzeroize
(&mut self)
zeroize/src/lib.rs:274
↓ 2 callersMethodas_mut
(&mut self)
ctutils/src/ct_option.rs:78
↓ 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:301
↓ 2 callersFunctionfrom_u64_nz
()
ctutils/src/choice.rs:831
↓ 2 callersFunctiongenerate_fields
(input: &DeriveInput, method: TokenStream)
zeroize_derive/src/lib.rs:328
↓ 2 callersMethodget_in
(&self)
inout/src/reserved.rs:145
↓ 2 callersMethodinto_option
(self)
ctutils/src/ct_option.rs:200
↓ 2 callersMethodinto_raw
(self)
inout/src/reserved.rs:85
↓ 2 callersMethodis_some
(&self)
ctutils/src/ct_option.rs:236
↓ 2 callersMethodis_supported
Check if DIT is supported by this CPU.
aarch64-dit/src/lib.rs:68
↓ 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:367
↓ 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)
aarch64-dit/src/lib.rs:118
↓ 2 callersFunctionset_dit_enabled
()
aarch64-dit/src/lib.rs:108
↓ 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
↓ 2 callersMethodto_bool
(self)
ctutils/src/choice.rs:391
↓ 2 callersMethodto_bool_vartime
(self)
ctutils/src/choice.rs:416
↓ 2 callersMethodto_u8
(self)
ctutils/src/choice.rs:398
↓ 2 callersFunctionvolatile_set
(dst: *mut T, src: T, count: usize)
zeroize/src/lib.rs:748
↓ 2 callersMethodzeroize
(&mut self)
block-buffer/src/lib.rs:427
↓ 1 callersFunctionabsorb_full
( state: &mut [u64; N], block: &[u8; RATE], )
sponge-cursor/src/u64_le_utils.rs:7
↓ 1 callersMethodabsorb_u64_le
( &mut self, state: &mut [u64; N], sponge: fn(&mut [u64; N]), mut data: &[u8],
sponge-cursor/src/lib.rs:91
↓ 1 callersMethodand
(self, mut optb: CtOption<U>)
ctutils/src/ct_option.rs:251
↓ 1 callersMethodand
(self, rhs: Choice)
ctutils/src/choice.rs:58
↓ 1 callersMethodand_then
(self, f: F)
ctutils/src/ct_option.rs:266
↓ 1 callersMethodas_inner_unchecked
(&self)
ctutils/src/ct_option.rs:290
↓ 1 callersMethodclone
(&self)
block-buffer/src/lib.rs:111
↓ 1 callersMethodcmoveq
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/backends/x86.rs:117
next →1–100 of 599, ranked by callers