skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: CRYPTO Application Programming Interface (API)... CRYPTO Application Programming Interface (API)...
go to previous page: DES_random_key DES_random_key
go to next page: dhdh
end of book navigation links


Modes
Description
Overview
Notes
See Also
 

NAME

Modes, of, DES - the variants of DES and other crypto algorithms of OpenSSL


return to top DESCRIPTION  

Several crypto algorithms for OpenSSL can be used in a number of modes. Those are used for using block ciphers in a way similar to stream ciphers, among other things.


return to top OVERVIEW  

Electronic Codebook Mode (ECB) 

Normally, this is found as the function algorithm_ecb_encrypt().

Cipher Block Chaining Mode (CBC) 

Normally, this is found as the function algorithm_cbc_encrypt(). Be aware that des_cbc_encrypt() is not really DES CBC (it does not update the IV); use des_ncbc_encrypt() instead.

Cipher Feedback Mode (CFB) 

Normally, this is found as the function algorithm_cfb_encrypt().

Output Feedback Mode (OFB) 

Normally, this is found as the function algorithm_ofb_encrypt().

Triple ECB Mode 

Normally, this is found as the function algorithm_ecb3_encrypt().

Triple CBC Mode 

Normally, this is found as the function algorithm_ede3_cbc_encrypt().


return to top NOTES  

This text was been written in large parts by Eric Young in his original documentation for SSLeay, the predecessor of OpenSSL. In turn, he attributed it to:
	AS 2805.5.2
	Australian Standard
	Electronic funds transfer - Requirements for interfaces,
	Part 5.2: Modes of operation for an n-bit block cipher algorithm
	Appendix A


return to top SEE ALSO  

blowfish(3) , des(3) , idea(3) , rc2(3)
go to previous page: DES_random_key DES_random_key
go to next page: dhdh