Lines Matching refs:j
80 int ret, i, j; in gcm_gen_table() local
128 for( j = 1; j < i; j++ ) in gcm_gen_table()
130 HiH[j] = vh ^ ctx->HH[j]; in gcm_gen_table()
131 HiL[j] = vl ^ ctx->HL[j]; in gcm_gen_table()
890 int i, j, ret; in mbedtls_gcm_self_test() local
894 for( j = 0; j < 3; j++ ) in mbedtls_gcm_self_test()
896 int key_len = 128 + 64 * j; in mbedtls_gcm_self_test()
944 if ( memcmp( buf, ct_test_data[j * 6 + i], in mbedtls_gcm_self_test()
946 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
975 ct_test_data[j * 6 + i], buf, 16, tag_buf ); in mbedtls_gcm_self_test()
982 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
1054 if( memcmp( buf, ct_test_data[j * 6 + i], in mbedtls_gcm_self_test()
1056 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
1094 ct_test_data[j * 6 + i], 32, in mbedtls_gcm_self_test()
1102 ct_test_data[j * 6 + i] + 32, in mbedtls_gcm_self_test()
1113 ct_test_data[j * 6 + i], in mbedtls_gcm_self_test()
1128 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()