diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2001-07-03 12:31:11 +0200 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2001-07-03 12:31:11 +0200 |
commit | 43f9391bcc222f0da5c0d9f8e2ab24d921e29971 (patch) | |
tree | 0c4513b43c13078e77b657f39d01c321908bd2a9 /doc/apps/enc.pod | |
parent | Make an extra note about shared libraries and backward compatibility. (diff) | |
download | openssl-43f9391bcc222f0da5c0d9f8e2ab24d921e29971.tar.xz openssl-43f9391bcc222f0da5c0d9f8e2ab24d921e29971.zip |
When only the key is given to "enc", the IV is undefined
(found by Andy Brown <logic@warthog.com>).
Diffstat (limited to '')
-rw-r--r-- | doc/apps/enc.pod | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/apps/enc.pod b/doc/apps/enc.pod index 9323223cd2..99b914789d 100644 --- a/doc/apps/enc.pod +++ b/doc/apps/enc.pod @@ -97,12 +97,18 @@ of hex digits. =item B<-K key> the actual key to use: this must be represented as a string comprised only -of hex digits. +of hex digits. If only the key is specified, the IV must additionally specified +using the B<-iv> option. When both a key and a password are specified, the +key given with the B<-K> option will be used and the IV generated from the +password will be taken. It probably does not make much sense to specify +both key and password. =item B<-iv IV> the actual IV to use: this must be represented as a string comprised only -of hex digits. +of hex digits. When only the key is specified using the B<-K> option, the +IV must explicitly be defined. When a password is being specified using +one of the other options, the IV is generated from this password. =item B<-p> |