comparison aes.h @ 957:e34e8d654ded libavutil

Fix grammar errors in documentation
author mru
date Wed, 30 Jun 2010 15:38:06 +0000
parents 0a51400a64c9
children 0d9ab0329d9f
comparison
equal deleted inserted replaced
956:2894d4c208dc 957:e34e8d654ded
26 extern const int av_aes_size; 26 extern const int av_aes_size;
27 27
28 struct AVAES; 28 struct AVAES;
29 29
30 /** 30 /**
31 * Initializes an AVAES context. 31 * Initialize an AVAES context.
32 * @param key_bits 128, 192 or 256 32 * @param key_bits 128, 192 or 256
33 * @param decrypt 0 for encryption, 1 for decryption 33 * @param decrypt 0 for encryption, 1 for decryption
34 */ 34 */
35 int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt); 35 int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
36 36
37 /** 37 /**
38 * Encrypts / decrypts. 38 * Encrypt / decrypt.
39 * @param count number of 16 byte blocks 39 * @param count number of 16 byte blocks
40 * @param dst destination array, can be equal to src 40 * @param dst destination array, can be equal to src
41 * @param src source array, can be equal to dst 41 * @param src source array, can be equal to dst
42 * @param iv initialization vector for CBC mode, if NULL then ECB will be used 42 * @param iv initialization vector for CBC mode, if NULL then ECB will be used
43 * @param decrypt 0 for encryption, 1 for decryption 43 * @param decrypt 0 for encryption, 1 for decryption