Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
librist
Manage
Activity
Members
Labels
Plan
Issues
29
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
rist
librist
Merge requests
!233
Use eapversion instead of gre version to differentiate SRP
代码
评审变更
检出分支
下载
补丁
文本差异
Merged
Use eapversion instead of gre version to differentiate SRP
development
into
master
Overview
0
Commits
9
Pipelines
1
Changes
25
Merged
Gijs Peskens
requested to merge
development
into
master
1 year ago
Overview
0
Commits
9
Pipelines
1
Changes
25
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
0ff0f230
9 commits,
1 year ago
25 files
+
873
−
657
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
25
Search (e.g. *.vue) (Ctrl+P)
contrib/linux-crypto.c
+
2
−
2
Options
@@ -218,10 +218,10 @@ int linux_crypto_set_key(const uint8_t *key, int keylen, struct linux_crypto *ct
return
0
;
}
int
linux_crypto_decrypt
(
uint8_t
inbuf
[],
uint8_t
outbuf
[],
int
buflen
,
uint8_t
iv
[],
struct
linux_crypto
*
ctx
)
{
int
linux_crypto_decrypt
(
const
uint8_t
inbuf
[],
uint8_t
outbuf
[],
int
buflen
,
uint8_t
iv
[],
struct
linux_crypto
*
ctx
)
{
return
_linux_crypto_process
(
ctx
,
inbuf
,
buflen
,
outbuf
,
buflen
,
0
,
iv
,
0
);
}
int
linux_crypto_encrypt
(
uint8_t
inbuf
[],
uint8_t
outbuf
[],
int
buflen
,
uint8_t
iv
[],
struct
linux_crypto
*
ctx
)
{
int
linux_crypto_encrypt
(
const
uint8_t
inbuf
[],
uint8_t
outbuf
[],
int
buflen
,
uint8_t
iv
[],
struct
linux_crypto
*
ctx
)
{
return
_linux_crypto_process
(
ctx
,
inbuf
,
buflen
,
outbuf
,
buflen
,
1
,
iv
,
0
);
}
Loading