Lines Matching refs:pt_len
568 static const size_t pt_len[MAX_TESTS] = variable
760 pt_len[i], in mbedtls_gcm_self_test()
766 memcmp( buf, ct[j * 6 + i], pt_len[i] ) != 0 || in mbedtls_gcm_self_test()
787 pt_len[i], in mbedtls_gcm_self_test()
793 memcmp( buf, pt[pt_index[i]], pt_len[i] ) != 0 || in mbedtls_gcm_self_test()
824 if( pt_len[i] > 32 ) in mbedtls_gcm_self_test()
826 size_t rest_len = pt_len[i] - 32; in mbedtls_gcm_self_test()
848 ret = mbedtls_gcm_update( &ctx, pt_len[i], pt[pt_index[i]], buf ); in mbedtls_gcm_self_test()
860 memcmp( buf, ct[j * 6 + i], pt_len[i] ) != 0 || in mbedtls_gcm_self_test()
891 if( pt_len[i] > 32 ) in mbedtls_gcm_self_test()
893 size_t rest_len = pt_len[i] - 32; in mbedtls_gcm_self_test()
915 ret = mbedtls_gcm_update( &ctx, pt_len[i], ct[j * 6 + i], buf ); in mbedtls_gcm_self_test()
927 memcmp( buf, pt[pt_index[i]], pt_len[i] ) != 0 || in mbedtls_gcm_self_test()