Lines Matching +full:input +full:- +full:mode

13 DES_fcrypt, DES_crypt - DES encryption
33 void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
35 void DES_ecb2_encrypt(const_DES_cblock *input, DES_cblock *output,
37 void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
41 void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output,
50 void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
60 void DES_xcbc_encrypt(const unsigned char *input, unsigned char *output,
64 void DES_ede2_cbc_encrypt(const unsigned char *input, unsigned char *output,
75 void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output,
88 DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output,
91 DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[],
126 and is not a weak or semi-weak key. If the parity is wrong, then -1
127 is returned. If the key is a weak key, then -2 is returned. If an
138 The following routines mostly operate on an input and output stream of
142 decrypts a single 8-byte I<DES_cblock> in I<electronic code book>
143 (ECB) mode. It always transforms the input data, pointed to by
144 I<input>, into the output data, pointed to by the I<output> argument.
145 If the I<encrypt> argument is nonzero (DES_ENCRYPT), the I<input>
148 I<DES_set_key>. If I<encrypt> is zero (DES_DECRYPT), the I<input> (now
149 ciphertext) is decrypted into the I<output> (now cleartext). Input
152 DES_ecb3_encrypt() encrypts/decrypts the I<input> block by using
153 three-key Triple-DES encryption in ECB mode. This involves encrypting
154 the input with I<ks1>, decrypting with the key schedule I<ks2>, and
158 using ECB mode and I<ks1> as the key.
160 The macro DES_ecb2_encrypt() is provided to perform two-key Triple-DES
163 DES_ncbc_encrypt() encrypts/decrypts using the I<cipher-block-chaining>
164 (CBC) mode of DES. If the I<encrypt> argument is nonzero, the
165 routine cipher-block-chain encrypts the cleartext data pointed to by
166 the I<input> argument into the ciphertext pointed to by the I<output>
173 DES_xcbc_encrypt() is RSA's DESX mode of DES. It uses I<inw> and
179 three keys. This means that each DES operation inside the CBC mode is
180 C<C=E(ks3,D(ks2,E(ks1,M)))>. This mode is used by SSL.
182 The DES_ede2_cbc_encrypt() macro implements two-key Triple-DES by
184 This form of Triple-DES is used by the RSAREF library.
187 chaining mode used by Kerberos v4. Its parameters are the same as
190 DES_cfb_encrypt() encrypts/decrypts using cipher feedback mode. This
191 method takes an array of characters as input and outputs an array of
199 implements CFB mode of DES with 64-bit feedback. Why is this
202 routine will encrypt the input bytes to output and then update ivec
204 not make much sense, read more about CFB mode of DES.
207 DES_cfb64_encrypt() except that Triple-DES is used.
209 DES_ofb_encrypt() encrypts using output feedback mode. This method
210 takes an array of characters as input and outputs an array of
218 Feed Back mode.
221 DES_ofb64_encrypt(), using Triple-DES.
226 DES_cbc_cksum() produces an 8 byte checksum based on the input stream
233 checksum from the input bytes. The algorithm can be iterated over the
234 input, depending on I<out_count>, 1, 2, 3 or 4 times. If I<output> is
235 non-NULL, the 8 bytes generated by each pass are written into
238 The following are DES-based transformations:
249 third parameter. This mostly emulates the normal non-thread-safe semantics
269 DES_cfb_encrypt() and DES_ofb_encrypt() operates on input of 8 bits.
271 first 12 bits will come from the 1st input byte and the low half of
272 the second input byte. The second 12 bits will have the low 8 bits
273 taken from the 3rd input byte and the top 4 bits taken from the 4th
274 input byte. The same holds for output. This function has been
276 and because once you get into pulling bytes input bytes apart things
292 Single-key DES is insecure due to its short key size. ECB mode is
303 DES_cbc_cksum() and DES_quad_cksum() return 4-byte integer representing the
304 last 4 bytes of the checksum of the input.
306 DES_fcrypt() returns a pointer to the caller-provided buffer and DES_crypt() -
321 if both character were not present, and could crash when given non-ASCII
326 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.