Lines Matching refs:iv
666 unsigned char iv[8], in mbedtls_des_crypt_cbc()
681 output[i] = (unsigned char)( input[i] ^ iv[i] ); in mbedtls_des_crypt_cbc()
684 memcpy( iv, output, 8 ); in mbedtls_des_crypt_cbc()
699 output[i] = (unsigned char)( output[i] ^ iv[i] ); in mbedtls_des_crypt_cbc()
701 memcpy( iv, temp, 8 ); in mbedtls_des_crypt_cbc()
765 unsigned char iv[8], in mbedtls_des3_crypt_cbc()
780 output[i] = (unsigned char)( input[i] ^ iv[i] ); in mbedtls_des3_crypt_cbc()
783 memcpy( iv, output, 8 ); in mbedtls_des3_crypt_cbc()
798 output[i] = (unsigned char)( output[i] ^ iv[i] ); in mbedtls_des3_crypt_cbc()
800 memcpy( iv, temp, 8 ); in mbedtls_des3_crypt_cbc()
878 unsigned char iv[8]; in mbedtls_des_self_test() local
969 memcpy( iv, des3_test_iv, 8 ); in mbedtls_des_self_test()
1008 mbedtls_des_crypt_cbc( &ctx, v, 8, iv, buf, buf ); in mbedtls_des_self_test()
1010 mbedtls_des3_crypt_cbc( &ctx3, v, 8, iv, buf, buf ); in mbedtls_des_self_test()
1020 mbedtls_des_crypt_cbc( &ctx, v, 8, iv, buf, buf ); in mbedtls_des_self_test()
1022 mbedtls_des3_crypt_cbc( &ctx3, v, 8, iv, buf, buf ); in mbedtls_des_self_test()