OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:token_size
(Results
1 - 4
of
4
) sorted by null
/system/core/adb/
adb_auth.h
42
void send_auth_response(const char* token, size_t
token_size
, atransport* t);
52
bool adbd_auth_verify(const char* token, size_t
token_size
, const std::string& sig);
adbd_auth.cpp
49
bool adbd_auth_verify(const char* token, size_t
token_size
, const std::string& sig) {
82
(RSA_verify(NID_sha1, reinterpret_cast<const uint8_t*>(token),
token_size
,
93
static bool adbd_auth_generate_token(void* token, size_t
token_size
) {
96
bool okay = (fread(token,
token_size
, 1, fp) == 1);
adb_auth_host.cpp
302
static std::string adb_auth_sign(RSA* key, const char* token, size_t
token_size
) {
303
if (
token_size
!=
TOKEN_SIZE
) {
304
D("Unexpected token size %zd",
token_size
);
312
if (!RSA_sign(NID_sha1, reinterpret_cast<const uint8_t*>(token),
token_size
,
465
void send_auth_response(const char* token, size_t
token_size
, atransport* t) {
476
std::string result = adb_auth_sign(key.get(), token,
token_size
);
/external/libmojo/mojo/edk/system/
node_channel.cc
628
size_t
token_size
= payload_size - sizeof(*data) - sizeof(Header);
local
629
if (
token_size
== 0)
631
std::string token(reinterpret_cast<const char*>(data + 1),
token_size
);
Completed in 77 milliseconds