| /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
| D | DefaultJcaJceHelper.java | 39 String algorithm) in createCipher() argument 42 return Cipher.getInstance(algorithm); in createCipher() 45 public Mac createMac(String algorithm) in createMac() argument 48 return Mac.getInstance(algorithm); in createMac() 51 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 54 return KeyAgreement.getInstance(algorithm); in createKeyAgreement() 57 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 60 return AlgorithmParameterGenerator.getInstance(algorithm); in createAlgorithmParameterGenerator() 63 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 66 return AlgorithmParameters.getInstance(algorithm); in createAlgorithmParameters() [all …]
|
| D | ProviderJcaJceHelper.java | 46 String algorithm) in createCipher() argument 49 return Cipher.getInstance(algorithm, provider); in createCipher() 52 public Mac createMac(String algorithm) in createMac() argument 55 return Mac.getInstance(algorithm, provider); in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 61 return KeyAgreement.getInstance(algorithm, provider); in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 67 return AlgorithmParameterGenerator.getInstance(algorithm, provider); in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 73 return AlgorithmParameters.getInstance(algorithm, provider); in createAlgorithmParameters() [all …]
|
| D | NamedJcaJceHelper.java | 46 String algorithm) in createCipher() argument 49 return Cipher.getInstance(algorithm, providerName); in createCipher() 52 public Mac createMac(String algorithm) in createMac() argument 55 return Mac.getInstance(algorithm, providerName); in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 61 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 67 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 73 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters() [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
| D | DefaultJcaJceHelper.java | 37 String algorithm) in createCipher() argument 40 return Cipher.getInstance(algorithm); in createCipher() 43 public Mac createMac(String algorithm) in createMac() argument 46 return Mac.getInstance(algorithm); in createMac() 49 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 52 return KeyAgreement.getInstance(algorithm); in createKeyAgreement() 55 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 58 return AlgorithmParameterGenerator.getInstance(algorithm); in createAlgorithmParameterGenerator() 61 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 64 return AlgorithmParameters.getInstance(algorithm); in createAlgorithmParameters() [all …]
|
| D | NamedJcaJceHelper.java | 44 String algorithm) in createCipher() argument 47 return Cipher.getInstance(algorithm, providerName); in createCipher() 50 public Mac createMac(String algorithm) in createMac() argument 53 return Mac.getInstance(algorithm, providerName); in createMac() 56 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 59 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement() 62 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 65 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator() 68 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 71 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters() [all …]
|
| D | ProviderJcaJceHelper.java | 44 String algorithm) in createCipher() argument 47 return Cipher.getInstance(algorithm, provider); in createCipher() 50 public Mac createMac(String algorithm) in createMac() argument 53 return Mac.getInstance(algorithm, provider); in createMac() 56 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 59 return KeyAgreement.getInstance(algorithm, provider); in createKeyAgreement() 62 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 65 return AlgorithmParameterGenerator.getInstance(algorithm, provider); in createAlgorithmParameterGenerator() 68 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 71 return AlgorithmParameters.getInstance(algorithm, provider); in createAlgorithmParameters() [all …]
|
| /external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/util/ |
| D | DefaultJcaJceHelper.java | 39 String algorithm) in createCipher() argument 42 return Cipher.getInstance(algorithm); in createCipher() 45 public Mac createMac(String algorithm) in createMac() argument 48 return Mac.getInstance(algorithm); in createMac() 51 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 54 return KeyAgreement.getInstance(algorithm); in createKeyAgreement() 57 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 60 return AlgorithmParameterGenerator.getInstance(algorithm); in createAlgorithmParameterGenerator() 63 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 66 return AlgorithmParameters.getInstance(algorithm); in createAlgorithmParameters() [all …]
|
| D | ProviderJcaJceHelper.java | 46 String algorithm) in createCipher() argument 49 return Cipher.getInstance(algorithm, provider); in createCipher() 52 public Mac createMac(String algorithm) in createMac() argument 55 return Mac.getInstance(algorithm, provider); in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 61 return KeyAgreement.getInstance(algorithm, provider); in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 67 return AlgorithmParameterGenerator.getInstance(algorithm, provider); in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 73 return AlgorithmParameters.getInstance(algorithm, provider); in createAlgorithmParameters() [all …]
|
| D | NamedJcaJceHelper.java | 46 String algorithm) in createCipher() argument 49 return Cipher.getInstance(algorithm, providerName); in createCipher() 52 public Mac createMac(String algorithm) in createMac() argument 55 return Mac.getInstance(algorithm, providerName); in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() argument 61 return KeyAgreement.getInstance(algorithm, providerName); in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() argument 67 return AlgorithmParameterGenerator.getInstance(algorithm, providerName); in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() argument 73 return AlgorithmParameters.getInstance(algorithm, providerName); in createAlgorithmParameters() [all …]
|
| /external/openthread/third_party/mbedtls/repo/include/psa/ |
| D | crypto_values.h | 57 * parameter such as a key type, algorithm, etc. is not recognized. 227 * an algorithm with a randomized result, as well as functions that 315 /** \defgroup crypto_types Key and algorithm types 402 * The key policy determines which underlying hash algorithm the key can be 407 * \c alg is the HMAC algorithm or the underlying hash algorithm. */ 412 * The key policy determines which key derivation algorithm the key 417 /** Key for a cipher, AEAD or MAC algorithm based on the AES block cipher. 424 /** Key for a cipher, AEAD or MAC algorithm based on the 428 /** Key for a cipher or MAC algorithm based on DES or 3DES (Triple-DES). 439 /** Key for a cipher, AEAD or MAC algorithm based on the [all …]
|
| /external/mbedtls/include/psa/ |
| D | crypto_values.h | 75 * parameter such as a key type, algorithm, etc. is not recognized. 245 * an algorithm with a randomized result, as well as functions that 333 /** \defgroup crypto_types Key and algorithm types 426 * The key policy determines which underlying hash algorithm the key can be 431 * \c alg is the HMAC algorithm or the underlying hash algorithm. */ 442 * The key policy determines which key derivation algorithm the key 465 * The key policy determines which key derivation algorithm the key can be 472 * The key policy determines which key derivation algorithm the key 480 * The key policy determines which key derivation algorithm the key 485 /** Key for a cipher, AEAD or MAC algorithm based on the AES block cipher. [all …]
|
| /external/ltp/include/ |
| D | tst_af_alg.h | 22 * Create an AF_ALG algorithm socket. 24 * This creates an AF_ALG algorithm socket that is initially not bound to any 25 * particular algorithm. On failure, tst_brk() is called with TCONF if the 28 * @return a new AF_ALG algorithm socket 33 * Bind an AF_ALG algorithm socket to an algorithm. 35 * @param algfd An AF_ALG algorithm socket 36 * @param addr A structure which specifies the algorithm to use 39 * specified algorithm, otherwise TBROK. 44 * Bind an AF_ALG algorithm socket to an algorithm. 46 * @param algfd An AF_ALG algorithm socket [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | displayvideo_v1.customBiddingAlgorithms.html | 87 …lass="firstline">Creates a new custom bidding algorithm. Returns the newly created custom bidding … 90 <p class="firstline">Gets a custom bidding algorithm.</p> 99 …s="firstline">Updates an existing custom bidding algorithm. Returns the updated custom bidding alg… 111 …<pre>Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if… 117 { # A single custom bidding algorithm. 118 … String", # Immutable. The unique ID of the advertiser that owns the custom bidding algorithm. 119 …quot;A String", # Output only. The unique ID of the custom bidding algorithm. Assigned by the… 120 …gAlgorithmState": "A String", # Output only. The status of custom bidding algorithm. 121 …rithmType": "A String", # Required. Immutable. The type of custom bidding algorithm. 122 …quot;A String", # Required. The display name of the custom bidding algorithm. Must be UTF-8 e… [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
| D | SymmetricAlgorithmProvider.java | 13 String algorithm, 17 provider.addAlgorithm("Mac." + algorithm + "-CMAC", algorithmClassName); 18 provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "CMAC", algorithm + "-CMAC"); 20 provider.addAlgorithm("KeyGenerator." + algorithm + "-CMAC", keyGeneratorClassName); 21 provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "CMAC", algorithm + "-CMAC"); 26 String algorithm, 30 provider.addAlgorithm("Mac." + algorithm + "-GMAC", algorithmClassName); 31 provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "GMAC", algorithm + "-GMAC"); 33 provider.addAlgorithm("KeyGenerator." + algorithm + "-GMAC", keyGeneratorClassName); 34 provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "GMAC", algorithm + "-GMAC"); [all …]
|
| /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/ |
| D | SymmetricAlgorithmProvider.java | 14 String algorithm, 18 provider.addAlgorithm("Mac." + algorithm + "-CMAC", algorithmClassName); 19 provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "CMAC", algorithm + "-CMAC"); 21 provider.addAlgorithm("KeyGenerator." + algorithm + "-CMAC", keyGeneratorClassName); 22 provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "CMAC", algorithm + "-CMAC"); 27 String algorithm, 31 provider.addAlgorithm("Mac." + algorithm + "-GMAC", algorithmClassName); 32 provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "GMAC", algorithm + "-GMAC"); 34 provider.addAlgorithm("KeyGenerator." + algorithm + "-GMAC", keyGeneratorClassName); 35 provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "GMAC", algorithm + "-GMAC"); [all …]
|
| /external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/ |
| D | SymmetricAlgorithmProvider.java | 14 String algorithm, 18 provider.addAlgorithm("Mac." + algorithm + "-CMAC", algorithmClassName); 19 provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "CMAC", algorithm + "-CMAC"); 21 provider.addAlgorithm("KeyGenerator." + algorithm + "-CMAC", keyGeneratorClassName); 22 provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "CMAC", algorithm + "-CMAC"); 27 String algorithm, 31 provider.addAlgorithm("Mac." + algorithm + "-GMAC", algorithmClassName); 32 provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "GMAC", algorithm + "-GMAC"); 34 provider.addAlgorithm("KeyGenerator." + algorithm + "-GMAC", keyGeneratorClassName); 35 provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "GMAC", algorithm + "-GMAC"); [all …]
|
| /external/cronet/net/android/java/src/org/chromium/net/ |
| D | AndroidKeyStore.java | 32 * Check if a given PrivateKey object supports a signature algorithm. 35 * @param algorithm The signature algorithm to use. 36 * @return whether the algorithm is supported. 39 private static boolean privateKeySupportsSignature(PrivateKey privateKey, String algorithm) { in privateKeySupportsSignature() argument 41 Signature signature = Signature.getInstance(algorithm); in privateKeySupportsSignature() 46 Log.e(TAG, "Exception while checking support for " + algorithm + ": " + e); in privateKeySupportsSignature() 53 * Check if a given PrivateKey object supports an encryption algorithm. 56 * @param algorithm The signature algorithm to use. 57 * @return whether the algorithm is supported. 60 private static boolean privateKeySupportsCipher(PrivateKey privateKey, String algorithm) { in privateKeySupportsCipher() argument [all …]
|
| /external/rust/crates/ring/src/aead/ |
| D | quic.rs | 28 algorithm: &'static Algorithm, field 37 impl From<hkdf::Okm<'_, &'static Algorithm>> for HeaderProtectionKey { 38 fn from(okm: hkdf::Okm<&'static Algorithm>) -> Self { in from() 40 let algorithm = *okm.len(); in from() localVariable 41 let key_bytes = &mut key_bytes[..algorithm.key_len()]; in from() 43 Self::new(algorithm, key_bytes).unwrap() in from() 50 /// `key_bytes` must be exactly `algorithm.key_len` bytes long. 52 algorithm: &'static Algorithm, in new() argument 56 inner: (algorithm.init)(key_bytes, cpu::features())?, in new() 57 algorithm, in new() [all …]
|
| /external/rust/crates/ring/src/ |
| D | agreement.rs | 70 /// A key agreement algorithm. 71 pub struct Algorithm { struct 80 derive_debug_via_field!(Algorithm, curve); argument 82 impl Eq for Algorithm {} implementation 83 impl PartialEq for Algorithm { implementation 94 algorithm: &'static Algorithm, field 100 algorithm 104 /// Generate a new ephemeral private key for the given algorithm. 106 alg: &'static Algorithm, in generate() argument 118 algorithm: alg, in generate() [all …]
|
| D | digest.rs | 15 //! SHA-2 and the legacy SHA-1 digest algorithm. 47 /// The context's algorithm. 48 pub algorithm: &'static Algorithm, field 54 pub(crate) fn new(algorithm: &'static Algorithm) -> Self { in new() 56 state: algorithm.initial_state, in new() 58 algorithm, in new() 65 let num_blocks = input.len() / self.algorithm.block_len; in update() 66 assert_eq!(num_blocks * self.algorithm.block_len, input.len()); in update() 71 (self.algorithm.block_data_order)(&mut self.state, input.as_ptr(), num_blocks); in update() 81 let block_len = self.algorithm.block_len; in finish() [all …]
|
| /external/grpc-grpc/src/core/lib/compression/ |
| D | compression.cc | 33 grpc_compression_algorithm algorithm) { in grpc_compression_algorithm_is_message() argument 34 return (algorithm >= GRPC_COMPRESS_DEFLATE && algorithm <= GRPC_COMPRESS_GZIP) in grpc_compression_algorithm_is_message() 39 int grpc_compression_algorithm_is_stream(grpc_compression_algorithm algorithm) { in grpc_compression_algorithm_is_stream() argument 40 return (algorithm == GRPC_COMPRESS_STREAM_GZIP) ? 1 : 0; in grpc_compression_algorithm_is_stream() 44 grpc_compression_algorithm* algorithm) { in grpc_compression_algorithm_parse() argument 46 *algorithm = GRPC_COMPRESS_NONE; in grpc_compression_algorithm_parse() 49 *algorithm = GRPC_COMPRESS_DEFLATE; in grpc_compression_algorithm_parse() 52 *algorithm = GRPC_COMPRESS_GZIP; in grpc_compression_algorithm_parse() 55 *algorithm = GRPC_COMPRESS_STREAM_GZIP; in grpc_compression_algorithm_parse() 63 int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, in grpc_compression_algorithm_name() argument [all …]
|
| /external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/ |
| D | compression.cc | 34 grpc_compression_algorithm algorithm) { in grpc_compression_algorithm_is_message() argument 35 return (algorithm >= GRPC_COMPRESS_DEFLATE && algorithm <= GRPC_COMPRESS_GZIP) in grpc_compression_algorithm_is_message() 40 int grpc_compression_algorithm_is_stream(grpc_compression_algorithm algorithm) { in grpc_compression_algorithm_is_stream() argument 41 return (algorithm == GRPC_COMPRESS_STREAM_GZIP) ? 1 : 0; in grpc_compression_algorithm_is_stream() 45 grpc_compression_algorithm* algorithm) { in grpc_compression_algorithm_parse() argument 47 *algorithm = GRPC_COMPRESS_NONE; in grpc_compression_algorithm_parse() 50 *algorithm = GRPC_COMPRESS_DEFLATE; in grpc_compression_algorithm_parse() 53 *algorithm = GRPC_COMPRESS_GZIP; in grpc_compression_algorithm_parse() 57 *algorithm = GRPC_COMPRESS_STREAM_GZIP; in grpc_compression_algorithm_parse() 64 int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, in grpc_compression_algorithm_name() argument [all …]
|
| /external/conscrypt/common/src/test/java/org/conscrypt/ |
| D | MacTest.java | 75 String algorithm = entry[ALGORITHM_INDEX]; in knownAnswerTest() local 86 algorithm, key, msg, expected); in knownAnswerTest() 89 byte[] macBytes = generateMacUsingUpdate(algorithm, secretKey, msgBytes); in knownAnswerTest() 94 macBytes = generateMacUsingFinal(algorithm, secretKey, msgBytes); in knownAnswerTest() 100 macBytes = generateMac(algorithm, secretKey, nondirectBuffer); in knownAnswerTest() 108 macBytes = generateMac(algorithm, secretKey, directBuffer); in knownAnswerTest() 114 macBytes = generateMac(algorithm, secretKey, split(nondirectBuffer)); in knownAnswerTest() 120 macBytes = generateMac(algorithm, secretKey, split(directBuffer)); in knownAnswerTest() 125 macBytes = generateReusingMac(algorithm, keyBytes, msgBytes); in knownAnswerTest() 139 public void test(final Provider provider, final String algorithm) throws Exception { in serviceCreation() [all …]
|
| /external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ |
| D | MacTest.java | 79 String algorithm = entry[ALGORITHM_INDEX]; in knownAnswerTest() local 90 algorithm, key, msg, expected); in knownAnswerTest() 93 byte[] macBytes = generateMacUsingUpdate(algorithm, secretKey, msgBytes); in knownAnswerTest() 98 macBytes = generateMacUsingFinal(algorithm, secretKey, msgBytes); in knownAnswerTest() 104 macBytes = generateMac(algorithm, secretKey, nondirectBuffer); in knownAnswerTest() 112 macBytes = generateMac(algorithm, secretKey, directBuffer); in knownAnswerTest() 118 macBytes = generateMac(algorithm, secretKey, split(nondirectBuffer)); in knownAnswerTest() 124 macBytes = generateMac(algorithm, secretKey, split(directBuffer)); in knownAnswerTest() 129 macBytes = generateReusingMac(algorithm, keyBytes, msgBytes); in knownAnswerTest() 144 public void test(final Provider provider, final String algorithm) in serviceCreation() [all …]
|
| /external/mbedtls/docs/architecture/psa-migration/ |
| D | psa-limitations.md | 85 the hash algorithm potentially used to hash the message being signed: 86 - a hash algorithm used for the encoding function 88 - most commonly MGF1, which in turn is parametrized by a hash algorithm 124 - algorithm specification: 130 - salt length: either <= hashlen (see note), or any depending on algorithm 154 - encoding hash = message hashing algorithm (may differ from MGF1 hash) 179 algorithm identifiers (for SHA-256, SHA-384 and SHA-512), depending of what 185 - the length of the salt MUST be equal to the length of the digest algorithm 204 Hash Algorithm: sha256 205 Mask Algorithm: mgf1 with sha224 [all …]
|