Lines Matching refs:iv
264 unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_cbc()
282 output[i] = (unsigned char)( output[i] ^ iv[i] ); in mbedtls_blowfish_crypt_cbc()
284 memcpy( iv, temp, MBEDTLS_BLOWFISH_BLOCKSIZE ); in mbedtls_blowfish_crypt_cbc()
296 output[i] = (unsigned char)( input[i] ^ iv[i] ); in mbedtls_blowfish_crypt_cbc()
299 memcpy( iv, output, MBEDTLS_BLOWFISH_BLOCKSIZE ); in mbedtls_blowfish_crypt_cbc()
319 unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], in mbedtls_blowfish_crypt_cfb64()
331 mbedtls_blowfish_crypt_ecb( ctx, MBEDTLS_BLOWFISH_ENCRYPT, iv, iv ); in mbedtls_blowfish_crypt_cfb64()
334 *output++ = (unsigned char)( c ^ iv[n] ); in mbedtls_blowfish_crypt_cfb64()
335 iv[n] = (unsigned char) c; in mbedtls_blowfish_crypt_cfb64()
345 mbedtls_blowfish_crypt_ecb( ctx, MBEDTLS_BLOWFISH_ENCRYPT, iv, iv ); in mbedtls_blowfish_crypt_cfb64()
347 iv[n] = *output++ = (unsigned char)( iv[n] ^ *input++ ); in mbedtls_blowfish_crypt_cfb64()