Lines Matching refs:Algorithm
48 pub algorithm: &'static Algorithm,
54 pub(crate) fn new(algorithm: &'static Algorithm) -> Self { in new()
150 pub fn new(algorithm: &'static Algorithm) -> Self { in new()
207 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
227 pub fn digest(algorithm: &'static Algorithm, data: &[u8]) -> Digest { in digest() argument
239 algorithm: &'static Algorithm,
245 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
266 pub struct Algorithm { struct
301 impl PartialEq for Algorithm { argument
307 impl Eq for Algorithm {} implementation
309 derive_debug_via_id!(Algorithm);
314 pub static SHA1_FOR_LEGACY_USE_ONLY: Algorithm = Algorithm {
339 pub static SHA256: Algorithm = Algorithm {
364 pub static SHA384: Algorithm = Algorithm {
389 pub static SHA512: Algorithm = Algorithm {
418 pub static SHA512_256: Algorithm = Algorithm {
534 fn max_input_test(alg: &'static digest::Algorithm) { in max_input_test() argument
541 fn too_long_input_test_block(alg: &'static digest::Algorithm) { in too_long_input_test_block() argument
548 fn too_long_input_test_byte(alg: &'static digest::Algorithm) { in too_long_input_test_byte() argument
556 fn nearly_full_context(alg: &'static digest::Algorithm) -> digest::Context { in nearly_full_context()