Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ functions
Functions
599 in github.com/RustCrypto/utils
⨍
Functions
599
◇
Types & classes
109
↓ 1 callers
Method
cmovne
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/slice.rs:210
↓ 1 callers
Method
cmovne
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/backends/x86.rs:129
↓ 1 callers
Function
cmovne_remainder
( a_remainder: &[T], b_remainder: &[T], input: Condition, output: &mut Condition, )
cmov/src/slice.rs:348
↓ 1 callers
Method
cmovnz
(&mut self, value: &Self, condition: Condition)
cmov/src/slice.rs:41
↓ 1 callers
Function
cmovnz_remainder
(dst_remainder: &mut [T], src_remainder: &[T], condition: Condition)
cmov/src/slice.rs:365
↓ 1 callers
Method
copied
(self)
ctutils/src/ct_option.rs:520
↓ 1 callers
Method
ct_assign
(&mut self, other: &Self, choice: Choice)
ctutils/src/ct_option.rs:570
↓ 1 callers
Function
ct_eq
()
ctutils/src/ct_option.rs:707
↓ 1 callers
Function
ct_eq
()
ctutils/src/choice.rs:633
↓ 1 callers
Function
ct_select
()
ctutils/src/ct_option.rs:716
↓ 1 callers
Method
ct_select
(&self, other: &Self, choice: Choice)
ctutils/src/traits/ct_select.rs:59
↓ 1 callers
Function
custom_black_box
(p: *const u8)
zeroize/src/barrier.rs:93
↓ 1 callers
Function
data
Retrieve Wycheproof test vectors from the given filename in a Wycheproof repo.
wycheproof2blb/src/wycheproof.rs:110
↓ 1 callers
Function
decode
(mut reader: R, mut writer: W)
blobby/src/bin/decode.rs:22
↓ 1 callers
Function
decode
(strings: &[&[u8]])
hex-literal/src/lib.rs:61
↓ 1 callers
Function
decode_hex
(data: &str)
blobby/src/bin/encode.rs:28
↓ 1 callers
Function
decode_hex_char
(b: u8)
blobby/src/bin/encode.rs:15
↓ 1 callers
Function
derive_zeroize_on_drop_impl
(input: DeriveInput)
zeroize_derive/src/lib.rs:99
↓ 1 callers
Method
enable
(&self)
aarch64-dit/src/lib.rs:45
↓ 1 callers
Function
encode
(reader: impl BufRead, mut writer: impl Write)
blobby/src/bin/encode.rs:43
↓ 1 callers
Function
encode_hex
(data: &[u8])
blobby/src/bin/decode.rs:14
↓ 1 callers
Method
expect_ref
(&self, msg: &str)
ctutils/src/ct_option.rs:160
↓ 1 callers
Function
expected_bits
()
cpubits/src/lib.rs:405
↓ 1 callers
Function
field_ident
(n: usize, field: &Field)
zeroize_derive/src/lib.rs:320
↓ 1 callers
Function
from_u128_nz
()
ctutils/src/choice.rs:866
↓ 1 callers
Function
from_u16_nz
()
ctutils/src/choice.rs:759
↓ 1 callers
Function
from_u32_nz
()
ctutils/src/choice.rs:796
↓ 1 callers
Function
from_u8_nz
()
ctutils/src/choice.rs:722
↓ 1 callers
Method
get_in_len
(&self)
inout/src/reserved.rs:92
↓ 1 callers
Method
get_out
(&mut self)
inout/src/reserved.rs:151
↓ 1 callers
Method
get_out_len
(&self)
inout/src/reserved.rs:99
↓ 1 callers
Function
impl_zeroize_on_drop
(input: &DeriveInput)
zeroize_derive/src/lib.rs:416
↓ 1 callers
Method
insert
Inserts `value` into the [`CtOption`], then returns a mutable reference to it. If the option already contains a value, the old value is dropped.
ctutils/src/ct_option.rs:169
↓ 1 callers
Method
len128_padding_be
(&mut self, data_len: u128, compress: impl FnMut(&Array<u8, BS>))
block-buffer/src/lib.rs:419
↓ 1 callers
Method
len64_padding_be
(&mut self, data_len: u64, compress: impl FnMut(&Array<u8, BS>))
block-buffer/src/lib.rs:405
↓ 1 callers
Method
len64_padding_le
(&mut self, data_len: u64, compress: impl FnMut(&Array<u8, BS>))
block-buffer/src/lib.rs:412
↓ 1 callers
Method
map_or
(self, default: U, f: F)
ctutils/src/ct_option.rs:332
↓ 1 callers
Function
maskeq32
(x: u32, y: u32)
cmov/src/backends/soft.rs:102
↓ 1 callers
Function
maskeq64
(x: u64, y: u64)
cmov/src/backends/soft.rs:108
↓ 1 callers
Function
next_hex_char
(string: &[u8], mut pos: usize)
hex-literal/src/lib.rs:8
↓ 1 callers
Method
or
(self, rhs: Choice)
ctutils/src/choice.rs:65
↓ 1 callers
Method
parse
(input: ParseStream<'_>)
zeroize_derive/src/lib.rs:137
↓ 1 callers
Method
parse_attr
Parse attribute and handle `#[zeroize(...)]` attributes
zeroize_derive/src/lib.rs:213
↓ 1 callers
Method
parse_meta
Parse `#[zeroize(...)]` attribute metadata (e.g. `drop`)
zeroize_derive/src/lib.rs:233
↓ 1 callers
Method
reborrow
(&mut self)
inout/src/inout.rs:16
↓ 1 callers
Method
reset
Reset buffer into exhausted state.
block-buffer/src/read.rs:129
↓ 1 callers
Method
select_u64
(self, a: u64, b: u64)
ctutils/src/choice.rs:354
↓ 1 callers
Method
size
(&self)
block-buffer/src/read.rs:56
↓ 1 callers
Function
slice_as_chunks_mut
(slice: &mut [T])
cmov/src/slice.rs:441
↓ 1 callers
Function
slice_as_chunks_unchecked
(slice: &[T])
cmov/src/slice.rs:462
↓ 1 callers
Function
slice_as_chunks_unchecked_mut
(slice: &mut [T])
cmov/src/slice.rs:482
↓ 1 callers
Method
squeeze_read_u64_le
( &mut self, state: &mut [u64; N], sponge: fn(&mut [u64; N]), buf: &mut [u8],
sponge-cursor/src/lib.rs:143
↓ 1 callers
Method
squeeze_xor_u64_le
( &mut self, state: &mut [u64; N], sponge: fn(&mut [u64; N]), buf: &mut [u8],
sponge-cursor/src/lib.rs:163
↓ 1 callers
Method
to_u128_mask
(self)
ctutils/src/choice.rs:480
↓ 1 callers
Method
to_u16_mask
(self)
ctutils/src/choice.rs:447
↓ 1 callers
Method
to_u32_mask
(self)
ctutils/src/choice.rs:458
↓ 1 callers
Method
to_u64_mask
(self)
ctutils/src/choice.rs:469
↓ 1 callers
Method
to_u8_mask
(self)
ctutils/src/choice.rs:436
↓ 1 callers
Function
volatile_write
(dst: &mut T, src: T)
zeroize/src/lib.rs:735
↓ 1 callers
Function
word_to_slice
(word: Word, out: &mut [T])
cmov/src/slice.rs:391
↓ 1 callers
Function
xor
()
ctutils/src/choice.rs:672
Function
absorb_partial
( state: &mut [u64; N], offset: usize, data: &[u8], )
sponge-cursor/src/u64_le_utils.rs:26
Function
aes_gcm_generator
(data: &[u8], algorithm: &str, key_size: u32)
wycheproof2blb/src/aead.rs:46
Method
alloc
(&self, layout: Layout)
zeroize/tests/alloc.rs:12
Function
allows_various_spacing
()
hex-literal/tests/basic.rs:61
Function
and
()
ctutils/src/ct_option.rs:764
Function
and
()
ctutils/src/choice.rs:656
Function
and_then
()
ctutils/src/ct_option.rs:770
Function
arc_unsized_zeroizing
()
zeroize/tests/zeroize.rs:243
Function
array_ct_eq
()
ctutils/src/traits/ct_eq.rs:301
Method
as_deref
(&self)
ctutils/src/ct_option.rs:99
Method
as_deref_mut
(&mut self)
ctutils/src/ct_option.rs:110
Function
asm_wrappers
()
aarch64-dit/src/lib.rs:153
Function
asref
()
zeroize/tests/zeroize.rs:208
Method
bitand
(self, rhs: Choice)
ctutils/src/choice.rs:489
Method
bitand_assign
(&mut self, rhs: Choice)
ctutils/src/choice.rs:496
Method
bitor
(self, rhs: Choice)
ctutils/src/choice.rs:505
Method
bitor_assign
(&mut self, rhs: Choice)
ctutils/src/choice.rs:512
Method
bitxor
(self, rhs: Choice)
ctutils/src/choice.rs:521
Method
bitxor_assign
(&mut self, rhs: Choice)
ctutils/src/choice.rs:528
Function
blobby_rondtrip_test
()
blobby/tests/mod.rs:21
Function
box_unsized_zeroizing
()
zeroize/tests/zeroize.rs:220
Function
can_use_const
()
hex-literal/tests/basic.rs:83
Function
case_result
Convert a `result` enum to a byte.
wycheproof2blb/src/wycheproof.rs:101
Function
cast_slice
Performs an unsafe pointer cast from one slice type to the other. # Compile-time panics - If `T` and `U` differ in size - If `T` and `U` differ in al
cmov/src/slice.rs:311
Function
cast_slice_mut
Performs an unsafe pointer cast from one mutable slice type to the other. # Compile-time panics - If `T` and `U` differ in size - If `T` and `U` diff
cmov/src/slice.rs:331
Function
chacha20_poly1305
(data: &[u8], algorithm: &str, _key_size: u32)
wycheproof2blb/src/aead.rs:51
Method
clone
(&self)
digest-io/src/writer.rs:81
Method
clone
(&self)
digest-io/src/reader.rs:80
Method
clone_from
(&mut self, source: &Self)
zeroize/src/lib.rs:625
Method
clone_in
(&self)
inout/src/inout.rs:102
Method
cloned
(self)
ctutils/src/ct_option.rs:532
Method
cmoveq
Move if both inputs are equal. Moves `input` to `output` in constant-time if `self` and `rhs` are equal.
cmov/src/lib.rs:67
Method
cmoveq
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/backends/soft.rs:65
Method
cmoveq
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/backends/aarch64.rs:152
Function
cmoveq_works
()
cmov/tests/core_impls.rs:170
Function
cmoveq_wrong_output_i16
()
cmov/tests/regression.rs:42
Function
cmoveq_wrong_output_u16
()
cmov/tests/regression.rs:31
Method
cmovne
Move if both inputs are not equal. Moves `input` to `output` in constant-time if `self` and `rhs` are NOT equal.
cmov/src/lib.rs:58
Method
cmovne
(&self, rhs: &Self, input: Condition, output: &mut Condition)
cmov/src/array.rs:26
← previous
next →
101–200 of 599, ranked by callers