Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!203
Elois/pkstl
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Elois/pkstl
elois/pkstl
into
dev
Overview
0
Commits
2
Pipelines
0
Changes
30
Merged
Éloïs
requested to merge
elois/pkstl
into
dev
5 years ago
Overview
0
Commits
2
Pipelines
0
Changes
30
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
4b2c4d1a
2 commits,
5 years ago
30 files
+
4452
−
66
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
30
lib/crypto/src/errors.rs
+
2
−
13
View file @ 4b2c4d1a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -15,17 +15,6 @@
//! Manage cryptographic errors.
#[derive(Debug)]
#[derive(
Clone,
Copy,
Debug)]
/// Cryptographic error
pub
enum
CryptoError
{
/// Fail to compute agreement
FailToComputeAgreement
,
/// Fail to decrypt datas
FailToDecryptDatas
(
chacha20_poly1305_aead
::
DecryptError
),
/// Fail to encrypt datas
FailToEncryptDatas
(
std
::
io
::
Error
),
/// Fail to generate ephemeral key pair
FailToGenEphemerKeyPair
,
/// Fail to generate ephemeral public key
FailToGenEphemerPubKey
,
}
pub
enum
CryptoError
{}
Loading