Lines Matching +full:16 +full:- +full:input

22  * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
141 * param iv is the 16 byte initialization vector
142 * param key is the 16 byte key used by the AES algorithm
143 * param input is the data to be encrypted
145 * be a multiple of the block size, 16.
148 * to 0 on failure, or if 0 bytes were input.
153 const uint8_t * input, in lanplus_encrypt_aes_cbc_128() argument
171 printbuf(iv, 16, "encrypting with this IV"); in lanplus_encrypt_aes_cbc_128()
172 printbuf(key, 16, "encrypting with this key"); in lanplus_encrypt_aes_cbc_128()
173 printbuf(input, input_length, "encrypting this data"); in lanplus_encrypt_aes_cbc_128()
178 * The default implementation adds a whole block of padding if the input in lanplus_encrypt_aes_cbc_128()
180 * We have made a point to have our input perfectly padded. in lanplus_encrypt_aes_cbc_128()
185 if(!EVP_EncryptUpdate(&ctx, output, (int *)bytes_written, input, input_length)) in lanplus_encrypt_aes_cbc_128()
216 * param iv is the 16 byte initialization vector
217 * param key is the 16 byte key used by the AES algorithm
218 * param input is the data to be decrypted
220 * be a multiple of the block size, 16.
223 * to 0 on failure, or if 0 bytes were input.
228 const uint8_t * input, in lanplus_decrypt_aes_cbc_128() argument
241 printbuf(iv, 16, "decrypting with this IV"); in lanplus_decrypt_aes_cbc_128()
242 printbuf(key, 16, "decrypting with this key"); in lanplus_decrypt_aes_cbc_128()
243 printbuf(input, input_length, "decrypting this data"); in lanplus_decrypt_aes_cbc_128()
253 * The default implementation adds a whole block of padding if the input in lanplus_decrypt_aes_cbc_128()
255 * We have made a point to have our input perfectly padded. in lanplus_decrypt_aes_cbc_128()
260 if (!EVP_DecryptUpdate(&ctx, output, (int *)bytes_written, input, input_length)) in lanplus_decrypt_aes_cbc_128()