Searched refs:AllowedBasenames (Results 1 – 8 of 8) sorted by relevance
/external/epid-sdk/epid/member/tiny/unittests/ |
D | allowed_basenames-test.cc | 31 TEST(AllowedBasenames, GetBasenamesSizeSucceeds) { in TEST() argument 41 TEST(AllowedBasenames, ReportsRegisteredBasename) { in TEST() argument 45 AllowedBasenames* base_names = nullptr; in TEST() 50 base_names = (AllowedBasenames*)&base_names_buf[0]; in TEST() 58 TEST(AllowedBasenames, ReportsUnregisteredBasename) { in TEST() argument 62 AllowedBasenames* base_names = nullptr; in TEST() 66 base_names = (AllowedBasenames*)&base_names_buf[0]; in TEST() 73 TEST(AllowedBasenames, IsBasenameAllowedReturnsFalseWhenNoBasenamesRegistered) { in TEST() argument 76 AllowedBasenames* base_names = nullptr; in TEST() 80 base_names = (AllowedBasenames*)&base_names_buf[0]; in TEST() [all …]
|
/external/epid-sdk/epid/member/src/ |
D | allowed_basenames.h | 27 typedef struct AllowedBasenames AllowedBasenames; typedef 32 EpidStatus CreateBasenames(AllowedBasenames** basename_container); 35 bool IsBasenameAllowed(AllowedBasenames const* basenames, void const* basename, 39 EpidStatus AllowBasename(AllowedBasenames* basenames, void const* basename, 43 void DeleteBasenames(AllowedBasenames** basename_container);
|
D | allowed_basenames.c | 31 typedef struct AllowedBasenames { AllowedBasename* data; } AllowedBasenames; argument 34 EpidStatus CreateBasenames(AllowedBasenames** basename_container) { in CreateBasenames() 35 AllowedBasenames* new_container = NULL; in CreateBasenames() 39 new_container = SAFE_ALLOC(sizeof(AllowedBasenames)); in CreateBasenames() 50 bool IsBasenameAllowed(AllowedBasenames const* basenames, void const* basename, in IsBasenameAllowed() 69 EpidStatus AllowBasename(AllowedBasenames* basenames, void const* basename, in AllowBasename() 106 void DeleteBasenames(AllowedBasenames** basename_container) { in DeleteBasenames()
|
D | context.h | 34 typedef struct AllowedBasenames AllowedBasenames; typedef 49 AllowedBasenames* allowed_basenames; ///< Base name list
|
/external/epid-sdk/epid/member/tiny/src/ |
D | allowed_basenames.h | 25 typedef struct AllowedBasenames { struct 30 } AllowedBasenames; argument 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,
|
D | allowed_basenames.c | 29 return sizeof(AllowedBasenames) - sizeof(sha_digest) + in BasenamesGetSize() 33 void InitBasenames(AllowedBasenames* basename_container, size_t num_basenames) { in InitBasenames() 40 int IsBasenameAllowed(AllowedBasenames const* basename_container, in IsBasenameAllowed() 59 int AllowBasename(AllowedBasenames* basename_container, void const* basename, in AllowBasename()
|
D | context.h | 70 AllowedBasenames* allowed_basenames; ///< Allowed basenames
|
D | init.c | 66 ctx->allowed_basenames = (AllowedBasenames*)&ctx->heap[SIGRL_HEAP_SIZE]; in EpidMemberInit()
|