Home
last modified time | relevance | path

Searched refs:AllowedBasenames (Results 1 – 8 of 8) sorted by relevance

/external/epid-sdk/epid/member/tiny/unittests/
Dallowed_basenames-test.cc31 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/
Dallowed_basenames.h27 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);
Dallowed_basenames.c31 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()
Dcontext.h34 typedef struct AllowedBasenames AllowedBasenames; typedef
49 AllowedBasenames* allowed_basenames; ///< Base name list
/external/epid-sdk/epid/member/tiny/src/
Dallowed_basenames.h25 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,
Dallowed_basenames.c29 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()
Dcontext.h70 AllowedBasenames* allowed_basenames; ///< Allowed basenames
Dinit.c66 ctx->allowed_basenames = (AllowedBasenames*)&ctx->heap[SIGRL_HEAP_SIZE]; in EpidMemberInit()