projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix major cockup with short keys in CAST-128.
[openssl.git]
/
crypto
/
cast
/
cast.h
diff --git
a/crypto/cast/cast.h
b/crypto/cast/cast.h
index 528cb7c824475bbf0761adcfa679753f1dd455cb..cbeb4fc1faf1f8328f60e70d4f9e378f5955fe56 100644
(file)
--- a/
crypto/cast/cast.h
+++ b/
crypto/cast/cast.h
@@
-74,6
+74,7
@@
extern "C" {
typedef struct cast_key_st
{
CAST_LONG data[32];
+ int short_key; /* Use reduced rounds for short key */
} CAST_KEY;
#ifndef NOPROTO