Searched refs:basename_container (Results 1 – 4 of 4) sorted by relevance
/external/epid-sdk/epid/member/tiny/src/ |
D | allowed_basenames.c | 33 void InitBasenames(AllowedBasenames* basename_container, size_t num_basenames) { in InitBasenames() argument 34 basename_container->current_bsn_number = 0; in InitBasenames() 35 basename_container->max_bsn_number = num_basenames; in InitBasenames() 36 memset(basename_container->basename_digest->digest, 0, in InitBasenames() 37 sizeof(basename_container->basename_digest) * num_basenames); in InitBasenames() 40 int IsBasenameAllowed(AllowedBasenames const* basename_container, in IsBasenameAllowed() argument 50 for (d = 0; d < basename_container->current_bsn_number; d++) { in IsBasenameAllowed() 51 if (!memcmp(digest.digest, &basename_container->basename_digest[d].digest, in IsBasenameAllowed() 59 int AllowBasename(AllowedBasenames* basename_container, void const* basename, in AllowBasename() argument 63 if (basename_container->max_bsn_number <= in AllowBasename() [all …]
|
D | allowed_basenames.h | 36 void InitBasenames(AllowedBasenames* basename_container, size_t num_basenames); 39 int IsBasenameAllowed(AllowedBasenames const* basename_container, 43 int AllowBasename(AllowedBasenames* basename_container, void const* basename,
|
/external/epid-sdk/epid/member/src/ |
D | allowed_basenames.c | 34 EpidStatus CreateBasenames(AllowedBasenames** basename_container) { in CreateBasenames() argument 36 if (!basename_container) { in CreateBasenames() 44 *basename_container = new_container; in CreateBasenames() 106 void DeleteBasenames(AllowedBasenames** basename_container) { in DeleteBasenames() argument 107 if (basename_container && *basename_container) { in DeleteBasenames() 108 AllowedBasename* rootnode = (*basename_container)->data; in DeleteBasenames() 114 (*basename_container)->data = NULL; in DeleteBasenames() 115 SAFE_FREE(*basename_container); in DeleteBasenames()
|
D | allowed_basenames.h | 32 EpidStatus CreateBasenames(AllowedBasenames** basename_container); 43 void DeleteBasenames(AllowedBasenames** basename_container);
|