Home
last modified time | relevance | path

Searched refs:bytes_len (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libfs_avb/
Dutil.cpp52 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes() argument
58 if (hex.size() / 2 > bytes_len) { in HexToBytes()
75 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex() argument
81 for (size_t i = 0; i < bytes_len; i++) { in BytesToHex()
Dutil.h57 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex);
59 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len);
/system/keymaster/include/keymaster/
Dkeymaster_tags.h253 size_t bytes_len) {
254 return keymaster_param_blob(tag, reinterpret_cast<const uint8_t*>(bytes), bytes_len);
265 size_t bytes_len) {
266 return keymaster_param_blob(tag, reinterpret_cast<const uint8_t*>(bytes), bytes_len);
Dauthorization_set.h407 bool push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
408 return push_back(keymaster_param_blob(tag, static_cast<const uint8_t*>(bytes), bytes_len)); in push_back()
425 bool push_back(TypedTag<KM_BIGNUM, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
426 return push_back(keymaster_param_blob(tag, static_cast<const uint8_t*>(bytes), bytes_len)); in push_back()
435 bool push_back(TypedTag<Type, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
436 return push_back(Authorization(tag, bytes, bytes_len)); in push_back()
/system/apex/apexd/
Dapex_file.cpp184 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex() argument
188 for (size_t i = 0; i < bytes_len; i++) { in BytesToHex()