Lines Matching refs:Algorithm
47 pub algorithm: &'static Algorithm,
53 pub(crate) fn new(algorithm: &'static Algorithm) -> Self { in new()
147 pub fn new(algorithm: &'static Algorithm) -> Self { in new()
204 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
224 pub fn digest(algorithm: &'static Algorithm, data: &[u8]) -> Digest { in digest() argument
236 algorithm: &'static Algorithm,
242 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
263 pub struct Algorithm { struct
298 impl PartialEq for Algorithm { argument
304 impl Eq for Algorithm {} implementation
306 derive_debug_via_id!(Algorithm);
311 pub static SHA1_FOR_LEGACY_USE_ONLY: Algorithm = Algorithm {
336 pub static SHA256: Algorithm = Algorithm {
361 pub static SHA384: Algorithm = Algorithm {
386 pub static SHA512: Algorithm = Algorithm {
415 pub static SHA512_256: Algorithm = Algorithm {
549 fn max_input_test(alg: &'static digest::Algorithm) { in max_input_test() argument
556 fn too_long_input_test_block(alg: &'static digest::Algorithm) { in too_long_input_test_block() argument
563 fn too_long_input_test_byte(alg: &'static digest::Algorithm) { in too_long_input_test_byte() argument
571 fn nearly_full_context(alg: &'static digest::Algorithm) -> digest::Context { in nearly_full_context()