diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-02-23 14:27:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-02-23 14:27:47 +0000 |
commit | 41e68ef25fdd5c746d355de6b7e6ccdef6fabcc7 (patch) | |
tree | db9d7d90c46bc7ba4d3aaf0e9fd01621c0311acf /doc/crypto/EVP_EncryptInit.pod | |
parent | 3142c86d65a7da76d60622dcf1c177479d1bc9de (diff) |
Add PBE algorithms with ciphers, not digests.
Diffstat (limited to 'doc/crypto/EVP_EncryptInit.pod')
-rw-r--r-- | doc/crypto/EVP_EncryptInit.pod | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index c84f593dbb..9400a025db 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -67,7 +67,7 @@ to (inl + cipher_block_size - 1) so B<outl> should contain sufficient room. The actual number of bytes written is placed in B<outl>. EVP_EncryptFinal() encrypts the "final" data, that is any data that -remains in a partial block. It uses standard block padding (aka PKCS +remains in a partial block. It uses L<standard block padding|/NOTES> (aka PKCS padding). The encrypted final data is written to B<out> which should have sufficient space for one cipher block. The number of bytes written is placed in B<outl>. After this function is called the encryption operation @@ -117,7 +117,9 @@ length for all ciphers. EVP_CIPHER_type() and EVP_CIPHER_CTX_type() return the type of the passed cipher or context. This "type" is the actual NID of the cipher OBJECT IDENTIFIER as such it ignores the cipher parameters and 40 bit RC2 and -128 bit RC2 have the same NID. +128 bit RC2 have the same NID. If the cipher does not have an object +identifier or does not have ASN1 support this function will return +B<NID_undef>. EVP_CIPHER_CTX_cipher() returns the B<EVP_CIPHER> structure when passed an B<EVP_CIPHER_CTX> structure. @@ -168,6 +170,14 @@ length. EVP_CIPHER_iv_length() and EVP_CIPHER_CTX_iv_length() return the IV length or zero if the cipher does not use an IV. +EVP_CIPHER_type() and EVP_CIPHER_CTX_type() return the NID of the cipher's +OBJECT IDENTIFIER or NID_undef if it has no defined OBJECT IDENTIFIER. + +EVP_CIPHER_CTX_cipher() returns an B<EVP_CIPHER> structure. + +EVP_CIPHER_param_to_asn1() and EVP_CIPHER_asn1_to_param() return 1 for +success or zero for failure. + =head1 NOTES Where possible the B<EVP> interface to symmetric ciphers should be used in |