Searched refs:kSalt (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/evp/ |
D | pbkdf_test.cc | 128 static const uint8_t kSalt[] = {1, 2, 3, 4}; in TEST() local 129 const size_t salt_len = sizeof(kSalt); in TEST() 136 ASSERT_TRUE(PKCS5_PBKDF2_HMAC(kPassword, password_len, kSalt, salt_len, in TEST() 144 ASSERT_FALSE(PKCS5_PBKDF2_HMAC(kPassword, password_len, kSalt, salt_len, in TEST()
|
D | scrypt_test.cc | 64 static const char kSalt[] = "SodiumChloride"; in TEST() local 69 reinterpret_cast<const uint8_t *>(kSalt), in TEST() 70 strlen(kSalt), 1048576 /* N */, 8 /* r */, in TEST()
|
/external/boringssl/src/tool/ |
D | speed.cc | 752 static const uint8_t kSalt[] = "NaCl"; in SpeedScrypt() local 756 return !!EVP_PBE_scrypt(kPassword, sizeof(kPassword) - 1, kSalt, in SpeedScrypt() 757 sizeof(kSalt) - 1, 1024, 8, 16, 0 /* max_mem */, in SpeedScrypt() 767 return !!EVP_PBE_scrypt(kPassword, sizeof(kPassword) - 1, kSalt, in SpeedScrypt() 768 sizeof(kSalt) - 1, 16384, 8, 1, 0 /* max_mem */, in SpeedScrypt()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 1325 byte[] kSalt = new byte[SALT_SIZE]; in doStore() 1327 random.nextBytes(kSalt); in doStore() 1331 PKCS12PBEParams kParams = new PKCS12PBEParams(kSalt, MIN_ITERATIONS); in doStore()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 1329 byte[] kSalt = new byte[SALT_SIZE]; in doStore() 1331 random.nextBytes(kSalt); in doStore() 1335 PKCS12PBEParams kParams = new PKCS12PBEParams(kSalt, MIN_ITERATIONS); in doStore()
|