Lines Matching refs:aes
77 #include "libavutil/aes.h"
107 static struct AVAES *aes;
108 if (!aes && !(aes = av_aes_alloc()))
110 av_aes_init(aes, hardcoded_key, 128, 0);
111 av_aes_crypt(aes, output, input, size >> 4, NULL, 0);
123 #include <openssl/aes.h>
141 AES_KEY aes;
144 AES_set_encrypt_key(hardcoded_key, 128, &aes);
147 AES_encrypt(input + i, output + i, &aes);
179 static gcry_cipher_hd_t aes;
180 if (aes == NULL)
181 gcry_cipher_open(&aes, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_ECB, 0);
182 gcry_cipher_setkey(aes, hardcoded_key, 16);
183 gcry_cipher_encrypt(aes, output, size, input, size);
218 symmetric_key aes;
221 aes_setup(hardcoded_key, 16, 0, &aes);
224 aes_ecb_encrypt(input + i, output + i, &aes);