Searched refs:output_len (Results 1 – 13 of 13) sorted by relevance
/system/security/keystore/tests/ |
D | auth_token_formatting_test.cpp | 45 int output_len = 0; in log_msg() local 48 output_len = printf("DEBUG: "); in log_msg() 51 output_len = printf("INFO: "); in log_msg() 54 output_len = printf("WARNING: "); in log_msg() 57 output_len = printf("ERROR: "); in log_msg() 60 output_len = printf("SEVERE: "); in log_msg() 64 output_len += vprintf(fmt, args); in log_msg() 65 output_len += printf("\n"); in log_msg() 66 return output_len; in log_msg()
|
D | confirmationui_rate_limiting_test.cpp | 35 int output_len = 0; in log_msg() local 38 output_len = printf("DEBUG: "); in log_msg() 41 output_len = printf("INFO: "); in log_msg() 44 output_len = printf("WARNING: "); in log_msg() 47 output_len = printf("ERROR: "); in log_msg() 50 output_len = printf("SEVERE: "); in log_msg() 54 output_len += vprintf(fmt, args); in log_msg() 55 output_len += printf("\n"); in log_msg() 56 return output_len; in log_msg()
|
D | auth_token_table_test.cpp | 34 int output_len = 0; in log_msg() local 37 output_len = printf("DEBUG: "); in log_msg() 40 output_len = printf("INFO: "); in log_msg() 43 output_len = printf("WARNING: "); in log_msg() 46 output_len = printf("ERROR: "); in log_msg() 49 output_len = printf("SEVERE: "); in log_msg() 53 output_len += vprintf(fmt, args); in log_msg() 54 output_len += printf("\n"); in log_msg() 55 return output_len; in log_msg()
|
/system/keymaster/tests/ |
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 | 69 size_t output_len = expected.size(); in TEST() local 70 uint8_t output[output_len]; in TEST() 75 output, output_len)); in TEST() 76 EXPECT_EQ(0, memcmp(output, expected.data(), output_len)); in TEST()
|
D | android_keymaster_test_utils.h | 115 int output_len = 0; in log_msg() local 118 output_len = printf("DEBUG: "); in log_msg() 121 output_len = printf("INFO: "); in log_msg() 124 output_len = printf("WARNING: "); in log_msg() 127 output_len = printf("ERROR: "); in log_msg() 130 output_len = printf("SEVERE: "); in log_msg() 134 output_len += vprintf(fmt, args); in log_msg() 135 output_len += printf("\n"); in log_msg() 136 return output_len; in log_msg()
|
/system/keymaster/km_openssl/ |
D | iso18033kdf.cpp | 30 size_t output_len) { in GenerateKey() argument 34 if ((0xFFFFFFFFULL + start_counter_) * digest_size_ < (uint64_t)output_len) return false; in GenerateKey() 40 size_t num_blocks = (output_len + digest_size_ - 1) / digest_size_; in GenerateKey() 72 size_t block_length = min(digest_size_, output_len - block_start); in GenerateKey()
|
D | hkdf.cpp | 25 size_t output_len) { in GenerateKey() argument 54 const size_t num_blocks = (output_len + digest_size_ - 1) / digest_size_; in GenerateKey() 75 size_t block_output_len = digest_size_ < output_len - i * digest_size_ in GenerateKey() 77 : output_len - i * digest_size_; in GenerateKey()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | iso18033kdf.h | 55 size_t output_len) override;
|
D | hkdf.h | 45 size_t output_len) override;
|
D | kdf.h | 38 size_t output_len) = 0;
|
/system/bt/stack/a2dp/ |
D | a2dp_sbc_encoder.cc | 542 uint16_t output_len = SBC_Encode(p_encoder_params, input, output); in a2dp_sbc_encode_frames() local 543 last_frame_len = output_len; in a2dp_sbc_encode_frames() 546 p_buf->len += output_len; in a2dp_sbc_encode_frames()
|