Searched refs:keyprefix (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/linkkit/dev_model/alcs/ |
A D | alcs_server.c | 80 COAP_DEBUG("keyprefix:%s", node->keyInfo.keyprefix); in alcs_rec_auth_select() 163 strncmp(keyprefix, node->keyInfo.keyprefix, prefixlen) == in is_legal_key() 175 strncmp(keyprefix, gnode->keyInfo.keyprefix, prefixlen) == in is_legal_key() 203 char *keyprefix; in alcs_rec_auth() local 240 keyprefix = accesskey; in alcs_rec_auth() 373 static int add_svr_key(CoAPContext *ctx, const char *keyprefix, in add_svr_key() argument 382 strlen(keyprefix) != KEYPREFIX_LEN) { in add_svr_key() 413 memcpy(item->keyInfo.keyprefix, keyprefix, KEYPREFIX_LEN); in add_svr_key() 423 int alcs_add_svr_key(CoAPContext *ctx, const char *keyprefix, in alcs_add_svr_key() argument 427 return add_svr_key(ctx, keyprefix, secret, 0, priority); in alcs_add_svr_key() [all …]
|
A D | alcs_api.c | 700 const char *keyprefix, const char *secret) in alcs_add_svr_group() argument 725 strncpy(item->keyInfo.keyprefix, keyprefix, in alcs_add_svr_group() 726 sizeof(item->keyInfo.keyprefix) - 1); in alcs_add_svr_group()
|
A D | alcs_api_internal.h | 30 char keyprefix[KEYPREFIX_LEN + 1]; member
|
A D | alcs_client.c | 13 char match_key(const char *accesskey, const char *keyprefix) in match_key() argument 15 if (strlen(keyprefix) == KEYPREFIX_LEN && in match_key() 16 strstr(accesskey, keyprefix) == accesskey) { in match_key()
|
/AliOS-Things-master/components/linkkit/include/linkkit/ |
A D | alcs_api.h | 135 int alcs_add_svr_key(CoAPContext *context, const char *keyprefix, 137 int alcs_remove_svr_key(CoAPContext *context, const char *keyprefix); 150 const char *keyprefix, const char *secret);
|
Completed in 8 milliseconds