Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 1416) sorted by relevance

12345678910>>...57

/third_party/openssl/test/recipes/
D15-test_gendhparam.t19 algorithm => 'DHX',
25 algorithm => 'DH',
31 algorithm => 'DHX',
37 algorithm => 'DHX',
43 algorithm => 'DHX',
49 algorithm => 'DH',
55 algorithm => 'DH',
61 algorithm => 'DH',
67 algorithm => 'DH',
73 algorithm => 'DH',
[all …]
/third_party/cups/cups/
Dhash.c39 static ssize_t hash_data(const char *algorithm, unsigned char *hash, size_t hashsize, const void *a…
57 cupsHashData(const char *algorithm, // I - Algorithm name in cupsHashData() argument
63 if (!algorithm || !data || datalen == 0 || !hash || hashsize == 0) in cupsHashData()
69 return (hash_data(algorithm, hash, hashsize, data, datalen, NULL, 0)); in cupsHashData()
131 const char *algorithm, // I - Hash algorithm in cupsHMACData() argument
148 if (!algorithm || !key || keylen == 0 || !data || datalen == 0 || !hmac || hmacsize < 32) in cupsHMACData()
152 if (!strcmp(algorithm, "sha2-384") || !strncmp(algorithm, "sha2-512", 8)) in cupsHMACData()
161 if ((hashlen = hash_data(algorithm, hkey, sizeof(hkey), key, keylen, NULL, 0)) < 0) in cupsHMACData()
176 if ((hashlen = hash_data(algorithm, hash, sizeof(hash), buffer, b, data, datalen)) < 0) in cupsHMACData()
184 return (hash_data(algorithm, hmac, hmacsize, buffer, b, hash, (size_t)hashlen)); in cupsHMACData()
[all …]
/third_party/skia/m133/toolchain/linux_trampolines/
DIWYU_mapping.imp2 { include: ["<__algorithm/adjacent_find.h>", "private", "<algorithm>", "public"] },
3 { include: ["<__algorithm/all_of.h>", "private", "<algorithm>", "public"] },
4 { include: ["<__algorithm/any_of.h>", "private", "<algorithm>", "public"] },
5 { include: ["<__algorithm/binary_search.h>", "private", "<algorithm>", "public"] },
6 { include: ["<__algorithm/clamp.h>", "private", "<algorithm>", "public"] },
7 { include: ["<__algorithm/comp.h>", "private", "<algorithm>", "public"] },
8 { include: ["<__algorithm/comp_ref_type.h>", "private", "<algorithm>", "public"] },
9 { include: ["<__algorithm/copy.h>", "private", "<algorithm>", "public"] },
10 { include: ["<__algorithm/copy_backward.h>", "private", "<algorithm>", "public"] },
11 { include: ["<__algorithm/copy_if.h>", "private", "<algorithm>", "public"] },
[all …]
/third_party/grpc/test/core/compression/
Dcompression_test.cc45 grpc_compression_algorithm algorithm; in TEST() local
47 grpc_slice_from_static_string(valid_name), &algorithm); in TEST()
49 ASSERT_EQ(algorithm, valid_algorithms[i]); in TEST()
54 grpc_compression_algorithm algorithm; in TEST() local
57 grpc_slice_from_static_string(invalid_name), &algorithm); in TEST()
210 grpc_compression_algorithm algorithm; in TEST() local
215 for (algorithm = GRPC_COMPRESS_NONE; in TEST()
216 algorithm < GRPC_COMPRESS_ALGORITHMS_COUNT; in TEST()
217 algorithm = static_cast<grpc_compression_algorithm>( in TEST()
218 static_cast<int>(algorithm) + 1)) { in TEST()
[all …]
/third_party/grpc/src/core/lib/compression/
Dcompression_internal.cc40 const char* CompressionAlgorithmAsString(grpc_compression_algorithm algorithm) { in CompressionAlgorithmAsString() argument
41 switch (algorithm) { in CompressionAlgorithmAsString()
65 for (size_t algorithm = 0; algorithm < GRPC_COMPRESS_ALGORITHMS_COUNT; local
66 ++algorithm) {
67 if ((list & (1 << algorithm)) == 0) continue;
73 static_cast<grpc_compression_algorithm>(algorithm));
97 absl::string_view algorithm) { in ParseCompressionAlgorithm() argument
98 if (algorithm == "identity") { in ParseCompressionAlgorithm()
100 } else if (algorithm == "deflate") { in ParseCompressionAlgorithm()
102 } else if (algorithm == "gzip") { in ParseCompressionAlgorithm()
[all …]
Dcompression.cc41 grpc_compression_algorithm* algorithm) { in grpc_compression_algorithm_parse() argument
46 *algorithm = alg.value(); in grpc_compression_algorithm_parse()
52 int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, in grpc_compression_algorithm_name() argument
55 << "grpc_compression_algorithm_name(algorithm=" << (int)algorithm in grpc_compression_algorithm_name()
57 const char* result = grpc_core::CompressionAlgorithmAsString(algorithm); in grpc_compression_algorithm_name()
78 grpc_compression_options* opts, grpc_compression_algorithm algorithm) { in grpc_compression_options_enable_algorithm() argument
79 grpc_core::SetBit(&opts->enabled_algorithms_bitset, algorithm); in grpc_compression_options_enable_algorithm()
83 grpc_compression_options* opts, grpc_compression_algorithm algorithm) { in grpc_compression_options_disable_algorithm() argument
84 grpc_core::ClearBit(&opts->enabled_algorithms_bitset, algorithm); in grpc_compression_options_disable_algorithm()
89 grpc_compression_algorithm algorithm) { in grpc_compression_options_is_algorithm_enabled() argument
[all …]
Dmessage_compress.cc151 static int compress_inner(grpc_compression_algorithm algorithm, in compress_inner() argument
153 switch (algorithm) { in compress_inner()
165 LOG(ERROR) << "invalid compression algorithm " << algorithm; in compress_inner()
169 int grpc_msg_compress(grpc_compression_algorithm algorithm, in grpc_msg_compress() argument
171 if (!compress_inner(algorithm, input, output)) { in grpc_msg_compress()
178 int grpc_msg_decompress(grpc_compression_algorithm algorithm, in grpc_msg_decompress() argument
180 switch (algorithm) { in grpc_msg_decompress()
190 LOG(ERROR) << "invalid compression algorithm " << algorithm; in grpc_msg_decompress()
Dcompression_internal.h39 absl::string_view algorithm);
42 const char* CompressionAlgorithmAsString(grpc_compression_algorithm algorithm);
69 bool IsSet(grpc_compression_algorithm algorithm) const;
71 void Set(grpc_compression_algorithm algorithm);
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_setup.sh25 local algorithm="$1"
29 digest="$(${algorithm}sum $file 2>/dev/null | cut -f1 -d ' ')"
35 digest="$(openssl $algorithm $file 2>/dev/null | cut -f2 -d ' ')"
42 local arg="$algorithm"
43 case "$algorithm" in
229 local algorithm digest
244 algorithm=$(echo "$digest" | cut -d $delimiter -f 1)
248 32) algorithm="md5" ;;
249 40) algorithm="sha1" ;;
255 if [ -z "$algorithm" ]; then
[all …]
Dima_selinux.sh62 local policy_digest expected_policy_digest algorithm
81 algorithm=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f1)
84 expected_policy_digest="$(compute_digest $algorithm $SELINUX_DIR/policy)" || \
85 tst_brk TCONF "cannot compute digest for $algorithm"
104 local digest expected_digest algorithm
123 algorithm=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f1)
127 expected_digest="$(compute_digest $algorithm $state_file)" || \
128 tst_brk TCONF "cannot compute digest for $algorithm"
/third_party/openssl/crypto/asn1/
Dx_algor.c19 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
43 ASN1_OBJECT_free(alg->algorithm);
44 alg->algorithm = aobj;
60 *paobj = algor->algorithm; in X509_ALGOR_get0()
90 rv = OBJ_cmp(a->algorithm, b->algorithm); in X509_ALGOR_cmp()
103 if (dest->algorithm) in X509_ALGOR_copy()
104 ASN1_OBJECT_free(dest->algorithm); in X509_ALGOR_copy()
105 dest->algorithm = NULL; in X509_ALGOR_copy()
111 if (src->algorithm) in X509_ALGOR_copy()
112 if ((dest->algorithm = OBJ_dup(src->algorithm)) == NULL) in X509_ALGOR_copy()
[all …]
/third_party/grpc/include/grpc/
Dcompression.h33 grpc_compression_algorithm algorithm);
37 grpc_compression_algorithm algorithm);
42 grpc_slice name, grpc_compression_algorithm* algorithm);
48 grpc_compression_algorithm algorithm, const char** name);
59 grpc_compression_options* opts, grpc_compression_algorithm algorithm);
63 grpc_compression_options* opts, grpc_compression_algorithm algorithm);
67 const grpc_compression_options* opts, grpc_compression_algorithm algorithm);
/third_party/ffmpeg/doc/
Dscaler.texi17 algorithm. Only a single algorithm should be selected. Default
23 Select fast bilinear scaling algorithm.
26 Select bilinear scaling algorithm.
29 Select bicubic scaling algorithm.
32 Select experimental scaling algorithm.
35 Select nearest neighbor rescaling algorithm.
38 Select averaging area rescaling algorithm.
41 Select bicubic scaling algorithm for the luma component, bilinear for
45 Select Gaussian rescaling algorithm.
48 Select sinc rescaling algorithm.
[all …]
/third_party/openhitls/docs/en/6_Appendix/
D1_Terms.md3 |/|Symmetric Encryption|An algorithm that uses the same key for encryption and decryption, which is…
4 |/|Public Key Encryption|An algorithm that uses a pair of public and private keys for encryption an…
9 …r used to measure the cryptographic algorithm strength. Generally, the longer the key, the more se…
10 …ore TLS communication starts. The handshake process includes encryption algorithm negotiation, ide…
12 |/|Key Exchange Algorithm|An algorithm used during a TLS handshake to securely exchange cryptograph…
13 |/|Block Cipher|A symmetric encryption algorithm used to encrypt and decrypt data in TLS. Common bl…
14 |/|Stream Cipher|A symmetric encryption algorithm used to encrypt and decrypt data in TLS. The inpu…
17 …server negotiate security parameters such as the encryption algorithm, key exchange algorithm, and…
22 …tric encryption algorithm that is widely used in fields such as data encryption and network securi…
25 …ellman|A key exchange algorithm that is widely used in fields such as network security and VPN. Th…
[all …]
/third_party/grpc/src/core/ext/filters/http/message_compress/
Dcompression_filter.cc111 MessageHandle message, grpc_compression_algorithm algorithm) const { in CompressMessage()
114 << " alg=" << algorithm << " flags=" << message->flags(); in CompressMessage()
123 if (algorithm == GRPC_COMPRESS_NONE || !enable_compression_ || in CompressMessage()
130 bool did_compress = grpc_msg_compress(algorithm, payload->c_slice_buffer(), in CompressMessage()
141 CHECK(grpc_compression_algorithm_name(algorithm, &algo_name)); in CompressMessage()
155 CHECK(grpc_compression_algorithm_name(algorithm, &algo_name)); in CompressMessage()
169 << " alg=" << args.algorithm; in DecompressMessage()
191 if (grpc_msg_decompress(args.algorithm, message->payload()->c_slice_buffer(), in DecompressMessage()
195 CompressionAlgorithmAsString(args.algorithm))); in DecompressMessage()
209 const auto algorithm = outgoing_metadata.Take(GrpcInternalEncodingRequest()) in HandleOutgoingMetadata() local
[all …]
/third_party/openssl/doc/man1/
Dopenssl-genpkey.pod.in22 [B<-algorithm> I<alg>]
64 This option encrypts the private key with the supplied cipher. Any algorithm
67 =item B<-algorithm> I<alg>
69 Public key algorithm to use such as RSA, DSA, DH or DHX. If used this option must
70 precede any B<-pkeyopt> options. The options B<-paramfile> and B<-algorithm>
74 Valid built-in algorithm names for private key generation are RSA, RSA-PSS, EC,
77 Valid built-in algorithm names for parameter generation (see the B<-genparam>
80 Note that the algorithm name X9.42 DH may be used as a synonym for DHX keys and
85 Set the public key algorithm option I<opt> to I<value>. The precise set of
86 options supported depends on the public key algorithm used and its
[all …]
/third_party/openssl/doc/man3/
DEVP_PBE_CipherInit.pod35 I<pass> of length I<passlen>. The PBE algorithm type and parameters are extracted
39 I<libctx> and property query I<propq> to select appropriate algorithm
42 =head2 PBE algorithm search
44 EVP_PBE_find() and EVP_PBE_find_ex() search for a matching algorithm using two parameters:
46 1. An algorithm type I<type> which can be:
52 EVP_PBE_TYPE_OUTER - A PBE algorithm
64 2. A I<pbe_nid> which can represent the algorithm identifier with parameters e.g.
65 B<NID_pbeWithSHA1AndRC2_CBC> or an algorithm class e.g. B<NID_pbes2>.
67 They return the algorithm's cipher ID I<pcnid>, digest ID I<pmnid> and a key
68 generation function for the algorithm I<pkeygen>. EVP_PBE_CipherInit_ex() also
[all …]
DOSSL_ALGORITHM.pod5 OSSL_ALGORITHM - OpenSSL Core type to define a fetchable algorithm
22 algorithm that a L<provider(7)> provides. Arrays of this type are returned
41 L<EVP_MD_fetch(3)>, etc) to find the desired algorithm.
43 Multiple names / identities allow a specific algorithm implementation to be
44 fetched multiple ways. For example, the RSA algorithm has the following
57 This is the name of the algorithm's OBJECT IDENTIFIER (OID), as given by the
72 The OpenSSL libraries use the first of the algorithm names as the main
73 or canonical name, on a per algorithm implementation basis.
75 See the notes L</On the subject of algorithm names> below for a more in
82 algorithm implementation, and is used by the appropriate fetching
[all …]
DPKCS12_pack_p7encdata.pod23 type from the set of safeBags I<bags>. The algorithm ID in I<pbe_nid> can be
24 a PKCS#12 or PKCS#5 password based encryption algorithm, or a cipher algorithm.
25 If a cipher algorithm is passed, the PKCS#5 PBES2 algorithm will be used with
32 algorithm implementation.
/third_party/grpc/src/ruby/spec/
Dcompression_options_spec.rb43 ALGORITHMS.each do |algorithm|
44 expect(options.algorithm_enabled?(algorithm)).to be true
60 [:gzip, :deflate].each do |algorithm|
61 expect(options.algorithm_enabled?(algorithm)).to be false
62 expect(options.disabled_algorithms.include?(algorithm)).to be true
92 ALGORITHMS.each do |algorithm|
93 expect(options.algorithm_enabled?(algorithm)).to be(true)
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user02.c54 static const char* algorithm = NULL; variable
78 algorithm = ALGORITHM_CANDIDATES[i]; in setup()
83 if (!algorithm) in setup()
93 strcpy(alg.cru_driver_name, algorithm); in run()
97 algorithm); in run()
/third_party/openssl/doc/man7/
Dopenssl-glossary.pod17 implementation for any given algorithm available for use.
34 the algorithm implementations in the Base Provider are also available in the
41 A decoder is a type of algorithm used for decoding keys and parameters from some
48 An OpenSSL Provider that contains the most commmon OpenSSL algorithm
50 the algorithm implementations in the Base Provider are also available in the
67 An encoder is a type of algorithm used for encoding keys and parameters to some
75 where a function call is made to obtain an algorithm object representing an
80 Fetching is the process of looking through the available algorithm
90 An OpenSSL Provider that contains OpenSSL algorithm implementations that have
98 where an algorithm object with no associated implementation is used such as the
[all …]
/third_party/openhitls/docs/en/5_Developer Guide/
D4_provider Development Guide.md101 …er querying suitable algorithms. See the corresponding headers for each algorithm for more details.
131 …t `NULL`, it retrieves the `provCtx` from the provider manager context where the algorithm resides.
156 …on during handshakes. Each `group` must support either a `kex` or `kem` algorithm. Through this me…
163 - `CRYPT_PARAM_CAP_TLS_GROUP_ALG_ID`: Type `BSL_PARAM_TYPE_INT32`, algorithm ID for the group, pass…
166 …_CAP_TLS_GROUP_IS_KEM`: Type `BSL_PARAM_TYPE_BOOL`, indicates whether the group is a KEM algorithm.
177 …ignature algorithm` supported by a provider can be declared through the callback passed to `CRYPT_…
181 …M_CAP_TLS_SIGNALG_KEY_TYPE`: Type `BSL_PARAM_TYPE_INT32`, key type used by the signature algorithm.
184 …AM_CAP_TLS_SIGNALG_PARA_ID`: Type `BSL_PARAM_TYPE_INT32`, parameter ID for the signature algorithm.
185 …ARA_OID`: Type `BSL_PARAM_TYPE_OCTETS_PTR`, OID corresponding to the signature algorithm parameter.
186 …LS_SIGNALG_PARA_NAME`: Type `BSL_PARAM_TYPE_OCTETS_PTR`, name of the signature algorithm parameter.
[all …]
/third_party/rust/rust/src/doc/unstable-book/src/compiler-flags/
Dsrc-hash-algorithm.md1 # `src-hash-algorithm`
7 The `-Z src-hash-algorithm` compiler flag controls which algorithm is used when hashing each source…
11 By default, the compiler chooses the hash algorithm based on the target specification.
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
DBUILD.bazel30 name = "algorithm",
31 hdrs = ["algorithm.h"],
46 ":algorithm",
58 ":algorithm",
72 ":algorithm",

12345678910>>...57