Home
last modified time | relevance | path

Searched refs:Algorithm (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/external/rust/crates/ring/src/
Dhkdf.rs25 pub struct Algorithm(hmac::Algorithm); struct
27 impl Algorithm { implementation
30 pub fn hmac_algorithm(&self) -> hmac::Algorithm { in hmac_algorithm() argument
36 pub static HKDF_SHA1_FOR_LEGACY_USE_ONLY: Algorithm =
37 Algorithm(hmac::HMAC_SHA1_FOR_LEGACY_USE_ONLY);
40 pub static HKDF_SHA256: Algorithm = Algorithm(hmac::HMAC_SHA256);
43 pub static HKDF_SHA384: Algorithm = Algorithm(hmac::HMAC_SHA384);
46 pub static HKDF_SHA512: Algorithm = Algorithm(hmac::HMAC_SHA512);
48 impl KeyType for Algorithm { implementation
64 pub fn new(algorithm: Algorithm, value: &[u8]) -> Self { in new() argument
[all …]
Dhmac.rs116 pub struct Algorithm(&'static digest::Algorithm); struct
118 impl Algorithm { implementation
121 pub fn digest_algorithm(&self) -> &'static digest::Algorithm { in digest_algorithm() argument
127 pub static HMAC_SHA1_FOR_LEGACY_USE_ONLY: Algorithm = Algorithm(&digest::SHA1_FOR_LEGACY_USE_ONLY);
130 pub static HMAC_SHA256: Algorithm = Algorithm(&digest::SHA256);
133 pub static HMAC_SHA384: Algorithm = Algorithm(&digest::SHA384);
136 pub static HMAC_SHA512: Algorithm = Algorithm(&digest::SHA512);
189 algorithm: Algorithm, in generate() argument
195 fn construct<F>(algorithm: Algorithm, fill: F) -> Result<Self, error::Unspecified> in construct() argument
224 pub fn new(algorithm: Algorithm, key_value: &[u8]) -> Self { in new() argument
[all …]
Dpbkdf2.rs120 pub struct Algorithm(hmac::Algorithm); struct
123 pub static PBKDF2_HMAC_SHA1: Algorithm = Algorithm(hmac::HMAC_SHA1_FOR_LEGACY_USE_ONLY);
126 pub static PBKDF2_HMAC_SHA256: Algorithm = Algorithm(hmac::HMAC_SHA256);
129 pub static PBKDF2_HMAC_SHA384: Algorithm = Algorithm(hmac::HMAC_SHA384);
132 pub static PBKDF2_HMAC_SHA512: Algorithm = Algorithm(hmac::HMAC_SHA512);
156 algorithm: Algorithm, in derive() argument
226 algorithm: Algorithm, in verify() argument
Ddigest.rs47 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
[all …]
Dagreement.rs73 pub struct Algorithm { struct
82 derive_debug_via_field!(Algorithm, curve); argument
84 impl Eq for Algorithm {} implementation
85 impl PartialEq for Algorithm { implementation
86 fn eq(&self, other: &Algorithm) -> bool { in eq()
96 algorithm: &'static Algorithm,
108 alg: &'static Algorithm, in generate() argument
142 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
155 algorithm: &'static Algorithm,
177 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
[all …]
Daead.rs60 fn algorithm(&self) -> &'static Algorithm; in algorithm() argument
82 fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
257 fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
389 algorithm: &'static Algorithm,
412 algorithm: &'static Algorithm, in new() argument
425 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
430 impl From<hkdf::Okm<'_, &'static Algorithm>> for UnboundKey {
431 fn from(okm: hkdf::Okm<&'static Algorithm>) -> Self { in from()
440 impl hkdf::KeyType for &'static Algorithm { implementation
548 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
[all …]
/external/python/cpython2/Lib/plat-irix5/
DCL_old.py106 def Algorithm(type, n): function
114 UNCOMPRESSED_AUDIO = Algorithm(AUDIO, 0)
115 G711_ULAW = Algorithm(AUDIO, 1)
116 ULAW = Algorithm(AUDIO, 1)
117 G711_ALAW = Algorithm(AUDIO, 2)
118 ALAW = Algorithm(AUDIO, 2)
119 AWARE_MPEG_AUDIO = Algorithm(AUDIO, 3)
120 AWARE_MULTIRATE = Algorithm(AUDIO, 4)
122 UNCOMPRESSED = Algorithm(VIDEO, 0)
123 UNCOMPRESSED_VIDEO = Algorithm(VIDEO, 0)
[all …]
/external/rust/crates/ring/src/aead/
Dquic.rs28 algorithm: &'static Algorithm,
37 impl From<hkdf::Okm<'_, &'static Algorithm>> for HeaderProtectionKey {
38 fn from(okm: hkdf::Okm<&'static Algorithm>) -> Self { in from()
52 algorithm: &'static Algorithm, in new() argument
73 pub fn algorithm(&self) -> &'static Algorithm { in algorithm() argument
84 pub struct Algorithm { struct
93 impl hkdf::KeyType for &'static Algorithm { argument
100 impl Algorithm { implementation
114 derive_debug_via_id!(Algorithm);
123 impl PartialEq for Algorithm { implementation
[all …]
/external/rust/crates/coset/src/iana/
Dtests.rs21 assert_eq!(Some(Algorithm::ES256), Algorithm::from_i64(-7)); in test_algorithm_conversion()
22 assert_eq!(Some(Algorithm::A128GCM), Algorithm::from_i64(1)); in test_algorithm_conversion()
23 assert_eq!(Algorithm::A128GCM as i64, 1); in test_algorithm_conversion()
24 assert_eq!(None, Algorithm::from_i64(8)); in test_algorithm_conversion()
25 assert_eq!(None, Algorithm::from_i64(-65538)); in test_algorithm_conversion()
/external/rust/crates/quiche/src/
Dcrypto.rs59 pub enum Algorithm { enum
70 impl Algorithm { implementation
71 fn get_ring_aead(self) -> &'static aead::Algorithm { in get_ring_aead() argument
73 Algorithm::AES128_GCM => &aead::AES_128_GCM, in get_ring_aead()
74 Algorithm::AES256_GCM => &aead::AES_256_GCM, in get_ring_aead()
75 Algorithm::ChaCha20_Poly1305 => &aead::CHACHA20_POLY1305, in get_ring_aead()
79 fn get_ring_hp(self) -> &'static aead::quic::Algorithm { in get_ring_hp() argument
81 Algorithm::AES128_GCM => &aead::quic::AES_128, in get_ring_hp()
82 Algorithm::AES256_GCM => &aead::quic::AES_256, in get_ring_hp()
83 Algorithm::ChaCha20_Poly1305 => &aead::quic::CHACHA20, in get_ring_hp()
[all …]
/external/marisa-trie/lib/marisa/grimoire/
Dalgorithm.h9 class Algorithm {
11 Algorithm() {} in Algorithm() function
19 Algorithm(const Algorithm &);
20 Algorithm &operator=(const Algorithm &);
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DMessageDigestAlgorithmBenchmark.java44 @Param Algorithm algorithm;
50 public byte[] hash(Algorithm algorithm, byte[] input) { in MESSAGE_DIGEST_API()
58 public byte[] hash(Algorithm algorithm, byte[] input) { in HASH_FUNCTION_DIRECT()
64 public byte[] hash(Algorithm algorithm, byte[] input) { in HASH_FUNCTION_VIA_HASHER()
70 public abstract byte[] hash(Algorithm algorithm, byte[] input); in hash()
73 private enum Algorithm { enum in MessageDigestAlgorithmBenchmark
83 Algorithm(String algorithmName, HashFunction hashFn) { in Algorithm() method in MessageDigestAlgorithmBenchmark.Algorithm
116 Algorithm algorithm = this.algorithm; in hashing()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DMessageDigestAlgorithmBenchmark.java44 @Param Algorithm algorithm;
50 public byte[] hash(Algorithm algorithm, byte[] input) { in MESSAGE_DIGEST_API()
58 public byte[] hash(Algorithm algorithm, byte[] input) { in HASH_FUNCTION_DIRECT()
64 public byte[] hash(Algorithm algorithm, byte[] input) { in HASH_FUNCTION_VIA_HASHER()
70 public abstract byte[] hash(Algorithm algorithm, byte[] input); in hash()
73 private enum Algorithm { enum in MessageDigestAlgorithmBenchmark
83 Algorithm(String algorithmName, HashFunction hashFn) { in Algorithm() method in MessageDigestAlgorithmBenchmark.Algorithm
116 Algorithm algorithm = this.algorithm; in hashing()
/external/rust/crates/coset/src/header/
Dtests.rs26 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_header_encode()
40 alg: Some(Algorithm::PrivateUse(i64::MIN)), in test_header_encode()
51 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_header_encode()
75 alg: Some(Algorithm::Text("abc".to_owned())), in test_header_encode()
105 alg: Some(Algorithm::Text("abc".to_owned())), in test_header_encode()
395 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_header_encode_dup_fail()
428 .algorithm(iana::Algorithm::A128GCM) in test_header_builder()
439 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_header_builder()
456 .algorithm(iana::Algorithm::A128GCM) in test_header_builder()
465 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_header_builder()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.random.-algorithm.pbtxt1 path: "tensorflow.random.Algorithm"
3 is_instance: "<enum \'Algorithm\'>"
6 mtype: "<enum \'Algorithm\'>"
10 mtype: "<enum \'Algorithm\'>"
14 mtype: "<enum \'Algorithm\'>"
Dtensorflow.random.experimental.-algorithm.pbtxt1 path: "tensorflow.random.experimental.Algorithm"
3 is_instance: "<enum \'Algorithm\'>"
6 mtype: "<enum \'Algorithm\'>"
10 mtype: "<enum \'Algorithm\'>"
14 mtype: "<enum \'Algorithm\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.random.-algorithm.pbtxt1 path: "tensorflow.random.Algorithm"
3 is_instance: "<enum \'Algorithm\'>"
6 mtype: "<enum \'Algorithm\'>"
10 mtype: "<enum \'Algorithm\'>"
14 mtype: "<enum \'Algorithm\'>"
Dtensorflow.random.experimental.-algorithm.pbtxt1 path: "tensorflow.random.experimental.Algorithm"
3 is_instance: "<enum \'Algorithm\'>"
6 mtype: "<enum \'Algorithm\'>"
10 mtype: "<enum \'Algorithm\'>"
14 mtype: "<enum \'Algorithm\'>"
/external/rust/crates/coset/src/common/
Dtests.rs120 (RegisteredLabel::Assigned(iana::Algorithm::A192GCM), "02"), in test_registered_label_encode()
121 (RegisteredLabel::Assigned(iana::Algorithm::EdDSA), "27"), in test_registered_label_encode()
139 (Assigned(iana::Algorithm::A192GCM), Text("a".to_owned())), in test_registered_label_sort()
140 (Assigned(iana::Algorithm::WalnutDSA), Text("ab".to_owned())), in test_registered_label_sort()
144 Assigned(iana::Algorithm::AES_CCM_16_64_128), in test_registered_label_sort()
145 Assigned(iana::Algorithm::A128KW), in test_registered_label_sort()
148 Assigned(iana::Algorithm::A192GCM), in test_registered_label_sort()
149 Assigned(iana::Algorithm::AES_CCM_16_64_128), in test_registered_label_sort()
243 (Assigned(iana::Algorithm::A192GCM), Text("a".to_owned())), in test_registered_label_with_private_sort()
244 (Assigned(iana::Algorithm::WalnutDSA), Text("ab".to_owned())), in test_registered_label_with_private_sort()
[all …]
/external/rust/crates/coset/src/sign/
Dtests.rs19 cbor::value::Value, iana, util::expect_err, Algorithm, CborSerializable, ContentType,
57 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_cose_signature_encode()
80 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_cose_signature_encode()
222 .algorithm(iana::Algorithm::A128GCM) in test_cose_signature_builder()
232 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_cose_signature_builder()
247 .algorithm(iana::Algorithm::A128GCM) in test_cose_signature_builder()
255 alg: Some(Algorithm::Assigned(iana::Algorithm::A128GCM)), in test_cose_signature_builder()
300 .algorithm(iana::Algorithm::A128GCM) in test_cose_sign_encode()
310 .algorithm(iana::Algorithm::A128GCM) in test_cose_sign_encode()
341 .algorithm(iana::Algorithm::A128GCM) in test_cose_sign_encode()
[all …]
/external/rust/crates/coset/src/context/
Dtests.rs36 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
48 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
61 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
79 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
97 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
115 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
138 .algorithm(iana::Algorithm::A128GCM) in test_context_encode()
/external/one-true-awk/testdir/
Dfunstack.ok5 J. R. Herndon ACM Algorithm 49: Spherical Neumann
11 J. N. Merner ACM Algorithm 149: Complete Elliptic
17 O. G. Ludwig ACM Algorithm 179: Incomplete Beta Ratio 314
22 R. H. Kase ACM Algorithm 219: Topological Ordering
28 W. Gautschi ACM Algorithm 236: Bessel Functions of
34 J. Boothroyd ACM Algorithm 246: Graycode . . . . . . 701
39 W. Gautschi ACM Algorithm 259: Legendre Functions
45 W. Fletcher ACM Algorithm 284: Interchange of Two
52 M. C. Pike ACM Algorithm 299: Chi-Squared Integral 243--244
95 Harald Stehfest ACM Algorithm 368: Numerical Inversion
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateful_random_ops.cc41 xla::BitGeneratorTy BitGen(Algorithm alg) { in BitGen()
66 xla::RngOutput StatefulRngUniform(Algorithm alg, xla::XlaOp key, in StatefulRngUniform()
92 xla::RngOutput StatefulRngUniformFullInt(Algorithm alg, xla::XlaOp key, in StatefulRngUniformFullInt()
117 int64 GetMinStateSize(Algorithm alg) { in GetMinStateSize()
124 Status CheckStateShape(Algorithm alg, const TensorShape& shape) { in CheckStateShape()
138 std::pair<xla::XlaOp, xla::XlaOp> StateAndKeyFromVariable(Algorithm alg, in StateAndKeyFromVariable()
160 xla::XlaOp StateAndKeyToVariable(Algorithm alg, xla::XlaOp state, in StateAndKeyToVariable()
175 std::function<SamplerReturnType(Algorithm, xla::XlaOp, xla::XlaOp, in CompileImpl() argument
184 Algorithm alg = Algorithm(alg_literal.Get<int64>({})); in CompileImpl()
224 auto sampler = [builder, this](Algorithm alg, xla::XlaOp state, in Compile()
[all …]
/external/libchrome/crypto/
Dsymmetric_key.h25 enum Algorithm { enum
36 Algorithm algorithm,
45 Algorithm algorithm,
55 static std::unique_ptr<SymmetricKey> Import(Algorithm algorithm,
/external/grpc-grpc/third_party/nanopb/tools/
Dmake_windows_package.sh40Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><…

12345678910>>...15