Home
last modified time | relevance | path

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

12345678910>>...858

/aosp_15_r20/external/sdv/vsomeip/third_party/boost/algorithm/include/boost/algorithm/string/
Derase.hpp32 namespace algorithm { namespace
57 return ::boost::algorithm::find_format_copy( in erase_range_copy()
60 ::boost::algorithm::range_finder(SearchRange), in erase_range_copy()
61 ::boost::algorithm::empty_formatter(Input) ); in erase_range_copy()
75 return ::boost::algorithm::find_format_copy( in erase_range_copy()
77 ::boost::algorithm::range_finder(SearchRange), in erase_range_copy()
78 ::boost::algorithm::empty_formatter(Input) ); in erase_range_copy()
96 ::boost::algorithm::find_format( in erase_range()
98 ::boost::algorithm::range_finder(SearchRange), in erase_range()
99 ::boost::algorithm::empty_formatter(Input) ); in erase_range()
[all …]
Dreplace.hpp33 namespace algorithm { namespace
64 return ::boost::algorithm::find_format_copy( in replace_range_copy()
67 ::boost::algorithm::range_finder(SearchRange), in replace_range_copy()
68 ::boost::algorithm::const_formatter(Format)); in replace_range_copy()
83 return ::boost::algorithm::find_format_copy( in replace_range_copy()
85 ::boost::algorithm::range_finder(SearchRange), in replace_range_copy()
86 ::boost::algorithm::const_formatter(Format)); in replace_range_copy()
106 ::boost::algorithm::find_format( in replace_range()
108 ::boost::algorithm::range_finder(SearchRange), in replace_range()
109 ::boost::algorithm::const_formatter(Format)); in replace_range()
[all …]
Dregex.hpp33 namespace algorithm { namespace
65 return ::boost::algorithm::regex_finder(Rx,Flags)( in find_regex()
101 return ::boost::algorithm::find_format_copy( in replace_regex_copy()
104 ::boost::algorithm::regex_finder( Rx, Flags ), in replace_regex_copy()
105 ::boost::algorithm::regex_formatter( Format, Flags ) ); in replace_regex_copy()
123 return ::boost::algorithm::find_format_copy( in replace_regex_copy()
125 ::boost::algorithm::regex_finder( Rx, Flags ), in replace_regex_copy()
126 ::boost::algorithm::regex_formatter( Format, Flags ) ); in replace_regex_copy()
150 ::boost::algorithm::find_format( in replace_regex()
152 ::boost::algorithm::regex_finder( Rx, Flags ), in replace_regex()
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/mkldnn/xpu/detail/
H A DAttr.h78 PostOpParam(float scale, float alpha, float beta, dnnl::algorithm algo, kind_t kind) in PostOpParam()
87 dnnl::algorithm algo, in PostOpParam()
98 PostOpParam(at::Tensor& binary, float scale, dnnl::algorithm algo, kind_t kind) in PostOpParam()
115 dnnl::algorithm algo_ = dnnl::algorithm::eltwise_relu;
125 dnnl::algorithm kind_with_relu = dnnl::algorithm::eltwise_relu;
126 dnnl::algorithm kind_with_sigmoid = dnnl::algorithm::eltwise_logistic;
127 dnnl::algorithm kind_with_gelu_tanh = dnnl::algorithm::eltwise_gelu_tanh;
128 dnnl::algorithm kind_with_gelu_erf = dnnl::algorithm::eltwise_gelu_erf;
129 dnnl::algorithm kind_with_mish = dnnl::algorithm::eltwise_mish;
130 dnnl::algorithm kind_with_linear = dnnl::algorithm::eltwise_linear;
[all …]
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/
H A DMacTest.java258 for (String algorithm : expectedAlgorithms()) { in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
260 SecretKey key = importDefaultKatKey(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
263 Mac mac = Mac.getInstance(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
267 throw new RuntimeException(algorithm + " failed", e); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
276 for (String algorithm : expectedAlgorithms()) { in testMacGeneratedForEmptyMessage()
278 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedForEmptyMessage()
281 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedForEmptyMessage()
289 throw new RuntimeException(algorithm + " failed", e); in testMacGeneratedForEmptyMessage()
298 for (String algorithm : expectedAlgorithms()) { in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
300 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
[all …]
H A DKeyFactoryTest.java123 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
135 KeyPairGenerator.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
145 KeyFactory keyFactory = getKeyFactory(algorithm); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
174 throw new RuntimeException("Failed for " + algorithm, e); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
182 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()
185 KeyPairGenerator.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()
188 KeyFactory keyFactory = getKeyFactory(algorithm); in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()
194 throw new RuntimeException("Failed for " + algorithm, e); in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()
202 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec()
205 if ("EC".equalsIgnoreCase(algorithm)) { in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec()
[all …]
H A DSignatureTest.java662 for (String algorithm : EXPECTED_SIGNATURE_ALGORITHMS) { in testSmallMsgKat()
664 byte[] goodSigBytes = SHORT_MSG_KAT_SIGNATURES.get(algorithm); in testSmallMsgKat()
666 KeyPair keyPair = importDefaultKatKeyPair(algorithm).getKeystoreBackedKeyPair(); in testSmallMsgKat()
669 algorithm, provider, keyPair.getPublic(), message, goodSigBytes); in testSmallMsgKat()
671 algorithm, provider, keyPair.getPublic(), message, goodSigBytes); in testSmallMsgKat()
673 algorithm, provider, keyPair.getPublic(), message, goodSigBytes, 3); in testSmallMsgKat()
678 algorithm, provider, keyPair.getPublic(), messageWithBitFlip, goodSigBytes); in testSmallMsgKat()
683 algorithm, provider, keyPair.getPublic(), message, goodSigWithBitFlip); in testSmallMsgKat()
686 Signature signature = Signature.getInstance(algorithm, provider); in testSmallMsgKat()
691 algorithm.toLowerCase().endsWith("withrsa"); in testSmallMsgKat()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/range/doc/reference/
Dalgorithms.qbk8 …st simple form a [*Range Algorithm] (or range-based algorithm) is simply an iterator-based algorit…
11 #include <boost/range/algorithm.hpp>
42 as a template parameter to the algorithm:
57 # it is very ['*safe*] because the algorithm can verify out-of-bounds conditions and handle tricky …
83 … is complex, calling `vec.end()` several times will be more expensive than using a range algorithm.
88 [include algorithm/copy.qbk]
89 [include algorithm/copy_backward.qbk]
90 [include algorithm/fill.qbk]
91 [include algorithm/fill_n.qbk]
92 [include algorithm/generate.qbk]
[all …]
/aosp_15_r20/external/skia/toolchain/linux_trampolines/
H A 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 …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/range/doc/
Dheaders.qbk33 …[[`<boost/range/algorithm.hpp>` ] [every range equivalent of an STL algorithm ] [- …
34 …[[`<boost/range/algorithm_ext.hpp>` ] [every range algorithm that is an extension of the STL alg…
62 [section:algorithm Algorithm]
65 [[`<boost/range/algorithm/adjacent_find.hpp>`] [__range_algorithms_adjacent_find__]]
66 [[`<boost/range/algorithm/binary_search.hpp>`] [__range_algorithms_binary_search__]]
67 [[`<boost/range/algorithm/copy.hpp>`] [__range_algorithms_copy__]]
68 [[`<boost/range/algorithm/copy_backward.hpp>`] [__range_algorithms_copy_backward__]]
69 [[`<boost/range/algorithm/count.hpp>`] [__range_algorithms_count__]]
70 [[`<boost/range/algorithm/count_if.hpp>`] [__range_algorithms_count_if__]]
71 [[`<boost/range/algorithm/equal.hpp>`] [__range_algorithms_equal__]]
[all …]
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
H A DCipherTest.java128 private static boolean isSupported(String algorithm, String provider) { in isSupported() argument
129 if (algorithm.equals("RC2")) { in isSupported()
132 if (algorithm.equals("PBEWITHMD5ANDRC2")) { in isSupported()
135 if (algorithm.startsWith("PBEWITHSHA1ANDRC2")) { in isSupported()
138 if (algorithm.equals("PBEWITHSHAAND40BITRC2-CBC")) { in isSupported()
141 if (algorithm.equals("PBEWITHSHAAND128BITRC2-CBC")) { in isSupported()
144 if (algorithm.equals("PBEWITHSHAANDTWOFISH-CBC")) { in isSupported()
148 if (algorithm.equals("PBEWITHMD5ANDTRIPLEDES")) { in isSupported()
154 (algorithm.equals("AES/CFB/PKCS5PADDING") in isSupported()
155 || algorithm.equals("AES/CFB/PKCS7PADDING") in isSupported()
[all …]
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
H A DCipherTest.java120 private static boolean isSupported(String algorithm, String provider) { in isSupported() argument
121 if (algorithm.equals("RC2")) { in isSupported()
124 if (algorithm.equals("PBEWITHMD5ANDRC2")) { in isSupported()
127 if (algorithm.startsWith("PBEWITHSHA1ANDRC2")) { in isSupported()
130 if (algorithm.equals("PBEWITHSHAAND40BITRC2-CBC")) { in isSupported()
133 if (algorithm.equals("PBEWITHSHAAND128BITRC2-CBC")) { in isSupported()
136 if (algorithm.equals("PBEWITHSHAANDTWOFISH-CBC")) { in isSupported()
140 if (algorithm.equals("PBEWITHMD5ANDTRIPLEDES")) { in isSupported()
146 (algorithm.equals("AES/CFB/PKCS5PADDING") in isSupported()
147 || algorithm.equals("AES/CFB/PKCS7PADDING") in isSupported()
[all …]
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/util/
H A DDefaultJcaJceHelper.java39 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 …]
H A DProviderJcaJceHelper.java46 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 …]
H A DNamedJcaJceHelper.java46 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 …]
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
H A DDefaultJcaJceHelper.java37 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 …]
H A DProviderJcaJceHelper.java44 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 …]
H A DNamedJcaJceHelper.java44 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 …]
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/
H A DDefaultJcaJceHelper.java39 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 …]
H A DProviderJcaJceHelper.java46 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 …]
H A DNamedJcaJceHelper.java46 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 …]
/aosp_15_r20/external/cronet/third_party/libc++/src/include/
H A Dlibcxx.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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/c++/v1/
Dlibcxx.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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/c++/v1/
Dlibcxx.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 …]
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/
H A DMacTest.java77 String algorithm = entry[ALGORITHM_INDEX]; in knownAnswerTest() local
88 algorithm, key, msg, expected); in knownAnswerTest()
91 byte[] macBytes = generateMacUsingUpdate(algorithm, secretKey, msgBytes); in knownAnswerTest()
96 macBytes = generateMacUsingFinal(algorithm, secretKey, msgBytes); in knownAnswerTest()
102 macBytes = generateMac(algorithm, secretKey, nondirectBuffer); in knownAnswerTest()
110 macBytes = generateMac(algorithm, secretKey, directBuffer); in knownAnswerTest()
116 macBytes = generateMac(algorithm, secretKey, split(nondirectBuffer)); in knownAnswerTest()
122 macBytes = generateMac(algorithm, secretKey, split(directBuffer)); in knownAnswerTest()
127 macBytes = generateReusingMac(algorithm, keyBytes, msgBytes); in knownAnswerTest()
132 macBytes = generateReusingMacSameKey(algorithm, secretKey, msgBytes); in knownAnswerTest()
[all …]

12345678910>>...858