Searched refs:output_len (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/ |
D | kdf1_test.cpp | 47 size_t output_len = expected_output.size(); in TEST() local 48 uint8_t output[output_len]; in TEST() 53 ASSERT_TRUE(kdf1.GenerateKey(nullptr, 0, output, output_len)); in TEST() 54 EXPECT_EQ(0, memcmp(output, expected_output.data(), output_len)); in TEST()
|
D | kdf2_test.cpp | 72 size_t output_len = expected_output.size(); in TEST() local 73 uint8_t output[output_len]; in TEST() 79 output, output_len)); in TEST() 80 EXPECT_EQ(0, memcmp(output, expected_output.data(), output_len)); in TEST()
|
D | hkdf_test.cpp | 66 size_t output_len = expected.size(); in TEST() local 67 uint8_t output[output_len]; in TEST() 72 output, output_len)); in TEST() 73 EXPECT_EQ(0, memcmp(output, expected.data(), output_len)); in TEST()
|
D | iso18033kdf.cpp | 31 size_t output_len) { in GenerateKey() argument 36 if ((0xFFFFFFFFULL + start_counter_) * digest_size_ < (uint64_t)output_len) in GenerateKey() 43 size_t num_blocks = (output_len + digest_size_ - 1) / digest_size_; in GenerateKey() 79 size_t block_length = min(digest_size_, output_len - block_start); in GenerateKey()
|
D | hkdf.cpp | 28 size_t output_len) { in GenerateKey() argument 62 const size_t num_blocks = (output_len + digest_size_ - 1) / digest_size_; in GenerateKey() 88 size_t block_output_len = digest_size_ < output_len - i * digest_size_ in GenerateKey() 90 : output_len - i * digest_size_; in GenerateKey()
|
D | android_keymaster_test_utils.h | 120 int output_len = 0; in log_msg() local 123 output_len = printf("DEBUG: "); in log_msg() 126 output_len = printf("INFO: "); in log_msg() 129 output_len = printf("WARNING: "); in log_msg() 132 output_len = printf("ERROR: "); in log_msg() 135 output_len = printf("SEVERE: "); in log_msg() 139 output_len += vprintf(fmt, args); in log_msg() 140 output_len += printf("\n"); in log_msg() 141 return output_len; in log_msg()
|
D | iso18033kdf.h | 57 size_t output_len) override;
|
D | hkdf.h | 45 size_t output_len) override;
|
D | kdf.h | 38 size_t output_len) = 0;
|
/system/security/keystore/tests/ |
D | auth_token_table_test.cpp | 38 int output_len = 0; in log_msg() local 41 output_len = printf("DEBUG: "); in log_msg() 44 output_len = printf("INFO: "); in log_msg() 47 output_len = printf("WARNING: "); in log_msg() 50 output_len = printf("ERROR: "); in log_msg() 53 output_len = printf("SEVERE: "); in log_msg() 57 output_len += vprintf(fmt, args); in log_msg() 58 output_len += printf("\n"); in log_msg() 59 return output_len; in log_msg()
|