Lines Matching refs:output
105 const unsigned char input[8], unsigned char output[8]) in mbedtls_xtea_crypt_ecb()
137 PUT_UINT32_BE( v0, output, 0 ); in mbedtls_xtea_crypt_ecb()
138 PUT_UINT32_BE( v1, output, 4 ); in mbedtls_xtea_crypt_ecb()
149 unsigned char *output) in mbedtls_xtea_crypt_cbc() argument
162 mbedtls_xtea_crypt_ecb( ctx, mode, input, output ); in mbedtls_xtea_crypt_cbc()
165 output[i] = (unsigned char)( output[i] ^ iv[i] ); in mbedtls_xtea_crypt_cbc()
170 output += 8; in mbedtls_xtea_crypt_cbc()
179 output[i] = (unsigned char)( input[i] ^ iv[i] ); in mbedtls_xtea_crypt_cbc()
181 mbedtls_xtea_crypt_ecb( ctx, mode, output, output ); in mbedtls_xtea_crypt_cbc()
182 memcpy( iv, output, 8 ); in mbedtls_xtea_crypt_cbc()
185 output += 8; in mbedtls_xtea_crypt_cbc()