diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2001-07-03 10:31:11 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2001-07-03 10:31:11 +0000 |
commit | 43f9391bcc222f0da5c0d9f8e2ab24d921e29971 (patch) | |
tree | 0c4513b43c13078e77b657f39d01c321908bd2a9 /doc/apps | |
parent | c1c971654b24e5917d908c9819fdb22bf58aebda (diff) | |
download | openssl-43f9391bcc222f0da5c0d9f8e2ab24d921e29971.tar.gz |
When only the key is given to "enc", the IV is undefined
(found by Andy Brown <logic@warthog.com>).
Diffstat (limited to 'doc/apps')
-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> |