Home
last modified time | relevance | path

Searched refs:token_size (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/
Dadb_auth.h34 int adb_auth_sign(void *key, void *token, size_t token_size, void *sig);
38 static inline int adb_auth_generate_token(void *token, size_t token_size) { return 0; } in adb_auth_generate_token() argument
44 static inline int adb_auth_sign(void* key, void *token, size_t token_size, void *sig) { return 0; } in adb_auth_sign() argument
48 int adb_auth_generate_token(void *token, size_t token_size);
Dadb_auth_client.c124 int adb_auth_generate_token(void *token, size_t token_size) in adb_auth_generate_token() argument
133 ret = fread(token, token_size, 1, f); in adb_auth_generate_token()
136 return ret * token_size; in adb_auth_generate_token()
Dadb_auth_host.c346 int adb_auth_sign(void *node, void *token, size_t token_size, void *sig) in adb_auth_sign() argument
351 if (!RSA_sign(NID_sha1, token, token_size, sig, &len, key->rsa)) { in adb_auth_sign()
Dadb.c373 static void send_auth_response(uint8_t *token, size_t token_size, atransport *t) in send_auth_response() argument
379 ret = adb_auth_sign(t->key, token, token_size, p->data); in send_auth_response()