Lines Matching refs:u

932     int i, j, u, v;  in mbedtls_camellia_self_test()  local
953 u = j >> 1; in mbedtls_camellia_self_test()
957 mbedtls_printf( " CAMELLIA-ECB-%3d (%s): ", 128 + u * 64, in mbedtls_camellia_self_test()
961 memcpy( key, camellia_test_ecb_key[u][i], 16 + 8 * u ); in mbedtls_camellia_self_test()
964 mbedtls_camellia_setkey_dec( &ctx, key, 128 + u * 64 ); in mbedtls_camellia_self_test()
965 memcpy( src, camellia_test_ecb_cipher[u][i], 16 ); in mbedtls_camellia_self_test()
968 mbedtls_camellia_setkey_enc( &ctx, key, 128 + u * 64 ); in mbedtls_camellia_self_test()
970 memcpy( dst, camellia_test_ecb_cipher[u][i], 16 ); in mbedtls_camellia_self_test()
996 u = j >> 1; in mbedtls_camellia_self_test()
1000 mbedtls_printf( " CAMELLIA-CBC-%3d (%s): ", 128 + u * 64, in mbedtls_camellia_self_test()
1005 memcpy( key, camellia_test_cbc_key[u], 16 + 8 * u ); in mbedtls_camellia_self_test()
1008 mbedtls_camellia_setkey_dec( &ctx, key, 128 + u * 64 ); in mbedtls_camellia_self_test()
1010 mbedtls_camellia_setkey_enc( &ctx, key, 128 + u * 64 ); in mbedtls_camellia_self_test()
1017 memcpy( src, camellia_test_cbc_cipher[u][i], 16 ); in mbedtls_camellia_self_test()
1022 memcpy( dst, camellia_test_cbc_cipher[u][i], 16 ); in mbedtls_camellia_self_test()
1049 u = i >> 1; in mbedtls_camellia_self_test()
1056 memcpy( nonce_counter, camellia_test_ctr_nonce_counter[u], 16 ); in mbedtls_camellia_self_test()
1057 memcpy( key, camellia_test_ctr_key[u], 16 ); in mbedtls_camellia_self_test()
1064 len = camellia_test_ctr_len[u]; in mbedtls_camellia_self_test()
1065 memcpy( buf, camellia_test_ctr_ct[u], len ); in mbedtls_camellia_self_test()
1070 if( memcmp( buf, camellia_test_ctr_pt[u], len ) != 0 ) in mbedtls_camellia_self_test()
1079 len = camellia_test_ctr_len[u]; in mbedtls_camellia_self_test()
1080 memcpy( buf, camellia_test_ctr_pt[u], len ); in mbedtls_camellia_self_test()
1085 if( memcmp( buf, camellia_test_ctr_ct[u], len ) != 0 ) in mbedtls_camellia_self_test()