Searched refs:alg (Results 1 - 25 of 226) sorted by relevance

12345678910

/external/tpm2/
H A DCryptSelfTest.c25 TPM_ALG_ID alg; local
28 for(alg = TPM_ALG_FIRST; alg <= TPM_ALG_LAST; alg++)
30 if(TEST_BIT(alg, *toTest))
32 TPM_RC result = CryptTestAlgorithm(alg, toTest);
96 TPM_ALG_ID alg; local
104 TPM_ALG_ID alg = toTest->algorithms[i]; local
106 if((alg > TPM_ALG_LAST) || !TEST_BIT(alg, g_implementedAlgorithm
165 CryptTestAlgorithm( TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest ) argument
[all...]
H A DCryptSelfTest_fp.h17 TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
H A DEncryptDecrypt.c31 TPM_ALG_ID alg; local
62 alg = symKey->publicArea.parameters.symDetail.sym.algorithm;
63 blockSize = CryptGetSymmetricBlockSize(alg, keySize);
89 alg,
99 alg,
/external/boringssl/src/crypto/x509/
H A Dx_algor.c78 int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype, void *pval)
80 if (!alg)
84 if (alg->parameter == NULL)
85 alg->parameter = ASN1_TYPE_new();
86 if (alg->parameter == NULL)
89 if (alg)
91 if (alg->algorithm)
92 ASN1_OBJECT_free(alg->algorithm);
93 alg->algorithm = (ASN1_OBJECT*) aobj;
99 if (alg
[all...]
/external/opencv3/modules/video/test/ocl/
H A Dtest_optflow_tvl1flow.cpp85 cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1(); local
88 alg->setScaleStep(scaleStep);
89 alg->setMedianFiltering(medianFiltering);
94 OCL_ON(alg->calc(frame0, frame1, uflow));
99 alg->setUseInitialFlow(useInitFlow);
101 OCL_OFF(alg->calc(frame0, frame1, flow));
102 OCL_ON(alg->calc(frame0, frame1, uflow));
/external/webrtc/webrtc/base/
H A Dmessagedigest.h43 static MessageDigest* Create(const std::string& alg);
47 bool IsFips180DigestAlgorithm(const std::string& alg);
58 // the desired digest name |alg|, e.g. DIGEST_SHA_1. Returns 0 if there is no
60 size_t ComputeDigest(const std::string& alg, const void* input, size_t in_len,
66 // the desired digest name |alg|, e.g. DIGEST_SHA_1. Returns empty string if
68 std::string ComputeDigest(const std::string& alg, const std::string& input);
70 bool ComputeDigest(const std::string& alg, const std::string& input,
89 // the desired digest name |alg|, e.g. DIGEST_SHA_1. Returns 0 if there is no
91 size_t ComputeHmac(const std::string& alg, const void* key, size_t key_len,
99 // the desired digest name |alg|,
[all...]
H A Dmessagedigest.cc38 MessageDigest* MessageDigestFactory::Create(const std::string& alg) { argument
40 MessageDigest* digest = new OpenSSLDigest(alg);
48 if (alg == DIGEST_MD5) {
50 } else if (alg == DIGEST_SHA_1) {
57 bool IsFips180DigestAlgorithm(const std::string& alg) { argument
63 return alg == DIGEST_SHA_1 ||
64 alg == DIGEST_SHA_224 ||
65 alg == DIGEST_SHA_256 ||
66 alg == DIGEST_SHA_384 ||
67 alg
76 ComputeDigest(const std::string& alg, const void* input, size_t in_len, void* output, size_t out_len) argument
91 ComputeDigest(const std::string& alg, const std::string& input, std::string* output) argument
101 ComputeDigest(const std::string& alg, const std::string& input) argument
146 ComputeHmac(const std::string& alg, const void* key, size_t key_len, const void* input, size_t in_len, void* output, size_t out_len) argument
165 ComputeHmac(const std::string& alg, const std::string& key, const std::string& input, std::string* output) argument
175 ComputeHmac(const std::string& alg, const std::string& key, const std::string& input) argument
[all...]
/external/opencv3/modules/video/perf/opencl/
H A Dperf_optflow_dualTVL1.cpp90 cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1(); local
93 alg->setScaleStep(scaleStep);
94 alg->setMedianFiltering(medianFiltering);
99 alg->calc(uFrame0, uFrame1, uFlow);
103 alg->setUseInitialFlow(useInitFlow);
105 alg->calc(uFrame0, uFrame1, uFlow);
/external/chromium-trace/catapult/third_party/gsutil/gslib/
H A Dhashing_helper.py381 for alg in self._digesters:
382 self._digesters_previous[alg] = self._digesters[alg].copy()
407 for alg in self._digesters:
408 self._digesters_previous[alg] = self._digesters[alg].copy()
409 self._digesters[alg].update(data)
442 for alg in self._digesters:
443 self._digesters[alg] = self._hash_algs[alg]()
[all...]
/external/vboot_reference/tests/
H A Dgen_test_keys.sh39 alg=$((${key_index} * 3 + ${alg_index}))
45 --algorithm ${alg}
51 --algorithm ${alg}
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
H A DMyExemptionMechanismSpi.java101 private String alg; field in class:MyExemptionMechanismSpi.tmpKey
104 public tmpKey(String alg, byte[] enc) { argument
105 this.alg = alg;
114 return alg;
126 public tmp1Key(String alg, byte[] enc) { argument
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DKeyPairGenerator2Test.java198 String alg = validValues[i].concat(post);
199 kpG = KeyPairGenerator.getInstance(alg);
201 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase());
237 String alg = validValues[i].concat(post);
239 KeyPairGenerator.getInstance(alg, prov);
241 .concat(alg).concat(")"));
246 String alg = validValues[i].concat(post);
249 KeyPairGenerator.getInstance(alg, invalidValues[j]);
251 .concat(alg).concat(" provider: ").concat(
259 String alg
[all...]
/external/boringssl/src/crypto/pkcs8/
H A Dp5_pbe.c79 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
121 if (X509_ALGOR_set0(algor, OBJ_nid2obj(alg), V_ASN1_SEQUENCE, pbe_str))
134 X509_ALGOR *PKCS5_pbe_set(int alg, int iter,
145 if (PKCS5_pbe_set0_algor(ret, alg, iter, salt, saltlen))
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
H A Dplot_dynamics.py76 for alg in v.samples.keys():
78 for series in v.samples[alg].keys():
80 x = [sample[0] for sample in v.samples[alg][series]]
81 y = [sample[1] for sample in v.samples[alg][series]]
85 line = plt.plot(x, y, label=alg, linewidth=4.0)
101 key = alg + flow_id.group(1)
105 elif alg == 'TCP':
110 if alg.startswith('Available'):
/external/vboot_reference/utility/
H A Ddev_make_keypair47 local alg=$2
48 local len=$(alg_to_keylen $alg)
63 --algorithm $alg
69 --algorithm $alg
/external/libchrome/crypto/
H A Dsymmetric_key_win.cc47 // key created for the specified |provider|. |alg| contains the algorithm of
49 // If |key_data| is intended to be used as an HMAC key, then |alg| should be
54 ALG_ID alg,
70 key_header->hdr.aiKeyAlg = alg;
76 if (alg == CALG_HMAC) {
108 ALG_ID alg = GetAESAlgIDForKeySize(key_size_in_bits); local
109 if (alg == 0)
127 ok = CryptGenKey(safe_provider.get(), alg, CRYPT_EXPORTABLE,
139 // Section 3. |alg| is the hash function used in the HMAC.
140 bool CheckHMACKeySize(size_t key_size_in_bits, ALG_ID alg) { argument
53 ImportRawKey(HCRYPTPROV provider, ALG_ID alg, const void* key_data, size_t key_size, ScopedHCRYPTKEY* key) argument
170 GenerateHMACKey(size_t key_size_in_bits, ALG_ID alg, ScopedHCRYPTPROV* provider, ScopedHCRYPTKEY* key, scoped_ptr<BYTE[]>* raw_key) argument
370 ALG_ID alg = 0; local
470 ALG_ID alg = 0; local
[all...]
/external/opencv3/samples/gpu/
H A Dgeneralized_hough.cpp87 Ptr<GeneralizedHough> alg; local
99 alg = ballard;
122 alg = guil;
134 alg->setTemplate(d_templ);
138 alg->detect(d_image, d_position);
145 alg->setTemplate(templ);
149 alg->detect(image, position);
/external/opencv3/modules/cudaimgproc/perf/
H A Dperf_hough.cpp251 cv::Ptr<cv::GeneralizedHoughBallard> alg = cv::cuda::createGeneralizedHoughBallard(); local
258 alg->setTemplate(cv::cuda::GpuMat(templ));
260 TEST_CYCLE() alg->detect(d_edges, d_dx, d_dy, positions);
266 cv::Ptr<cv::GeneralizedHoughBallard> alg = cv::createGeneralizedHoughBallard(); local
270 alg->setTemplate(templ);
272 TEST_CYCLE() alg->detect(edges, dx, dy, positions);
320 cv::Ptr<cv::GeneralizedHoughGuil> alg = cv::cuda::createGeneralizedHoughGuil(); local
321 alg->setMaxAngle(90.0);
322 alg->setAngleStep(2.0);
329 alg
335 cv::Ptr<cv::GeneralizedHoughGuil> alg = cv::createGeneralizedHoughGuil(); local
[all...]
H A Dperf_match_template.cpp79 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); local
81 TEST_CYCLE() alg->match(d_image, d_templ, dst);
121 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); local
123 TEST_CYCLE() alg->match(d_image, d_templ, dst);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_internal-cipher.c18 enum crypto_cipher_alg alg; member in struct:crypto_cipher
43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument
53 ctx->alg = alg;
55 switch (alg) {
108 switch (ctx->alg) {
172 switch (ctx->alg) {
232 switch (ctx->alg) {
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_internal-cipher.c18 enum crypto_cipher_alg alg; member in struct:crypto_cipher
43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument
53 ctx->alg = alg;
55 switch (alg) {
108 switch (ctx->alg) {
172 switch (ctx->alg) {
232 switch (ctx->alg) {
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_internal-cipher.c18 enum crypto_cipher_alg alg; member in struct:crypto_cipher
43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument
53 ctx->alg = alg;
55 switch (alg) {
108 switch (ctx->alg) {
172 switch (ctx->alg) {
232 switch (ctx->alg) {
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/
H A Dresumable_upload_handler.py371 for alg in self.digesters:
372 self.digesters[alg].update(buf)
447 for alg in self.digesters:
448 self.digesters[alg].update(chunk)
633 (alg, hash_algs[alg]()) for alg in hash_algs or {})
644 (alg, self.digesters[alg].copy())
645 for alg i
[all...]
/external/boringssl/src/crypto/evp/
H A Dp_rsa_asn1.c302 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) { argument
306 if (alg == NULL || alg->parameter == NULL ||
307 OBJ_obj2nid(alg->algorithm) != NID_mgf1 ||
308 alg->parameter->type != V_ASN1_SEQUENCE) {
312 p = alg->parameter->value.sequence->data;
313 plen = alg->parameter->value.sequence->length;
317 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, argument
325 if (!alg->parameter || alg
508 rsa_algor_to_md(X509_ALGOR *alg) argument
521 rsa_mgf1_to_md(X509_ALGOR *alg, X509_ALGOR *maskHash) argument
[all...]
/external/opencv3/samples/cpp/
H A Dstereo_match.cpp65 int alg = STEREO_SGBM; local
85 alg = strcmp(_alg, "bm") == 0 ? STEREO_BM :
89 if( alg < 0 )
158 int color_mode = alg == STEREO_BM ? 0 : -1;
260 sgbm->setMode(alg == STEREO_HH ? StereoSGBM::MODE_HH : StereoSGBM::MODE_SGBM);
268 if( alg == STEREO_BM )
270 else if( alg == STEREO_SGBM || alg == STEREO_HH )
276 if( alg != STEREO_VAR )

Completed in 1089 milliseconds

12345678910