Lines Matching refs:out
65 AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key)
67 rijndaelEncrypt(key->key, key->rounds, in, out);
71 AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key)
73 rijndaelDecrypt(key->key, key->rounds, in, out);
77 AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
88 AES_encrypt(tmp, out, key);
89 memcpy(iv, out, AES_BLOCK_SIZE);
92 out += AES_BLOCK_SIZE;
99 AES_encrypt(tmp, out, key);
100 memcpy(iv, out, AES_BLOCK_SIZE);
105 AES_decrypt(tmp, out, key);
107 out[i] ^= iv[i];
111 out += AES_BLOCK_SIZE;
115 AES_decrypt(tmp, out, key);
117 out[i] ^= iv[i];
124 AES_cfb8_encrypt(const unsigned char *in, unsigned char *out,
138 out[i] = in[i] ^ iv[0];
140 tmp[AES_BLOCK_SIZE] = out[i];