Searched refs:token_size (Results 1 – 4 of 4) sorted by relevance
/system/core/adb/ |
D | adb_auth.h | 28 void send_auth_response(uint8_t *token, size_t token_size, atransport *t); 41 int adb_auth_sign(void *key, const unsigned char* token, size_t token_size, 46 static inline int adb_auth_generate_token(void *token, size_t token_size) { return 0; } in adb_auth_generate_token() argument 53 size_t token_size, unsigned char* sig) { in adb_auth_sign() argument 61 int adb_auth_generate_token(void *token, size_t token_size);
|
D | adb_auth.cpp | 53 void send_auth_response(uint8_t *token, size_t token_size, atransport *t) in send_auth_response() argument 59 ret = adb_auth_sign(t->key, token, token_size, p->data); in send_auth_response()
|
D | adb_auth_client.cpp | 127 int adb_auth_generate_token(void *token, size_t token_size) in adb_auth_generate_token() argument 136 ret = fread(token, token_size, 1, f); in adb_auth_generate_token() 139 return ret * token_size; in adb_auth_generate_token()
|
D | adb_auth_host.cpp | 347 int adb_auth_sign(void *node, const unsigned char* token, size_t token_size, in adb_auth_sign() argument 353 if (token_size != TOKEN_SIZE) { in adb_auth_sign() 354 D("Unexpected token size %zd", token_size); in adb_auth_sign() 358 if (!RSA_sign(NID_sha1, token, token_size, sig, &len, key->rsa)) { in adb_auth_sign()
|