summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/EVP_EncryptInit.pod
diff options
context:
space:
mode:
authorjim <>2014-05-04 22:26:33 +0000
committerjim <>2014-05-04 22:26:33 +0000
commitcc8925bff081ec36ac69be8b3681bff98f5d07da (patch)
treec61ab0faf9a25b5fa4c1daeb8248a7e8deff66d2 /src/lib/libcrypto/doc/EVP_EncryptInit.pod
parente591b58894a6d621ba00c14da39becb1a0d16335 (diff)
downloadopenbsd-cc8925bff081ec36ac69be8b3681bff98f5d07da.tar.gz
openbsd-cc8925bff081ec36ac69be8b3681bff98f5d07da.tar.bz2
openbsd-cc8925bff081ec36ac69be8b3681bff98f5d07da.zip
Improve line wrapping for lines exceeding 80 chars.
ok jmc@
Diffstat (limited to 'src/lib/libcrypto/doc/EVP_EncryptInit.pod')
-rw-r--r--src/lib/libcrypto/doc/EVP_EncryptInit.pod59
1 files changed, 34 insertions, 25 deletions
diff --git a/src/lib/libcrypto/doc/EVP_EncryptInit.pod b/src/lib/libcrypto/doc/EVP_EncryptInit.pod
index 84875e0fe0..d42445cf10 100644
--- a/src/lib/libcrypto/doc/EVP_EncryptInit.pod
+++ b/src/lib/libcrypto/doc/EVP_EncryptInit.pod
@@ -239,11 +239,13 @@ RC5 can be set.
239EVP_EncryptInit_ex(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex() 239EVP_EncryptInit_ex(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex()
240return 1 for success and 0 for failure. 240return 1 for success and 0 for failure.
241 241
242EVP_DecryptInit_ex() and EVP_DecryptUpdate() return 1 for success and 0 for failure. 242EVP_DecryptInit_ex() and EVP_DecryptUpdate() return 1 for success and 0 for
243EVP_DecryptFinal_ex() returns 0 if the decrypt failed or 1 for success. 243failure. EVP_DecryptFinal_ex() returns 0 if the decrypt failed or 1 for
244success.
244 245
245EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for failure. 246EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for
246EVP_CipherFinal_ex() returns 0 for a decryption failure or 1 for success. 247failure. EVP_CipherFinal_ex() returns 0 for a decryption failure or 1 for
248success.
247 249
248EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure. 250EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure.
249 251
@@ -285,11 +287,13 @@ Null cipher: does nothing.
285 287
286DES in CBC, ECB, CFB and OFB modes respectively. 288DES in CBC, ECB, CFB and OFB modes respectively.
287 289
288=item EVP_des_ede_cbc(void), EVP_des_ede(), EVP_des_ede_ofb(void), EVP_des_ede_cfb(void) 290=item EVP_des_ede_cbc(void), EVP_des_ede(), EVP_des_ede_ofb(void),
291EVP_des_ede_cfb(void)
289 292
290Two key triple DES in CBC, ECB, CFB and OFB modes respectively. 293Two key triple DES in CBC, ECB, CFB and OFB modes respectively.
291 294
292=item EVP_des_ede3_cbc(void), EVP_des_ede3(), EVP_des_ede3_ofb(void), EVP_des_ede3_cfb(void) 295=item EVP_des_ede3_cbc(void), EVP_des_ede3(), EVP_des_ede3_ofb(void),
296EVP_des_ede3_cfb(void)
293 297
294Three key triple DES in CBC, ECB, CFB and OFB modes respectively. 298Three key triple DES in CBC, ECB, CFB and OFB modes respectively.
295 299
@@ -299,44 +303,49 @@ DESX algorithm in CBC mode.
299 303
300=item EVP_rc4(void) 304=item EVP_rc4(void)
301 305
302RC4 stream cipher. This is a variable key length cipher with default key length 128 bits. 306RC4 stream cipher. This is a variable key length cipher with default key length
307128 bits.
303 308
304=item EVP_rc4_40(void) 309=item EVP_rc4_40(void)
305 310
306RC4 stream cipher with 40 bit key length. This is obsolete and new code should use EVP_rc4() 311RC4 stream cipher with 40 bit key length. This is obsolete and new code should
307and the EVP_CIPHER_CTX_set_key_length() function. 312use EVP_rc4() and the EVP_CIPHER_CTX_set_key_length() function.
308 313
309=item EVP_idea_cbc() EVP_idea_ecb(void), EVP_idea_cfb(void), EVP_idea_ofb(void), EVP_idea_cbc(void) 314=item EVP_idea_cbc() EVP_idea_ecb(void), EVP_idea_cfb(void),
315EVP_idea_ofb(void), EVP_idea_cbc(void)
310 316
311IDEA encryption algorithm in CBC, ECB, CFB and OFB modes respectively. 317IDEA encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
312 318
313=item EVP_rc2_cbc(void), EVP_rc2_ecb(void), EVP_rc2_cfb(void), EVP_rc2_ofb(void) 319=item EVP_rc2_cbc(void), EVP_rc2_ecb(void), EVP_rc2_cfb(void), EVP_rc2_ofb(void)
314 320
315RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key 321RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a
316length cipher with an additional parameter called "effective key bits" or "effective key length". 322variable key length cipher with an additional parameter called "effective key
317By default both are set to 128 bits. 323bits" or "effective key length". By default both are set to 128 bits.
318 324
319=item EVP_rc2_40_cbc(void), EVP_rc2_64_cbc(void) 325=item EVP_rc2_40_cbc(void), EVP_rc2_64_cbc(void)
320 326
321RC2 algorithm in CBC mode with a default key length and effective key length of 40 and 64 bits. 327RC2 algorithm in CBC mode with a default key length and effective key length of
322These are obsolete and new code should use EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and 32840 and 64 bits. These are obsolete and new code should use EVP_rc2_cbc(),
323EVP_CIPHER_CTX_ctrl() to set the key length and effective key length. 329EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl() to set the key length
330and effective key length.
324 331
325=item EVP_bf_cbc(void), EVP_bf_ecb(void), EVP_bf_cfb(void), EVP_bf_ofb(void); 332=item EVP_bf_cbc(void), EVP_bf_ecb(void), EVP_bf_cfb(void), EVP_bf_ofb(void);
326 333
327Blowfish encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key 334Blowfish encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This
328length cipher. 335is a variable key length cipher.
329 336
330=item EVP_cast5_cbc(void), EVP_cast5_ecb(void), EVP_cast5_cfb(void), EVP_cast5_ofb(void) 337=item EVP_cast5_cbc(void), EVP_cast5_ecb(void), EVP_cast5_cfb(void),
338EVP_cast5_ofb(void)
331 339
332CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key 340CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is
333length cipher. 341a variable key length cipher.
334 342
335=item EVP_rc5_32_12_16_cbc(void), EVP_rc5_32_12_16_ecb(void), EVP_rc5_32_12_16_cfb(void), EVP_rc5_32_12_16_ofb(void) 343=item EVP_rc5_32_12_16_cbc(void), EVP_rc5_32_12_16_ecb(void),
344EVP_rc5_32_12_16_cfb(void), EVP_rc5_32_12_16_ofb(void)
336 345
337RC5 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key length 346RC5 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a
338cipher with an additional "number of rounds" parameter. By default the key length is set to 128 347variable key length cipher with an additional "number of rounds" parameter. By
339bits and 12 rounds. 348default the key length is set to 128 bits and 12 rounds.
340 349
341=back 350=back
342 351