Home
last modified time | relevance | path

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

12345678910>>...14

/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 { implementation
100 impl Algorithm { impl
114 derive_debug_via_id!(Algorithm);
123 impl PartialEq for Algorithm { implementation
[all …]
/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/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\'>"
Dtensorflow.random.experimental.-algorithm.pbtxt1 path: "tensorflow.random.experimental.Algorithm"
3 is_instance: "<enum \'Algorithm\'>"
6 mtype: "<enum \'Algorithm\'>"
10 mtype: "<enum \'Algorithm\'>"
/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\'>"
Dtensorflow.random.experimental.-algorithm.pbtxt1 path: "tensorflow.random.experimental.Algorithm"
3 is_instance: "<enum \'Algorithm\'>"
6 mtype: "<enum \'Algorithm\'>"
10 mtype: "<enum \'Algorithm\'>"
/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/libxml2/result/c14n/exc-without-comments/
Dtest-22 …<ds:CanonicalizationMethod xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.…
3 <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod>
6 <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>
8 <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>
/external/nanopb-c/tools/
Dmake_windows_package.sh40Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><…
/external/grpc-grpc/third_party/nanopb/tools/
Dmake_windows_package.sh40Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform></dsig:Transforms><…
/external/rust/crates/serde_json/src/lexical/
Drounding.rs149 pub(crate) fn round_to_float<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_float()
152 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_float()
218 pub(crate) fn round_to_native<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_native()
221 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native()
/external/rust/crates/ring/tests/
Daead_tests.rs100 aead_alg: &'static aead::Algorithm, in test_aead() argument
106 &'static aead::Algorithm, in test_aead() argument
113 &'static aead::Algorithm, in test_aead() argument
258 algorithm: &'static aead::Algorithm, in seal_with_key() argument
269 algorithm: &'static aead::Algorithm, in open_with_key() argument
281 algorithm: &'static aead::Algorithm, in seal_with_less_safe_key() argument
292 algorithm: &'static aead::Algorithm, in open_with_less_safe_key() argument
304 fn test_aead_key_sizes(aead_alg: &'static aead::Algorithm) { in test_aead_key_sizes() argument
450 algorithm: &'static aead::Algorithm, in make_key()
459 fn make_less_safe_key(algorithm: &'static aead::Algorithm, key: &[u8]) -> aead::LessSafeKey { in make_less_safe_key() argument
/external/tensorflow/tensorflow/core/framework/
Drng_alg.h21 enum Algorithm { enum
36 inline int GetCounterSize(Algorithm alg) { in GetCounterSize()

12345678910>>...14