/external/tpm2/ |
CryptSelfTest.c | 25 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_implementedAlgorithms) [all...] |
CryptSelfTest_fp.h | 17 TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
|
EncryptDecrypt.c | 31 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/ |
x_algor.c | 78 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->parameter [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
CryptoPermission.java | 38 CryptoPermission(String alg) { super(""); } 40 CryptoPermission(String alg, int maxKeySize) { super(""); } 42 CryptoPermission(String alg, 46 CryptoPermission(String alg, 49 CryptoPermission(String alg, 53 CryptoPermission(String alg,
|
JceSecurityManager.java | 41 CryptoPermission getCryptoPermission(String alg) { return null; }
|
CryptoPermissions.java | 57 PermissionCollection getPermissionCollection(String alg) { return null; }
|
/external/opencv3/modules/video/test/ocl/ |
test_optflow_tvl1flow.cpp | 85 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/ |
messagedigest.h | 43 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|, e.g. DIGEST_SHA_1. Returns empty string i [all...] |
messagedigest.cc | 38 MessageDigest* MessageDigestFactory::Create(const std::string& alg) { 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) { 63 return alg == DIGEST_SHA_1 || 64 alg == DIGEST_SHA_224 || 65 alg == DIGEST_SHA_256 || 66 alg == DIGEST_SHA_384 || 67 alg == DIGEST_SHA_512 [all...] |
/external/opencv3/modules/video/perf/opencl/ |
perf_optflow_dualTVL1.cpp | 90 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/vboot_reference/tests/ |
gen_test_keys.sh | 39 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/ |
MyExemptionMechanismSpi.java | 101 private String alg; field in class:MyExemptionMechanismSpi.tmpKey 104 public tmpKey(String alg, byte[] enc) { 105 this.alg = alg; 114 return alg; 126 public tmp1Key(String alg, byte[] enc) {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyExemptionMechanismSpi.java | 108 private String alg; field in class:MyExemptionMechanismSpi.tmpKey 110 public tmpKey(String alg, byte[] enc) { 111 this.alg = alg; 118 return alg; 127 public tmp1Key(String alg, byte[] enc) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator2Test.java | 198 String alg = validValues[i].concat(post); local 199 kpG = KeyPairGenerator.getInstance(alg); 201 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); 237 String alg = validValues[i].concat(post); local 239 KeyPairGenerator.getInstance(alg, prov); 241 .concat(alg).concat(")")); 246 String alg = validValues[i].concat(post); local 249 KeyPairGenerator.getInstance(alg, invalidValues[j]); 251 .concat(alg).concat(" provider: ").concat( 259 String alg = validValues[i].concat(post) local 296 String alg = validValues[i].concat(post); local 306 String alg = validValues[i].concat(post); local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
hashing_helper.py | 381 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...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator2Test.java | 202 String alg = validValues[i].concat(post); local 203 kpG = KeyPairGenerator.getInstance(alg); 205 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); 241 String alg = validValues[i].concat(post); local 243 KeyPairGenerator.getInstance(alg, prov); 245 .concat(alg).concat(")")); 250 String alg = validValues[i].concat(post); local 253 KeyPairGenerator.getInstance(alg, invalidValues[j]); 255 .concat(alg).concat(" provider: ").concat( 263 String alg = validValues[i].concat(post) local 300 String alg = validValues[i].concat(post); local 310 String alg = validValues[i].concat(post); local [all...] |
/external/boringssl/src/crypto/pkcs8/ |
p5_pbe.c | 79 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/ |
plot_dynamics.py | 76 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/ |
dev_make_keypair | 11 Usage: ${0##*/} BASENAME [ALG] 17 If specified, ALG is one of: 32 If ALG is not specified, a default value will be used. 47 local alg=$2 48 local len=$(alg_to_keylen $alg) 63 --algorithm $alg 69 --algorithm $alg
|
/external/libchrome/crypto/ |
symmetric_key_win.cc | 47 // 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) { 370 ALG_ID alg = 0; local 470 ALG_ID alg = 0; local [all...] |
/external/opencv3/samples/gpu/ |
generalized_hough.cpp | 87 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/ |
perf_hough.cpp | 251 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->setTemplate(cv::cuda::GpuMat(templ)) 335 cv::Ptr<cv::GeneralizedHoughGuil> alg = cv::createGeneralizedHoughGuil(); local [all...] |
perf_match_template.cpp | 79 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/src/crypto/ |
crypto_internal-cipher.c | 18 enum crypto_cipher_alg alg; member in struct:crypto_cipher 43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, 53 ctx->alg = alg; 55 switch (alg) { 108 switch (ctx->alg) { 172 switch (ctx->alg) { 232 switch (ctx->alg) {
|