diff options
| author | jim <> | 2014-05-04 22:26:33 +0000 |
|---|---|---|
| committer | jim <> | 2014-05-04 22:26:33 +0000 |
| commit | cd97ab584496168ea99dfe43e3be997ea086b8e6 (patch) | |
| tree | c61ab0faf9a25b5fa4c1daeb8248a7e8deff66d2 /src/lib/libcrypto/doc/EVP_EncryptInit.pod | |
| parent | 18a7f65e7a1b8f6fab29266772aee3efe424a41a (diff) | |
| download | openbsd-cd97ab584496168ea99dfe43e3be997ea086b8e6.tar.gz openbsd-cd97ab584496168ea99dfe43e3be997ea086b8e6.tar.bz2 openbsd-cd97ab584496168ea99dfe43e3be997ea086b8e6.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.pod | 59 |
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. | |||
| 239 | EVP_EncryptInit_ex(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex() | 239 | EVP_EncryptInit_ex(), EVP_EncryptUpdate() and EVP_EncryptFinal_ex() |
| 240 | return 1 for success and 0 for failure. | 240 | return 1 for success and 0 for failure. |
| 241 | 241 | ||
| 242 | EVP_DecryptInit_ex() and EVP_DecryptUpdate() return 1 for success and 0 for failure. | 242 | EVP_DecryptInit_ex() and EVP_DecryptUpdate() return 1 for success and 0 for |
| 243 | EVP_DecryptFinal_ex() returns 0 if the decrypt failed or 1 for success. | 243 | failure. EVP_DecryptFinal_ex() returns 0 if the decrypt failed or 1 for |
| 244 | success. | ||
| 244 | 245 | ||
| 245 | EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for failure. | 246 | EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for |
| 246 | EVP_CipherFinal_ex() returns 0 for a decryption failure or 1 for success. | 247 | failure. EVP_CipherFinal_ex() returns 0 for a decryption failure or 1 for |
| 248 | success. | ||
| 247 | 249 | ||
| 248 | EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure. | 250 | EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure. |
| 249 | 251 | ||
| @@ -285,11 +287,13 @@ Null cipher: does nothing. | |||
| 285 | 287 | ||
| 286 | DES in CBC, ECB, CFB and OFB modes respectively. | 288 | DES 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), |
| 291 | EVP_des_ede_cfb(void) | ||
| 289 | 292 | ||
| 290 | Two key triple DES in CBC, ECB, CFB and OFB modes respectively. | 293 | Two 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), |
| 296 | EVP_des_ede3_cfb(void) | ||
| 293 | 297 | ||
| 294 | Three key triple DES in CBC, ECB, CFB and OFB modes respectively. | 298 | Three 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 | ||
| 302 | RC4 stream cipher. This is a variable key length cipher with default key length 128 bits. | 306 | RC4 stream cipher. This is a variable key length cipher with default key length |
| 307 | 128 bits. | ||
| 303 | 308 | ||
| 304 | =item EVP_rc4_40(void) | 309 | =item EVP_rc4_40(void) |
| 305 | 310 | ||
| 306 | RC4 stream cipher with 40 bit key length. This is obsolete and new code should use EVP_rc4() | 311 | RC4 stream cipher with 40 bit key length. This is obsolete and new code should |
| 307 | and the EVP_CIPHER_CTX_set_key_length() function. | 312 | use 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), |
| 315 | EVP_idea_ofb(void), EVP_idea_cbc(void) | ||
| 310 | 316 | ||
| 311 | IDEA encryption algorithm in CBC, ECB, CFB and OFB modes respectively. | 317 | IDEA 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 | ||
| 315 | RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key | 321 | RC2 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a |
| 316 | length cipher with an additional parameter called "effective key bits" or "effective key length". | 322 | variable key length cipher with an additional parameter called "effective key |
| 317 | By default both are set to 128 bits. | 323 | bits" 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 | ||
| 321 | RC2 algorithm in CBC mode with a default key length and effective key length of 40 and 64 bits. | 327 | RC2 algorithm in CBC mode with a default key length and effective key length of |
| 322 | These are obsolete and new code should use EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and | 328 | 40 and 64 bits. These are obsolete and new code should use EVP_rc2_cbc(), |
| 323 | EVP_CIPHER_CTX_ctrl() to set the key length and effective key length. | 329 | EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl() to set the key length |
| 330 | and 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 | ||
| 327 | Blowfish encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key | 334 | Blowfish encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This |
| 328 | length cipher. | 335 | is 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), |
| 338 | EVP_cast5_ofb(void) | ||
| 331 | 339 | ||
| 332 | CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key | 340 | CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is |
| 333 | length cipher. | 341 | a 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), |
| 344 | EVP_rc5_32_12_16_cfb(void), EVP_rc5_32_12_16_ofb(void) | ||
| 336 | 345 | ||
| 337 | RC5 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a variable key length | 346 | RC5 encryption algorithm in CBC, ECB, CFB and OFB modes respectively. This is a |
| 338 | cipher with an additional "number of rounds" parameter. By default the key length is set to 128 | 347 | variable key length cipher with an additional "number of rounds" parameter. By |
| 339 | bits and 12 rounds. | 348 | default the key length is set to 128 bits and 12 rounds. |
| 340 | 349 | ||
| 341 | =back | 350 | =back |
| 342 | 351 | ||
