Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-gcrypt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-gcrypt
Commits
d811eecb
Commit
d811eecb
authored
Apr 08, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We will not be attempting authenticated modes of operation for now.
parent
dc391344
Pipeline
#159
skipped
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
README.rst
README.rst
+2
-2
modes.h
src/modes.h
+0
-3
vmod_gcrypt.vcc
src/vmod_gcrypt.vcc
+3
-4
No files found.
README.rst
View file @
d811eecb
...
...
@@ -38,7 +38,7 @@ Privacy Guard cryptographic suite (GnuPG or GPG).
CONTENTS
========
* symmetric(ENUM {AES,AES128,RIJNDAEL,RIJNDAEL128,AES192,RIJNDAEL192,AES256,RIJNDAEL256}, ENUM {ECB,CFB,CBC,OFB,CTR
,AESWRAP,CCM,GCM
}, BLOB, BLOB, BLOB, BOOL, BOOL, BOOL, BOOL)
* symmetric(ENUM {AES,AES128,RIJNDAEL,RIJNDAEL128,AES192,RIJNDAEL192,AES256,RIJNDAEL256}, ENUM {ECB,CFB,CBC,OFB,CTR}, BLOB, BLOB, BLOB, BOOL, BOOL, BOOL, BOOL)
* STRING version()
* STRING gcrypt_version()
...
...
@@ -49,7 +49,7 @@ symmetric
::
new OBJ = symmetric(ENUM {AES,AES128,RIJNDAEL,RIJNDAEL128,AES192,RIJNDAEL192,AES256,RIJNDAEL256} cipher, ENUM {ECB,CFB,CBC,OFB,CTR
,AESWRAP,CCM,GCM
} mode, BLOB key, BLOB iv=0, BLOB ctr=0, BOOL secure=1, BOOL enable_sync=0, BOOL cbc_cts=0, BOOL cbc_mac=0)
new OBJ = symmetric(ENUM {AES,AES128,RIJNDAEL,RIJNDAEL128,AES192,RIJNDAEL192,AES256,RIJNDAEL256} cipher, ENUM {ECB,CFB,CBC,OFB,CTR} mode, BLOB key, BLOB iv=0, BLOB ctr=0, BOOL secure=1, BOOL enable_sync=0, BOOL cbc_cts=0, BOOL cbc_mac=0)
.. _func_symmetric.encrypt:
...
...
src/modes.h
View file @
d811eecb
...
...
@@ -30,6 +30,3 @@ MODE(CFB, GCRY_CIPHER_MODE_CFB)
MODE
(
CBC
,
GCRY_CIPHER_MODE_CBC
)
MODE
(
OFB
,
GCRY_CIPHER_MODE_OFB
)
MODE
(
CTR
,
GCRY_CIPHER_MODE_CTR
)
MODE
(
AESWRAP
,
GCRY_CIPHER_MODE_AESWRAP
)
MODE
(
CCM
,
GCRY_CIPHER_MODE_CCM
)
MODE
(
GCM
,
GCRY_CIPHER_MODE_GCM
)
src/vmod_gcrypt.vcc
View file @
d811eecb
...
...
@@ -19,10 +19,9 @@ cryptographic building blocks -- the same library used by the GNU
Privacy Guard cryptographic suite (GnuPG or GPG).
$Object symmetric(ENUM {AES, AES128, RIJNDAEL, RIJNDAEL128, AES192, RIJNDAEL192,
AES256, RIJNDAEL256} cipher, ENUM {ECB, CFB, CBC, OFB, CTR,
AESWRAP, CCM, GCM} mode, BLOB key, BLOB iv=0, BLOB ctr=0,
BOOL secure=1, BOOL enable_sync=0, BOOL cbc_cts=0,
BOOL cbc_mac=0)
AES256, RIJNDAEL256} cipher, ENUM {ECB, CFB, CBC, OFB, CTR}
mode, BLOB key, BLOB iv=0, BLOB ctr=0, BOOL secure=1,
BOOL enable_sync=0, BOOL cbc_cts=0, BOOL cbc_mac=0)
$Method BLOB .encrypt(BLOB)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment