Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cbsspeke
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charles Wright
Cbsspeke
Commits
cd128c43
Commit
cd128c43
authored
3 years ago
by
Charles Wright
Browse files
Options
Downloads
Patches
Plain Diff
Moved the user_info struct out of the main bsspeke.h library and into the demo program itself
parent
d079c7d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bsspeke.h
+0
-10
0 additions, 10 deletions
bsspeke.h
demo.c
+11
-0
11 additions, 0 deletions
demo.c
with
11 additions
and
10 deletions
bsspeke.h
+
0
−
10
View file @
cd128c43
...
...
@@ -75,16 +75,6 @@ typedef struct {
uint8_t
K_s
[
32
];
// Session key
}
bsspeke_server_ctx
;
typedef
struct
{
uint8_t
salt
[
32
];
size_t
salt_len
;
uint8_t
P
[
32
];
uint8_t
V
[
32
];
uint32_t
phf_blocks
;
uint32_t
phf_iterations
;
}
bsspeke_user_info_t
;
typedef
struct
{
char
*
client_id
;
...
...
This diff is collapsed.
Click to expand it.
demo.c
+
11
−
0
View file @
cd128c43
...
...
@@ -24,6 +24,17 @@
#include
"bsspeke.h"
typedef
struct
{
uint8_t
salt
[
32
];
size_t
salt_len
;
uint8_t
P
[
32
];
uint8_t
V
[
32
];
uint32_t
phf_blocks
;
uint32_t
phf_iterations
;
}
bsspeke_user_info_t
;
int
demo_setup
(
bsspeke_user_info_t
*
user_info
)
{
bsspeke_client_ctx
client
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment