/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator3Test.java | 140 String[] alg = {null, "", "AsDfGh!#$*", "DSA", "RSA"}; local 143 for (int i = 0; i < alg.length; i++) { 145 kpg = new MykeyPGen(alg[i]); 158 public MykeyPGen(String alg) { 159 super(alg);
|
KSPrivateKeyEntryTest.java | 180 private String alg = "My algorithm"; field in class:KSPrivateKeyEntryTest.tmpPrivateKey 183 return alg; 199 alg = algorithm;
|
/external/boringssl/src/crypto/evp/ |
p_rsa_asn1.c | 302 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) { 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, 325 if (!alg->parameter || alg->parameter->type != V_ASN1_SEQUENCE) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/ |
resumable_upload_handler.py | 371 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 in self.digesters [all...] |
/external/opencv3/samples/cpp/ |
stereo_match.cpp | 65 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 )
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 188 private String alg = "My algorithm"; field in class:KSPrivateKeyEntryTest.tmpPrivateKey 191 return alg; 207 alg = algorithm;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterNameReader.java | 87 UCharacterName.AlgorithmName alg[] = local 96 alg[i] = an; 98 data.setAlgorithm(alg);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharacterNameReader.java | 87 UCharacterName.AlgorithmName alg[] = local 96 alg[i] = an; 98 data.setAlgorithm(alg);
|
/external/opencv3/modules/cudaimgproc/test/ |
test_match_template.cpp | 85 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); local 88 alg->match(loadMat(image), loadMat(templ), dst); 144 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); local 147 alg->match(loadMat(image), loadMat(templ), dst); 198 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), method); local 201 alg->match(loadMat(image), loadMat(pattern), d_dst); 245 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(image.type(), cv::TM_CCOEFF_NORMED); local 248 alg->match(loadMat(image), loadMat(pattern), d_dst); 296 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(scene.type(), cv::TM_SQDIFF_NORMED); local 299 alg->match(loadMat(scene), loadMat(templ), d_result) 321 cv::Ptr<cv::cuda::TemplateMatching> alg = cv::cuda::createTemplateMatching(scene.type(), cv::TM_SQDIFF); local [all...] |
/external/autotest/server/site_tests/firmware_UpdateFirmwareDataKeyVersion/files/ |
common.sh | 58 local alg=$2 60 local len=$(alg_to_keylen $alg) 77 --algorithm $alg 83 --algorithm $alg
|
/external/autotest/server/site_tests/firmware_UpdateKernelDataKeyVersion/files/ |
common.sh | 58 local alg=$2 60 local len=$(alg_to_keylen $alg) 77 --algorithm $alg 83 --algorithm $alg
|
/external/autotest/server/site_tests/firmware_UpdateKernelSubkeyVersion/files/ |
common.sh | 58 local alg=$2 60 local len=$(alg_to_keylen $alg) 77 --algorithm $alg 83 --algorithm $alg
|
/external/ipsec-tools/src/racoon/ |
sainfo.h | 66 int alg; member in struct:sainfoalg
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
SecurityAgreeHeader.java | 67 * Set Algorithm (alg parameter) 68 * @param alg - algorithm value 71 public void setAlgorithm(String alg) throws ParseException; 139 * @return alg parameter value
|
/external/vboot_reference/scripts/keygeneration/ |
common.sh | 59 local alg=$2 61 local len=$(alg_to_keylen $alg) 78 --algorithm $alg 84 --algorithm $alg
|
/external/wpa_supplicant_8/src/ap/ |
ap_mlme.c | 23 static const char * mlme_auth_alg_str(int alg) 25 switch (alg) {
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
qcedev.h | 116 enum qcedev_cipher_alg_enum alg; member in struct:qcedev_cipher_op_req 131 enum qcedev_sha_alg_enum alg; member in struct:qcedev_sha_op_req
|
/external/wpa_supplicant_8/src/eap_common/ |
ikev2_common.c | 56 int ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, 61 switch (alg) { 97 int ikev2_prf_hash(int alg, const u8 *key, size_t key_len, 101 switch (alg) { 113 int ikev2_prf_plus(int alg, const u8 *key, size_t key_len, 125 prf = ikev2_get_prf(alg); 143 res = ikev2_prf_hash(alg, key, key_len, 2, &addr[1], 146 res = ikev2_prf_hash(alg, key, key_len, 3, addr, len, 175 int ikev2_encr_encrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, 181 switch (alg) { [all...] |
/external/wpa_supplicant_8/src/tls/ |
pkcs5.c | 25 } alg; member in struct:pkcs5_params 48 static int pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) 54 oid->oid[6] == alg; 58 static int enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) 63 oid->oid[5] == alg; 67 static int pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) 74 oid->oid[7] == alg; 299 params->alg = pkcs5_get_alg(&oid); 300 if (params->alg == PKCS5_ALG_UNKNOWN) { 306 if (params->alg == PKCS5_ALG_PBES2 [all...] |
tlsv1_client_ocsp.c | 67 static unsigned int ocsp_hash_data(struct asn1_oid *alg, const u8 *data, 74 if (x509_sha1_oid(alg)) { 81 if (x509_sha256_oid(alg)) { 88 if (x509_sha384_oid(alg)) { 95 if (x509_sha512_oid(alg)) { 103 asn1_oid_to_str(alg, buf, sizeof(buf)); 104 wpa_printf(MSG_DEBUG, "OCSP: Could not calculate hash with alg %s", 118 struct x509_algorithm_identifier alg; local 161 if (x509_parse_algorithm_identifier(pos, end - pos, &alg, &pos)) 181 hash_len = ocsp_hash_data(&alg.oid, issuer->subject_dn 363 struct x509_algorithm_identifier alg; local [all...] |
/external/tpm2/ |
Global.h | 48 #define TEST(alg) if(TEST_BIT(alg, g_toTest)) CryptTestAlgorithm(alg, NULL) 53 #define TEST_HASH(alg) \ 54 if( TEST_BIT(alg, g_toTest) \ 55 && (alg != ALG_NULL_VALUE)) \ 56 CryptTestAlgorithm(alg, NULL) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_internal.c | 20 enum crypto_hash_alg alg; member in struct:crypto_hash 39 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, 51 ctx->alg = alg; 53 switch (alg) { 148 switch (ctx->alg) { 192 switch (ctx->alg) {
|
/external/autotest/client/cros/ |
verity_utils.py | 59 'verity mode=create alg=%s payload=%s payload_blocks=%d hashtree=%s' 109 self.alg = DEFAULT_ALG 144 self.table = utils.system_output(self.verity_cmd % (self.alg, 174 alg=DEFAULT_ALG, 194 self.alg = alg
|
/external/vboot_reference/tests/ |
vb20_common2_tests.c | 101 0, "vb2_verify_data() bad sig alg"); 107 0, "vb2_verify_data() bad hash alg"); 200 int alg; local 202 for (alg = 0; alg < kNumAlgorithms; alg++) { 203 if (test_algorithm(alg, argv[1]))
|
vboot_common2_tests.c | 268 int alg; local 270 for (alg = 0; alg < kNumAlgorithms; alg++) { 271 if (test_algorithm(alg, argv[1]))
|