/libcore/tools/docs/crypto/ |
update_crypto_support.py | 196 for alg in alg_union: 197 prev_alg = find_by_normalized_name(prev_category['algorithms'], alg) 198 if alg in name_dict: 199 new_algorithm = {'name': name_dict[alg]} 203 new_algorithm = {'name': alg} 207 if alg in current_category and alg in prev_algorithms: 214 elif alg in prev_algorithms:
|
/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);
|
AlgorithmParametersTest.java | 197 String[] alg = {"", "qwertyu", "!@#$%^&*()"}; local 209 for (int i = 0; i < alg.length; i++) { 211 AlgorithmParameters ap = AlgorithmParameters.getInstance(alg[i], "MyProvider"); 212 fail("NoSuchAlgorithmException was not thrown for parameter " + alg[i]); 216 fail("Incorrect exception " + e + " was thrown for " + alg[i]); 305 String[] alg = {"", "qwertyu", "!@#$%^&*()"}; local 317 for (int i = 0; i < alg.length; i++) { 319 AlgorithmParameters ap = AlgorithmParameters.getInstance(alg[i], p); 320 fail("NoSuchAlgorithmException was not thrown for parameter " + alg[i]); 324 fail("Incorrect exception " + e + " was thrown for " + alg[i]) [all...] |
KSPrivateKeyEntryTest.java | 234 private String alg = "My algorithm"; field in class:KSPrivateKeyEntryTest.tmpPrivateKey 237 return alg; 253 alg = algorithm;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterNameReader.java | 90 UCharacterName.AlgorithmName alg[] = local 99 alg[i] = an; 101 data.setAlgorithm(alg);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharacterNameReader.java | 90 UCharacterName.AlgorithmName alg[] = local 99 alg[i] = an; 101 data.setAlgorithm(alg);
|
/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/linux-kselftest/tools/testing/selftests/zram/ |
zram_lib.sh | 120 for alg in $zram_algs; do 122 echo "$alg" > $sys_path || \ 123 echo "FAIL can't set '$alg' to $sys_path" 125 echo "$sys_path = '$alg' ($i/$dev_num)"
|
/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
|
SecurityAgree.java | 155 * Set Algorithm (alg parameter) 156 * @param alg - algorithm value 159 public void setAlgorithm(String alg) throws ParseException { 160 if (alg == null) 164 setParameter(ParameterNamesIms.ALG, alg); 282 * @return alg parameter value 285 return getParameter(ParameterNamesIms.ALG);
|
/external/vboot_reference/scripts/keygeneration/ |
common.sh | 59 local alg=$2 61 local len=$(alg_to_keylen $alg) 78 --algorithm $alg 84 --algorithm $alg
|
/cts/hostsidetests/security/securityPatch/Bug-36591162/ |
poc.c | 57 enum qcedev_sha_alg_enum alg; member in struct:qcedev_sha_op_req 74 arg.alg = QCEDEV_ALG_AES_CMAC;
|
/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
|
/hardware/qcom/msm8x09/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...] |
ikev2_common.h | 271 int ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, 274 int ikev2_prf_hash(int alg, const u8 *key, size_t key_len, 277 int ikev2_prf_plus(int alg, const u8 *key, size_t key_len, 281 int ikev2_encr_encrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, 283 int ikev2_encr_decrypt(int alg, const u8 *key, size_t key_len, const u8 *iv,
|
/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/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]))
|