Searched refs:token_size (Results 1 – 4 of 4) sorted by relevance
/system/core/adb/ |
D | adb_auth.h | 34 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);
|
D | adb_auth_client.c | 124 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()
|
D | adb_auth_host.c | 346 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()
|
D | adb.c | 373 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()
|