Searched refs:key_size_in_bits (Results 1 – 4 of 4) sorted by relevance
28 size_t key_size_in_bits) { in GenerateRandomKey() argument34 if (key_size_in_bits != 128 && key_size_in_bits != 256) in GenerateRandomKey()37 size_t key_size_in_bytes = key_size_in_bits / 8; in GenerateRandomKey()38 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8); in GenerateRandomKey()58 size_t key_size_in_bits) { in DeriveKeyFromPassword() argument65 if (key_size_in_bits != 128 && key_size_in_bits != 256) in DeriveKeyFromPassword()69 size_t key_size_in_bytes = key_size_in_bits / 8; in DeriveKeyFromPassword()70 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8); in DeriveKeyFromPassword()
21 size_t key_size_in_bits) { in GenerateRandomKey() argument29 if (key_size_in_bits != 128 && key_size_in_bits != 256) in GenerateRandomKey()37 key_size_in_bits / 8, NULL); in GenerateRandomKey()49 size_t key_size_in_bits) { in DeriveKeyFromPassword() argument51 if (salt.empty() || iterations == 0 || key_size_in_bits == 0) in DeriveKeyFromPassword()58 if (key_size_in_bits != 128 && key_size_in_bits != 256) in DeriveKeyFromPassword()79 key_size_in_bits / 8, in DeriveKeyFromPassword()
73 unsigned int key_size_in_bits; member86 test_data.rounds, test_data.key_size_in_bits)); in TEST_P()91 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()); in TEST_P()
46 size_t key_size_in_bits);58 size_t key_size_in_bits);